grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#747653: grub2-common: update-grub adds both devices and a line feed


From: Martin Steigerwald
Subject: Bug#747653: grub2-common: update-grub adds both devices and a line feed for BTRFS RAID 1 setup
Date: Sat, 10 May 2014 20:53:34 +0200

Package: grub2-common
Version: 2.02~beta2-10
Severity: normal

Dear Maintainer,

I am booting my Debian system via a BTRFS RAID 1 which spans a logical
volume on a Crucial MSATA and Intel SATA SSD each.

After running update-grub I am getting this in /boot/grub/grub.cfg:

                echo    'Linux 3.15.0-rc5-tp520 wird geladen …'
                linux   /vmlinuz-3.15.0-rc5-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro rootflags=subvol=debian  init=/bin/systemd 
resume=/dev/mapper/sata-swap 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.15.0-rc5-tp520

update-grub basically adds both devices of the BTRFS RAID 1 device
separated by a line feed. For mounting BTRFS RAID 1 tough one of them
is enough, once btrfs device scan is run, for which I currently use an
script for initramfs-tools as a work-around as it didn´t work out of
the box on my last tests[1].

This behaviour is due to grub-probe which is called by grub-mkconfig
at line 139

138 # Device containing our userland.  Typically used for root= parameter.
139 GRUB_DEVICE="`${grub_probe} --target=device /`"
140 GRUB_DEVICE_UUID="`${grub_probe} --device ${GRUB_DEVICE} --target=fs_uuid 
2> /dev/null`" || true

which is called by update-grub returns both devices with a
linefeed:

merkaba:~> grub-probe --target=device /
/dev/mapper/sata-debian
/dev/mapper/msata-debian

grub-probe is an ELF binary.

The following little change workarounds the issue for me:

merkaba:~> diff -u /usr/sbin/grub-mkconfig.dist /usr/sbin/grub-mkconfig     
--- /usr/sbin/grub-mkconfig.dist        2014-05-08 14:35:25.000000000 +0200
+++ /usr/sbin/grub-mkconfig     2014-05-10 20:46:00.380096263 +0200
@@ -136,7 +136,7 @@
 fi
 
 # Device containing our userland.  Typically used for root= parameter.
-GRUB_DEVICE="`${grub_probe} --target=device /`"
+GRUB_DEVICE="`${grub_probe} --target=device / | head -1`"
 GRUB_DEVICE_UUID="`${grub_probe} --device ${GRUB_DEVICE} --target=fs_uuid 2> 
