Package: grub-common Version: 2.02~beta2-7 Severity: important Dear Maintainer,
user story: I have my rootfs on a LVM volume, and after the latest update of grub-common, grub-mkconfig no longer detects that, writes out a "root=UUID=..." entry to grub.cfg, and this makes the boot process fail. Bug analysis: /usr/sbin/grub-probe --device /dev/mapper/vg0-root --target=abstraction | hd 00000000 6c 76 6d 20 0a |lvm .| ^^ Note the extra space. This makes the function uses_abstraction() in grub-mkconfig_lib fail here: 317 abstraction="`"${grub_probe}" --device ${device} --target=abstraction`" 318 for module in ${abstraction}; do 319 if test "x${module}" = "x$2"; then 320 IFS="$old_ifs" 321 return 0 I guess grub-probe should be fixed not to output that extra space. Thanks, Nikolaus -- Package-specific info: *********************** BEGIN /proc/mounts /dev/disk/by-uuid/1142c37b-a267-4e74-8e97-a61c62e50d68 / ext4 rw,relatime,discard,errors=remount-ro,data=ordered 0 0 /dev/sda1 /boot ext4 rw,relatime,discard,data=ordered 0 0 /dev/mapper/vg0-home /home ext4 rw,relatime,discard,data=ordered 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/device.map (hd0) /dev/disk/by-id/ata-INTEL_SSDSA2CW120G3_CVPR148103QW120LGN (hd1) /dev/disk/by-id/usb-_QIMONDA_07850EA90D5A-0:0 *********************** 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 lvm insmod ext2 set root='lvmid/VrWejB-6INM-Knmv-a2bz-N23j-EBTh-D7GFoh/2WALOZ-pQwP-eDtG-weqA-0IFq-o3L3-JrVYVO' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='lvmid/VrWejB-6INM-Knmv-a2bz-N23j-EBTh-D7GFoh/2WALOZ-pQwP-eDtG-weqA-0IFq-o3L3-JrVYVO' 1142c37b-a267-4e74-8e97-a61c62e50d68 else search --no-floppy --fs-uuid --set=root 1142c37b-a267-4e74-8e97-a61c62e50d68 fi font="/usr/share/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_GB 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 lvm insmod ext2 set root='lvmid/VrWejB-6INM-Knmv-a2bz-N23j-EBTh-D7GFoh/2WALOZ-pQwP-eDtG-weqA-0IFq-o3L3-JrVYVO' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='lvmid/VrWejB-6INM-Knmv-a2bz-N23j-EBTh-D7GFoh/2WALOZ-pQwP-eDtG-weqA-0IFq-o3L3-JrVYVO' 1142c37b-a267-4e74-8e97-a61c62e50d68 else search --no-floppy --fs-uuid --set=root 1142c37b-a267-4e74-8e97-a61c62e50d68 fi insmod png if background_image /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-1142c37b-a267-4e74-8e97-a61c62e50d68' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 977940bb-1e5f-47aa-bc27-83c5a1661421 else search --no-floppy --fs-uuid --set=root 977940bb-1e5f-47aa-bc27-83c5a1661421 fi echo 'Loading Linux 3.13-1-686-pae ...' linux /vmlinuz-3.13-1-686-pae root=UUID=1142c37b-a267-4e74-8e97-a61c62e50d68 ro quiet echo 'Loading initial ramdisk ...' initrd /initrd.img-3.13-1-686-pae } submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1142c37b-a267-4e74-8e97-a61c62e50d68' { menuentry 'Debian GNU/Linux, with Linux 3.13-1-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13-1-686-pae-advanced-1142c37b-a267-4e74-8e97-a61c62e50d68' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 977940bb-1e5f-47aa-bc27-83c5a1661421 else search --no-floppy --fs-uuid --set=root 977940bb-1e5f-47aa-bc27-83c5a1661421 fi echo 'Loading Linux 3.13-1-686-pae ...' linux /vmlinuz-3.13-1-686-pae root=UUID=1142c37b-a267-4e74-8e97-a61c62e50d68 ro quiet echo 'Loading initial ramdisk ...' initrd /initrd.img-3.13-1-686-pae } menuentry 'Debian GNU/Linux, with Linux 3.13-1-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13-1-686-pae-recovery-1142c37b-a267-4e74-8e97-a61c62e50d68' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 977940bb-1e5f-47aa-bc27-83c5a1661421 else search --no-floppy --fs-uuid --set=root 977940bb-1e5f-47aa-bc27-83c5a1661421 fi echo 'Loading Linux 3.13-1-686-pae ...' linux /vmlinuz-3.13-1-686-pae root=UUID=1142c37b-a267-4e74-8e97-a61c62e50d68 ro single echo 'Loading initial ramdisk ...' initrd /initrd.img-3.13-1-686-pae } menuentry 'Debian GNU/Linux, with Linux 3.12-1-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12-1-686-pae-advanced-1142c37b-a267-4e74-8e97-a61c62e50d68' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 977940bb-1e5f-47aa-bc27-83c5a1661421 else search --no-floppy --fs-uuid --set=root 977940bb-1e5f-47aa-bc27-83c5a1661421 fi echo 'Loading Linux 3.12-1-686-pae ...' linux /vmlinuz-3.12-1-686-pae root=UUID=1142c37b-a267-4e74-8e97-a61c62e50d68 ro quiet echo 'Loading initial ramdisk ...' initrd /initrd.img-3.12-1-686-pae } menuentry 'Debian GNU/Linux, with Linux 3.12-1-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12-1-686-pae-recovery-1142c37b-a267-4e74-8e97-a61c62e50d68' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 977940bb-1e5f-47aa-bc27-83c5a1661421 else search --no-floppy --fs-uuid --set=root 977940bb-1e5f-47aa-bc27-83c5a1661421 fi echo 'Loading Linux 3.12-1-686-pae ...' linux /vmlinuz-3.12-1-686-pae root=UUID=1142c37b-a267-4e74-8e97-a61c62e50d68 ro single echo 'Loading initial ramdisk ...' initrd /initrd.img-3.12-1-686-pae } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### 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 cat: /proc/mdstat: No such file or directory *********************** END /proc/mdstat *********************** BEGIN LVM *********************** END LVM *********************** BEGIN /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 9 Mar 13 21:23 ata-DVD_CDRW_UJDA775 -> ../../sr0 lrwxrwxrwx 1 root root 9 Mar 13 21:23 ata-INTEL_SSDSA2CW120G3_CVPR148103QW120LGN -> ../../sda lrwxrwxrwx 1 root root 10 Mar 13 21:24 ata-INTEL_SSDSA2CW120G3_CVPR148103QW120LGN-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Mar 13 21:23 ata-INTEL_SSDSA2CW120G3_CVPR148103QW120LGN-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Mar 13 21:23 ata-INTEL_SSDSA2CW120G3_CVPR148103QW120LGN-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Mar 13 21:23 dm-name-vg0-home -> ../../dm-2 lrwxrwxrwx 1 root root 10 Mar 13 21:23 dm-name-vg0-root -> ../../dm-1 lrwxrwxrwx 1 root root 10 Mar 13 21:23 dm-name-vg0-swap_1 -> ../../dm-0 lrwxrwxrwx 1 root root 10 Mar 13 21:23 dm-uuid-LVM-VrWejB6INMKnmva2bzN23jEBThD7GFoh2WALOZpQwPeDtGweqA0IFqo3L3JrVYVO -> ../../dm-1 lrwxrwxrwx 1 root root 10 Mar 13 21:23 dm-uuid-LVM-VrWejB6INMKnmva2bzN23jEBThD7GFohIzs1J0vvw99jX0QcR5RQU2XD3mklx3r1 -> ../../dm-0 lrwxrwxrwx 1 root root 10 Mar 13 21:23 dm-uuid-LVM-VrWejB6INMKnmva2bzN23jEBThD7GFohXNxWNDZMiUq2N4TU1EKNldqjYV8m9n3m -> ../../dm-2 lrwxrwxrwx 1 root root 9 Mar 13 21:23 scsi-SATA_INTEL_SSDSA2CW12CVPR148103QW120LGN -> ../../sda lrwxrwxrwx 1 root root 10 Mar 13 21:24 scsi-SATA_INTEL_SSDSA2CW12CVPR148103QW120LGN-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Mar 13 21:23 scsi-SATA_INTEL_SSDSA2CW12CVPR148103QW120LGN-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Mar 13 21:23 scsi-SATA_INTEL_SSDSA2CW12CVPR148103QW120LGN-part5 -> ../../sda5 lrwxrwxrwx 1 root root 9 Mar 13 21:23 wwn-0x5001517bb2770f7f -> ../../sda lrwxrwxrwx 1 root root 10 Mar 13 21:24 wwn-0x5001517bb2770f7f-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Mar 13 21:23 wwn-0x5001517bb2770f7f-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Mar 13 21:23 wwn-0x5001517bb2770f7f-part5 -> ../../sda5 *********************** END /dev/disk/by-id *********************** BEGIN /dev/disk/by-uuid total 0 lrwxrwxrwx 1 root root 10 Mar 13 21:23 1142c37b-a267-4e74-8e97-a61c62e50d68 -> ../../dm-1 lrwxrwxrwx 1 root root 10 Mar 13 21:23 2806fd03-ddfe-43b6-a339-b4bb051c20d4 -> ../../dm-0 lrwxrwxrwx 1 root root 10 Mar 13 21:24 977940bb-1e5f-47aa-bc27-83c5a1661421 -> ../../sda1 lrwxrwxrwx 1 root root 10 Mar 13 21:23 f119a407-40b3-41e7-b2bf-71368a569666 -> ../../dm-2 *********************** END /dev/disk/by-uuid -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.13-1-686-pae (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages grub-common depends on: ii gettext-base 0.18.3.2-1 ii libc6 2.18-4 ii libdevmapper1.02.1 2:1.02.83-2 ii libfreetype6 2.5.2-1 ii libfuse2 2.9.2-4 ii liblzma5 5.1.1alpha+20120614-2 ii libpng12-0 1.2.50-1 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages grub-common recommends: ii os-prober 1.63 Versions of packages grub-common suggests: ii console-setup 1.104 ii desktop-base 7.0.3 pn grub-emu <none> pn multiboot-doc <none> pn xorriso <none> -- no debconf information -- debsums errors found: debsums: changed file /usr/share/grub/grub-mkconfig_lib (from grub-common package) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org