Your message dated Sun, 23 Apr 2023 17:21:31 +0100
with message-id <[email protected]>
and subject line Re: Bug#1034610: grub-common no longer supports labels
has caused the Debian Bug report #1034610,
regarding grub-common no longer supports labels
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1034610: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034610
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grub-common
Version: 2.06-8
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

After upgrading to latest version of grub-common and kernel, the system
wouldn't boot up with the latest kernel. The device paths changed, sda1
to sdb1. I noticed that the grub config changed to use UUIDs, however
/etc/default/grub is set to use LABELS. Which is something I prefer to
do.

It seems that grub-mkinfo no longer supports the GRUB_ENABLE_LINUX_LABEL
parameters and has to be re-written for it to work.


There's a patch in #568084, but I'm not entirely sure it'll work. And I
don't want to use UUIDs at all.

Thank you.

Best regards,
Dario Susman


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda1 / ext4 rw,relatime,errors=remount-ro 0 0
/dev/sdb1 /mnt/WDBLUE1TB xfs 
rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0
/dev/nvme0n1p1 /mnt/NVME500 ext4 rw,relatime 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)   /dev/disk/by-id/ata-KINGSTON_SV300S37A120G_50026B7746012FCC
(hd1)   /dev/disk/by-id/ata-MAXTOR_STM3500320AS_9QM8W5FL
(hd2)   
/dev/disk/by-id/usb-Kingston_DataTraveler_2.0_001D0F0CAA76F951B59D0347-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
}

terminal_input console
terminal_output console
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
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 ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### 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-16e84623-5d05-4f7b-b741-ad28bcc81a9f' {
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        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'  
16e84623-5d05-4f7b-b741-ad28bcc81a9f
        else
          search --no-floppy --fs-uuid --set=root 
16e84623-5d05-4f7b-b741-ad28bcc81a9f
        fi
        echo    'Loading Linux 6.1.0-7-amd64 ...'
        linux   /boot/vmlinuz-6.1.0-7-amd64 root=/dev/sda1 ro 
initrd=/install/initrd.gz net.ifnames=0 apparmor=0 crashkernel=384M-:128M
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-6.1.0-7-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 
'gnulinux-advanced-16e84623-5d05-4f7b-b741-ad28bcc81a9f' {
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-7-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-7-amd64-advanced-16e84623-5d05-4f7b-b741-ad28bcc81a9f' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                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'  16e84623-5d05-4f7b-b741-ad28bcc81a9f
                else
                  search --no-floppy --fs-uuid --set=root 
16e84623-5d05-4f7b-b741-ad28bcc81a9f
                fi
                echo    'Loading Linux 6.1.0-7-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-7-amd64 root=/dev/sda1 ro 
initrd=/install/initrd.gz net.ifnames=0 apparmor=0 crashkernel=384M-:128M
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-7-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-7-amd64 (sysvinit)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-7-amd64-init-sysvinit-16e84623-5d05-4f7b-b741-ad28bcc81a9f' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                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'  16e84623-5d05-4f7b-b741-ad28bcc81a9f
                else
                  search --no-floppy --fs-uuid --set=root 
16e84623-5d05-4f7b-b741-ad28bcc81a9f
                fi
                echo    'Loading Linux 6.1.0-7-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-7-amd64 root=/dev/sda1 ro 
initrd=/install/initrd.gz net.ifnames=0 apparmor=0 crashkernel=384M-:128M 
init=/lib/sysvinit/init
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-7-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-7-amd64 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-7-amd64-recovery-16e84623-5d05-4f7b-b741-ad28bcc81a9f' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                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'  16e84623-5d05-4f7b-b741-ad28bcc81a9f
                else
                  search --no-floppy --fs-uuid --set=root 
16e84623-5d05-4f7b-b741-ad28bcc81a9f
                fi
                echo    'Loading Linux 6.1.0-7-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-7-amd64 root=/dev/sda1 ro single 
initrd=/install/initrd.gz
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-7-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-6-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-6-amd64-advanced-16e84623-5d05-4f7b-b741-ad28bcc81a9f' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                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'  16e84623-5d05-4f7b-b741-ad28bcc81a9f
                else
                  search --no-floppy --fs-uuid --set=root 
16e84623-5d05-4f7b-b741-ad28bcc81a9f
                fi
                echo    'Loading Linux 6.1.0-6-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-6-amd64 root=/dev/sda1 ro 
initrd=/install/initrd.gz net.ifnames=0 apparmor=0 crashkernel=384M-:128M
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-6-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-6-amd64 (sysvinit)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-6-amd64-init-sysvinit-16e84623-5d05-4f7b-b741-ad28bcc81a9f' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                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'  16e84623-5d05-4f7b-b741-ad28bcc81a9f
                else
                  search --no-floppy --fs-uuid --set=root 
16e84623-5d05-4f7b-b741-ad28bcc81a9f
                fi
                echo    'Loading Linux 6.1.0-6-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-6-amd64 root=/dev/sda1 ro 
initrd=/install/initrd.gz net.ifnames=0 apparmor=0 crashkernel=384M-:128M 
init=/lib/sysvinit/init
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-6-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-6-amd64 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-6-amd64-recovery-16e84623-5d05-4f7b-b741-ad28bcc81a9f' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                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'  16e84623-5d05-4f7b-b741-ad28bcc81a9f
                else
                  search --no-floppy --fs-uuid --set=root 
16e84623-5d05-4f7b-b741-ad28bcc81a9f
                fi
                echo    'Loading Linux 6.1.0-6-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-6-amd64 root=/dev/sda1 ro single 
initrd=/install/initrd.gz
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-6-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)" {
        linux16 /boot/memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+x64.bin)" {
        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'  