/dev/null`" || true
 
 # Device containing our /boot partition.  Usually the same as GRUB_DEVICE.


But I suppose the real fix is to be made in the binary grub-probe.


[1] merkaba:~> cat /etc/initramfs-tools/scripts/local-top/btrfs 
#!/bin/sh

PREREQ="lvm"
prereqs()
{
        echo $PREREQ
}

case $1 in
prereqs)
        prereqs
        exit 0;
esac

. /scripts/functions

log_begin_msg "Initializing BTRFS RAID-1."

modprobe btrfs
vgscan
vgchange -ay
btrfs device scan

log_end_msg

See also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686130#15
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612402#66

Thanks,
Martin

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/dm-5 / btrfs rw,noatime,compress=lzo,ssd,space_cache 0 0
/dev/dm-5 /mnt/debian-zeit btrfs rw,noatime,compress=lzo,ssd,space_cache 0 0
/dev/mapper/msata-daten /daten btrfs rw,noatime,compress=lzo,ssd,space_cache 0 0
/dev/dm-0 /mnt/home-zeit btrfs rw,noatime,compress=lzo,ssd,space_cache 0 0
/dev/dm-0 /home btrfs rw,noatime,compress=lzo,ssd,space_cache 0 0
/dev/sdb2 /boot ext4 rw,noatime,stripe=4,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)   /dev/disk/by-id/ata-INTEL_SSDSA2CW300G3_[… serial …]
(hd1)   /dev/disk/by-id/ata-Crucial_CT480M500SSD3_[… serial …]
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod part_msdos
insmod lvm
insmod lvm
insmod btrfs
set 
root='lvmid/2v42d3-vHdl-ld11-SjUa-3yHG-WNaD-yRkXai/JQbRXi-wpSl-w0lf-ceDA-EOm5-vm25-TLdmrD
lvmid/1xnC0C-zJgA-fIZG-7qdM-AWaN-p2P5-zdj4c8/yxVz0I-OYJj-AEO5-vFex-TON0-fzTH-YGUWez'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/2v42d3-vHdl-ld11-SjUa-3yHG-WNaD-yRkXai/JQbRXi-wpSl-w0lf-ceDA-EOm5-vm25-TLdmrD'
  
--hint='lvmid/1xnC0C-zJgA-fIZG-7qdM-AWaN-p2P5-zdj4c8/yxVz0I-OYJj-AEO5-vFex-TON0-fzTH-YGUWez'
  ebda8c23-2154-4559-be2b-9e9c422658d1
else
  search --no-floppy --fs-uuid --set=root ebda8c23-2154-4559-be2b-9e9c422658d1
fi
    font="/debian/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1920x1080
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod part_msdos
insmod lvm
insmod lvm
insmod btrfs
set 
root='lvmid/2v42d3-vHdl-ld11-SjUa-3yHG-WNaD-yRkXai/JQbRXi-wpSl-w0lf-ceDA-EOm5-vm25-TLdmrD
lvmid/1xnC0C-zJgA-fIZG-7qdM-AWaN-p2P5-zdj4c8/yxVz0I-OYJj-AEO5-vFex-TON0-fzTH-YGUWez'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/2v42d3-vHdl-ld11-SjUa-3yHG-WNaD-yRkXai/JQbRXi-wpSl-w0lf-ceDA-EOm5-vm25-TLdmrD'
  
--hint='lvmid/1xnC0C-zJgA-fIZG-7qdM-AWaN-p2P5-zdj4c8/yxVz0I-OYJj-AEO5-vFex-TON0-fzTH-YGUWez'
  ebda8c23-2154-4559-be2b-9e9c422658d1
else
  search --no-floppy --fs-uuid --set=root ebda8c23-2154-4559-be2b-9e9c422658d1
fi
insmod png
if background_image /debian/usr/share/images/desktop-base/joy-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
        set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu 
--class os $menuentry_id_option 
'gnulinux-simple-ebda8c23-2154-4559-be2b-9e9c422658d1' {
        load_video
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd1,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 
--hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  
96735182-42db-4a5f-944a-2f91eae1edf1
        else
          search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
        fi
        echo    'Linux 3.15.0-rc5-tp520 wird geladen …'
        linux   /vmlinuz-3.15.0-rc5-tp520 root=/dev/mapper/sata-debian
/dev/mapper/msata-debian ro rootflags=subvol=debian  init=/bin/systemd 
resume=/dev/mapper/sata-swap 
        echo    'Initiale Ramdisk wird geladen …'
        initrd  /initrd.img-3.15.0-rc5-tp520
}
submenu 'Erweiterte Optionen für Debian GNU/Linux' $menuentry_id_option 
'gnulinux-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
        menuentry 'Debian GNU/Linux, mit Linux 3.15.0-rc5-tp520' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.15.0-rc5-tp520-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.15.0-rc5-tp520 wird geladen …'
                linux   /vmlinuz-3.15.0-rc5-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro rootflags=subvol=debian  init=/bin/systemd 
resume=/dev/mapper/sata-swap 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.15.0-rc5-tp520
        }
        menuentry 'Debian GNU/Linux, with Linux 3.15.0-rc5-tp520 (recovery 
mode)' --class debian --class gnu-linux --class gnu --class os 
$menuentry_id_option 
'gnulinux-3.15.0-rc5-tp520-recovery-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.15.0-rc5-tp520 wird geladen …'
                linux   /vmlinuz-3.15.0-rc5-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro single rootflags=subvol=debian 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.15.0-rc5-tp520
        }
        menuentry 'Debian GNU/Linux, mit Linux 3.15.0-rc4' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.15.0-rc4-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.15.0-rc4 wird geladen …'
                linux   /vmlinuz-3.15.0-rc4 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro rootflags=subvol=debian  init=/bin/systemd 
resume=/dev/mapper/sata-swap 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.15.0-rc4
        }
        menuentry 'Debian GNU/Linux, with Linux 3.15.0-rc4 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.15.0-rc4-recovery-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.15.0-rc4 wird geladen …'
                linux   /vmlinuz-3.15.0-rc4 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro single rootflags=subvol=debian 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.15.0-rc4
        }
        menuentry 'Debian GNU/Linux, mit Linux 3.14.0-tp520' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.14.0-tp520-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.14.0-tp520 wird geladen …'
                linux   /vmlinuz-3.14.0-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro rootflags=subvol=debian  init=/bin/systemd 
resume=/dev/mapper/sata-swap 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.14.0-tp520
        }
        menuentry 'Debian GNU/Linux, with Linux 3.14.0-tp520 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.14.0-tp520-recovery-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.14.0-tp520 wird geladen …'
                linux   /vmlinuz-3.14.0-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro single rootflags=subvol=debian 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.14.0-tp520
        }
        menuentry 'Debian GNU/Linux, mit Linux 3.14.0-rc7-tp520' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.14.0-rc7-tp520-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.14.0-rc7-tp520 wird geladen …'
                linux   /vmlinuz-3.14.0-rc7-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro rootflags=subvol=debian  init=/bin/systemd 
resume=/dev/mapper/sata-swap 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.14.0-rc7-tp520
        }
        menuentry 'Debian GNU/Linux, with Linux 3.14.0-rc7-tp520 (recovery 
mode)' --class debian --class gnu-linux --class gnu --class os 
$menuentry_id_option 
'gnulinux-3.14.0-rc7-tp520-recovery-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.14.0-rc7-tp520 wird geladen …'
                linux   /vmlinuz-3.14.0-rc7-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro single rootflags=subvol=debian 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.14.0-rc7-tp520
        }
        menuentry 'Debian GNU/Linux, mit Linux 3.14.0-rc6-tp520' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.14.0-rc6-tp520-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.14.0-rc6-tp520 wird geladen …'
                linux   /vmlinuz-3.14.0-rc6-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro rootflags=subvol=debian  init=/bin/systemd 
resume=/dev/mapper/sata-swap 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.14.0-rc6-tp520
        }
        menuentry 'Debian GNU/Linux, with Linux 3.14.0-rc6-tp520 (recovery 
mode)' --class debian --class gnu-linux --class gnu --class os 
$menuentry_id_option 
'gnulinux-3.14.0-rc6-tp520-recovery-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.14.0-rc6-tp520 wird geladen …'
                linux   /vmlinuz-3.14.0-rc6-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro single rootflags=subvol=debian 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.14.0-rc6-tp520
        }
        menuentry 'Debian GNU/Linux, mit Linux 3.14.0-rc4-tp520' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.14.0-rc4-tp520-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.14.0-rc4-tp520 wird geladen …'
                linux   /vmlinuz-3.14.0-rc4-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro rootflags=subvol=debian  init=/bin/systemd 
resume=/dev/mapper/sata-swap 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.14.0-rc4-tp520
        }
        menuentry 'Debian GNU/Linux, with Linux 3.14.0-rc4-tp520 (recovery 
mode)' --class debian --class gnu-linux --class gnu --class os 
$menuentry_id_option 
'gnulinux-3.14.0-rc4-tp520-recovery-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.14.0-rc4-tp520 wird geladen …'
                linux   /vmlinuz-3.14.0-rc4-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro single rootflags=subvol=debian 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.14.0-rc4-tp520
        }
        menuentry 'Debian GNU/Linux, mit Linux 3.13.0-tp520' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.13.0-tp520-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.13.0-tp520 wird geladen …'
                linux   /vmlinuz-3.13.0-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro rootflags=subvol=debian  init=/bin/systemd 
resume=/dev/mapper/sata-swap 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.13.0-tp520
        }
        menuentry 'Debian GNU/Linux, with Linux 3.13.0-tp520 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.13.0-tp520-recovery-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.13.0-tp520 wird geladen …'
                linux   /vmlinuz-3.13.0-tp520 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro single rootflags=subvol=debian 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.13.0-tp520
        }
        menuentry 'Debian GNU/Linux, mit Linux 3.13-1-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.13-1-amd64-advanced-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.13-1-amd64 wird geladen …'
                linux   /vmlinuz-3.13-1-amd64 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro rootflags=subvol=debian  init=/bin/systemd 
resume=/dev/mapper/sata-swap 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.13-1-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 3.13-1-amd64 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-3.13-1-amd64-recovery-ebda8c23-2154-4559-be2b-9e9c422658d1' {
                load_video
                insmod gzio
                insmod part_msdos
                insmod ext2
                set root='hd1,msdos2'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 
--hint='hd1,msdos2'  96735182-42db-4a5f-944a-2f91eae1edf1
                else
                  search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
                fi
                echo    'Linux 3.13-1-amd64 wird geladen …'
                linux   /vmlinuz-3.13-1-amd64 root=/dev/mapper/sata-debian
        /dev/mapper/msata-debian ro single rootflags=subvol=debian 
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd.img-3.13-1-amd64
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        insmod part_msdos
        insmod ext2
        set root='hd1,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 
--hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  
96735182-42db-4a5f-944a-2f91eae1edf1
        else
          search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
        fi
        linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod part_msdos
        insmod ext2
        set root='hd1,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 
--hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  
96735182-42db-4a5f-944a-2f91eae1edf1
        else
          search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
        fi
        linux16 /memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
        insmod part_msdos
        insmod ext2
        set root='hd1,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 
--hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  
96735182-42db-4a5f-944a-2f91eae1edf1
        else
          search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
        fi
        multiboot       /memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental 
multiboot)" {
        insmod part_msdos
        insmod ext2
        set root='hd1,msdos2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 
--hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd1,msdos2'  
96735182-42db-4a5f-944a-2f91eae1edf1
        else
          search --no-floppy --fs-uuid --set=root 
96735182-42db-4a5f-944a-2f91eae1edf1
        fi
        multiboot       /memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
Personalities : 
unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN LVM
  --- Volume group ---
  VG Name               msata
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  5
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               446.64 GiB
  PE Size               4.00 MiB
  Total PE              114340
  Alloc PE / Size       97280 / 380.00 GiB
  Free  PE / Size       17060 / 66.64 GiB
  [ this and all further UUIDs removed ]
  
  --- Volume group ---
  VG Name               sata
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  44
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               278.99 GiB
  PE Size               4.00 MiB
  Total PE              71421
  Alloc PE / Size       49152 / 192.00 GiB
  Free  PE / Size       22269 / 86.99 GiB
  VG UUID               2v42d3-vHdl-ld11-SjUa-3yHG-WNaD-yRkXai
   
  --- Physical volume ---
  PV Name               /dev/sdb3
  VG Name               msata
  PV Size               446.64 GiB / not usable 1.84 MiB
  Allocatable           yes 
  PE Size               4.00 MiB
  Total PE              114340
  Free PE               17060
  Allocated PE          97280
  PV UUID               IG53G4-5aGU-9VqU-ZnqV-5OFO-h33h-drpwml
   
  --- Physical volume ---
  PV Name               /dev/sda4
  VG Name               sata
  PV Size               278.99 GiB / not usable 2.00 MiB
  Allocatable           yes 
  PE Size               4.00 MiB
  Total PE              71421
  Free PE               22269
  Allocated PE          49152
  PV UUID               hFbNjl-Sf1i-tJnb-7VlB-CHFm-qP7y-Q2aMBn
   
  --- Logical volume ---
  LV Path                /dev/msata/home
  LV Name                home
  VG Name                msata
  LV UUID                NuB9k6-neH1-hfgT-ggQv-uig7-dzQd-slrngL
  LV Write Access        read/write
  LV Creation host, time merkaba, 2014-03-05 13:08:44 +0100
  LV Status              available
  # open                 1
  LV Size                150.00 GiB
  Current LE             38400
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0
   
  --- Logical volume ---
  LV Path                /dev/msata/daten
  LV Name                daten
  VG Name                msata
  LV UUID                TDoQgZ-7eLj-DjVS-buxy-qzov-7HYV-pEZ1Cf
  LV Write Access        read/write
  LV Creation host, time merkaba, 2014-03-05 13:09:09 +0100
  LV Status              available
  # open                 1
  LV Size                200.00 GiB
  Current LE             51200
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1
   
  --- Logical volume ---
  LV Path                /dev/msata/debian
  LV Name                debian
  VG Name                msata
  LV UUID                yxVz0I-OYJj-AEO5-vFex-TON0-fzTH-YGUWez
  LV Write Access        read/write
  LV Creation host, time grml, 2014-03-05 16:28:38 +0100
  LV Status              available
  # open                 1
  LV Size                30.00 GiB
  Current LE             7680
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:2
   
  --- Logical volume ---
  LV Path                /dev/sata/home
  LV Name                home
  VG Name                sata
  LV UUID                Ltx5KD-5AJR-HAA8-11Za-eFrG-TEtk-OaH6JV
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                150.00 GiB
  Current LE             38400
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:3
   
  --- Logical volume ---
  LV Path                /dev/sata/swap
  LV Name                swap
  VG Name                sata
  LV UUID                mnM6wo-K91m-lTIU-zCas-nvkS-c7di-yzIUr8
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 2
  LV Size                12.00 GiB
  Current LE             3072
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:4
   
  --- Logical volume ---
  LV Path                /dev/sata/debian
  LV Name                debian
  VG Name                sata
  LV UUID                JQbRXi-wpSl-w0lf-ceDA-EOm5-vm25-TLdmrD
  LV Write Access        read/write
  LV Creation host, time grml, 2014-03-05 16:28:34 +0100
  LV Status              available
  # open                 1
  LV Size                30.00 GiB
  Current LE             7680
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:5
   
*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 May 10 20:06 ata-Crucial_CT480M500SSD3_[… serial …] 
-> ../../sdb
lrwxrwxrwx 1 root root 10 May 10 20:06 ata-Crucial_CT480M500SSD3_[… serial 
…]-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 10 20:06 ata-Crucial_CT480M500SSD3_[… serial 
…]-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May 10 20:06 ata-Crucial_CT480M500SSD3_[… serial 
…]-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 May 10 20:06 ata-HL-DT-STDVDRAM_GT33N_M6EB3385558 -> 
../../sr0
lrwxrwxrwx 1 root root  9 May 10 20:06 ata-INTEL_SSDSA2CW300G3_[… serial …] -> 
../../sda
lrwxrwxrwx 1 root root 10 May 10 20:06 ata-INTEL_SSDSA2CW300G3_[… serial 
…]-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 10 20:06 ata-INTEL_SSDSA2CW300G3_[… serial 
…]-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 10 20:06 ata-INTEL_SSDSA2CW300G3_[… serial 
…]-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 May 10 20:06 ata-INTEL_SSDSA2CW300G3_[… serial 
…]-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 May 10 20:06 dm-name-msata-daten -> ../../dm-1
lrwxrwxrwx 1 root root 10 May 10 20:06 dm-name-msata-debian -> ../../dm-2
lrwxrwxrwx 1 root root 10 May 10 20:06 dm-name-msata-home -> ../../dm-0
lrwxrwxrwx 1 root root 10 May 10 20:06 dm-name-sata-debian -> ../../dm-5
lrwxrwxrwx 1 root root 10 May 10 20:06 dm-name-sata-home -> ../../dm-3
lrwxrwxrwx 1 root root 10 May 10 20:06 dm-name-sata-swap -> ../../dm-4
lrwxrwxrwx 1 root root 10 May 10 20:06 
dm-uuid-LVM-1xnC0CzJgAfIZG7qdMAWaNp2P5zdj4c8NuB9k6neH1hfgTggQvuig7dzQdslrngL -> 
../../dm-0
lrwxrwxrwx 1 root root 10 May 10 20:06 
dm-uuid-LVM-1xnC0CzJgAfIZG7qdMAWaNp2P5zdj4c8TDoQgZ7eLjDjVSbuxyqzov7HYVpEZ1Cf -> 
../../dm-1
lrwxrwxrwx 1 root root 10 May 10 20:06 
dm-uuid-LVM-1xnC0CzJgAfIZG7qdMAWaNp2P5zdj4c8yxVz0IOYJjAEO5vFexTON0fzTHYGUWez -> 
../../dm-2
lrwxrwxrwx 1 root root 10 May 10 20:06 
dm-uuid-LVM-2v42d3vHdlld11SjUa3yHGWNaDyRkXaiJQbRXiwpSlw0lfceDAEOm5vm25TLdmrD -> 
../../dm-5
lrwxrwxrwx 1 root root 10 May 10 20:06 
dm-uuid-LVM-2v42d3vHdlld11SjUa3yHGWNaDyRkXaiLtx5KD5AJRHAA811ZaeFrGTEtkOaH6JV -> 
../../dm-3
lrwxrwxrwx 1 root root 10 May 10 20:06 
dm-uuid-LVM-2v42d3vHdlld11SjUa3yHGWNaDyRkXaimnM6woK91mlTIUzCasnvkSc7diyzIUr8 -> 
../../dm-4
lrwxrwxrwx 1 root root  9 May 10 20:06 wwn-[… wwn …] -> ../../sda
lrwxrwxrwx 1 root root 10 May 10 20:06 wwn-[… wwn …]-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 10 20:06 wwn-[… wwn …]-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 10 20:06 wwn-[… wwn …]-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 May 10 20:06 wwn-[… wwn …]-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 May 10 20:06 wwn-[… wwn …] -> ../../sdb
lrwxrwxrwx 1 root root 10 May 10 20:06 wwn-[… wwn …]-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 10 20:06 wwn-[… wwn …]-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May 10 20:06 wwn-[… wwn …]-part3 -> ../../sdb3
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 May 10 20:06 0940bf03-930d-4494-92e0-5f1cdc597f86 -> 
../../sda3
lrwxrwxrwx 1 root root 10 May 10 20:06 29D0-0347 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 10 20:06 2A15-82CC -> ../../sda2
lrwxrwxrwx 1 root root 10 May 10 20:06 7918274f-e2ec-4983-bbb0-aa93ef95fcf7 -> 
../../dm-1
lrwxrwxrwx 1 root root 10 May 10 20:06 96735182-42db-4a5f-944a-2f91eae1edf1 -> 
../../sdb2
lrwxrwxrwx 1 root root 10 May 10 20:06 b96c4f72-0523-45ac-a401-f7be73dd624a -> 
../../dm-3
lrwxrwxrwx 1 root root 10 May 10 20:06 c0f93369-381c-43d7-948e-14dfbc06ca2b -> 
../../dm-4
lrwxrwxrwx 1 root root 10 May 10 20:06 ebda8c23-2154-4559-be2b-9e9c422658d1 -> 
../../dm-2
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.15.0-rc5-tp520 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub2-common depends on:
ii  dpkg                1.17.9
ii  grub-common         2.02~beta2-10
ii  install-info        5.2.0.dfsg.1-3
ii  libc6               2.18-5
ii  libdevmapper1.02.1  2:1.02.83-2
ii  liblzma5            5.1.1alpha+20120614-2

grub2-common recommends no packages.

grub2-common suggests no packages.

-- no debconf information



reply via email to

[Prev in Thread] Current Thread [Next in Thread]