16e84623-5d05-4f7b-b741-ad28bcc81a9f
        else
          search --no-floppy --fs-uuid --set=root 
16e84623-5d05-4f7b-b741-ad28bcc81a9f
        fi
        linux   /boot/memtest86+x64.bin
}
menuentry 'Memory test (memtest86+x64.bin, serial console)' {
        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'  
16e84623-5d05-4f7b-b741-ad28bcc81a9f
        else
          search --no-floppy --fs-uuid --set=root 
16e84623-5d05-4f7b-b741-ad28bcc81a9f
        fi
        linux   /boot/memtest86+x64.bin console=ttyS0,115200
}
### 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
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 Apr 19 14:22 
ata-KINGSTON_SV300S37A120G_50026B7746012FCC -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 19 14:22 
ata-KINGSTON_SV300S37A120G_50026B7746012FCC-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 19 14:22 
ata-KINGSTON_SV300S37A120G_50026B7746012FCC-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 19 14:22 
ata-KINGSTON_SV300S37A120G_50026B7746012FCC-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Apr 19 14:22 ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y5YYUD6H 
-> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 19 14:22 
ata-WDC_WD10EZEX-08WN4A0_WD-WCC6Y5YYUD6H-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 13 Apr 19 14:22 nvme-KINGSTON_SNVS500G_50026B7684AFFAE8 
-> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Apr 19 14:22 
nvme-KINGSTON_SNVS500G_50026B7684AFFAE8-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 13 Apr 19 14:22 
nvme-eui.00000000000000000026b7684affae85 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Apr 19 14:22 
nvme-eui.00000000000000000026b7684affae85-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root  9 Apr 19 14:22 wwn-0x50014ee263e960bd -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 19 14:22 wwn-0x50014ee263e960bd-part1 -> 
../../sdb1
lrwxrwxrwx 1 root root  9 Apr 19 14:22 wwn-0x50026b7746012fcc -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 19 14:22 wwn-0x50026b7746012fcc-part1 -> 
../../sda1
lrwxrwxrwx 1 root root 10 Apr 19 14:22 wwn-0x50026b7746012fcc-part2 -> 
../../sda2
lrwxrwxrwx 1 root root 10 Apr 19 14:22 wwn-0x50026b7746012fcc-part5 -> 
../../sda5
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Apr 19 14:22 16e84623-5d05-4f7b-b741-ad28bcc81a9f -> 
../../sda1
lrwxrwxrwx 1 root root 15 Apr 19 14:22 4790b8a2-7bec-468d-ba56-21282574005e -> 
../../nvme0n1p1
lrwxrwxrwx 1 root root 10 Apr 19 14:22 5332bbb4-8f7a-4a27-a99b-6eb62fe11c07 -> 
../../sdb1
lrwxrwxrwx 1 root root 10 Apr 19 14:22 efcce902-dca9-44f8-9c5c-bf749b5871a8 -> 
../../sda5
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages grub-common depends on:
ii  gettext-base        0.21-12
ii  libc6               2.36-9
ii  libdevmapper1.02.1  2:1.02.185-2
ii  libefiboot1         37-6
ii  libefivar1          37-6
ii  libfreetype6        2.12.1+dfsg-4
ii  libfuse2            2.9.9-6+b1
ii  liblzma5            5.4.1-0.2

Versions of packages grub-common recommends:
ii  os-prober  1.81

Versions of packages grub-common suggests:
ii  console-setup  1.218
ii  desktop-base   12.0.5
pn  grub-emu       <none>
ii  mtools         4.0.33-1+really4.0.32-1
pn  multiboot-doc  <none>
ii  xorriso        1.5.4-4

-- no debconf information

--- End Message ---
--- Begin Message ---
On Thu, Apr 20, 2023 at 07:23:28PM -0300, Dario Andres Susman wrote:
>I'm afraid not. This is very old, perhaps, because I've been using "testing"
>on this box for a long time.

In that case I'm afraid I can't help you. I don't think there's a bug
here, and *certainly* not a *critical* one like you opened here.

>I should have saved the patch I did for myself. That's why referenced Bug
>568084, because I did apply a change using that patch in /etc/grub.d/10_linux
>years ago. I should have kept a copy of the file. It wasn't overritten for
>ages until recently.
>
>Another thing is that even if labels are not used, and UUID are disabled, the
>kernel (or something else?) switches what device is set for sda or sdb. Hence
>the problem booting up. I had no choice but to go back UUIDs for now. :\
>Rather odd, because if I boot back with linux-6.1.0-6-amd64, it books
>perfectly (without enabling UUIDs).
>
>I must admit, I'm rather confused by and with issue. It may be related with
>the kernel and not grub, perhaps? :S

You should go and read about UUIDs - it's entirely expected and common
for devices to change name (sda/sdb etc.) at each boot. On many
systems the ordering of devices is not deterministic, and this is
*exactly* why UUIDs (or other reliable names like MD or LVM devices)
are recommended.

-- 
Steve McIntyre, Cambridge, UK.                                [email protected]
"We're the technical experts.  We were hired so that management could
 ignore our recommendations and tell us how to do our jobs."  -- Mike Andrews

--- End Message ---

Reply via email to