Bug#1059244: grub-pc stops booting and its workaround

Osamu Aoki osamu at debian.org
Fri Dec 22 01:34:37 GMT 2023


Package: grub-pc
Version: 2.06-13+deb12u1
Severity: normal
X-Debbugs-Cc: osamu at debian.org

I hope this helps people who tries to install Debian stable on MBR.

(I think modifying grub-pc install script for stable package to do what
I manually did is rather a low risk change with decent benefits.  Please
consider.)

## Grub problem encountered and my workaround:

I encountered a dificult grub-pc install during my fresh install of
Bookworm/12 using NETINST USB to /dev/sda5 as root `/` holding partition
formatted as ext4.  Here, /dev/sda is 500GB SSD formatted to use MBR.

When I initially encountered this bug, system data such as /boot, /var
and /usr were on /dev/sda5.  So fancy mounting points listed below were
introduced after setting up my workaround to get grub-pc working.

When initially installed before my workaround, grub stoped booting
before showing the normal blue selection menu.  I get presented with the
"GRUB RESCUE>" prompt and I can type "ls" and it lists installed SSDs.

It complained on missing `/boot/grub/i386-pc/normal.mod`

I copied the whole /usr/lib/grub/i386-pc/ directory to /boot/grub/ since
it was missing not just i386-pc/normal.mod file but i386-pc/ directory
itself.

(This system repair workaround was performed by booting the system with
SystemRescue USB stick. https://www.system-rescue.org/ )

Then my system boot without problem showing nice blue selection screen.
After booting, I see `/boot/grub/.background_cache.png` created.

## Thoughts on the packaging:

As I compaired grub install situation with my another system using UEFI,
there I see /boot/grub/x86_64-efi/ directory and all *.mod files.
UEFI system also had /usr/lib/grub/x86_64-efi with the same *.mod.

My question is why Debian packager decided not to do the same for
grub-pc?  If he did the same for grub-pc, I didn't suffer broken grub
install.

## Thoughts on the hardware configuration trigger:

Possible triggers I suspect:
- /boot on /dev/sda5 (not on MBR primary partition /dev/sda1 etc.)
- SSD size (500GB) and sector location of /boot

## Few more background etc.

As you might have thought, I initially tried to boot using `/boot` (not
`/`) on /dev/sda5.  Then I had `/` in LVM (Then not encrypted.).  Back
then, error message was much more cryptic since it didn't print normal
path.  It was looking for some partition with long label starting with "lvm".

So it took me a good amount of head-scratching before finding workable
solution.

With the above workaround, I may be able to use encrypted root on LVM.
I didn't test it.  For now, I don't have an appetite to re-install this
PC.

With the current setup, I effectively have an encrypted system (except
for /etc and /boot.  (I think I can also move /root to encrypted FS.)

This system comes with early UEFI system.  But it was a bit problematic
one so I ended up to use it in legacy mode with MBR partition.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda5 / ext4 rw,relatime,errors=remount-ro 0 0
/dev/mapper/CRYPTO-BTRFS /usr btrfs rw,relatime,ssd,space_cache=v2,subvolid=259,subvol=/@usr 0 0
/dev/mapper/CRYPTO-BTRFS /btrfs btrfs rw,relatime,ssd,space_cache=v2,subvolid=5,subvol=/ 0 0
/dev/mapper/CRYPTO-BTRFS /opt btrfs rw,relatime,ssd,space_cache=v2,subvolid=256,subvol=/@opt 0 0
/dev/mapper/CRYPTO-BTRFS /home/osamu btrfs rw,relatime,ssd,space_cache=v2,subvolid=261,subvol=/@osamu 0 0
/dev/mapper/CRYPTO-BTRFS /srv btrfs rw,relatime,ssd,space_cache=v2,subvolid=257,subvol=/@srv 0 0
/dev/mapper/CRYPTO-BTRFS /var btrfs rw,relatime,ssd,space_cache=v2,subvolid=258,subvol=/@var 0 0
*********************** END /proc/mounts

*********************** 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 ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  e1466901-b083-46f0-81d5-7a58c19fff7c
else
  search --no-floppy --fs-uuid --set=root e1466901-b083-46f0-81d5-7a58c19fff7c
fi
    font="/boot/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
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 ###
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  e1466901-b083-46f0-81d5-7a58c19fff7c
else
  search --no-floppy --fs-uuid --set=root e1466901-b083-46f0-81d5-7a58c19fff7c
fi
insmod png
if background_image /boot/grub/.background_cache.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-e1466901-b083-46f0-81d5-7a58c19fff7c' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  e1466901-b083-46f0-81d5-7a58c19fff7c
	else
	  search --no-floppy --fs-uuid --set=root e1466901-b083-46f0-81d5-7a58c19fff7c
	fi
	echo	'Loading Linux 6.1.0-16-amd64 ...'
	linux	/boot/vmlinuz-6.1.0-16-amd64 root=UUID=e1466901-b083-46f0-81d5-7a58c19fff7c ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-6.1.0-16-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-e1466901-b083-46f0-81d5-7a58c19fff7c' {
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-16-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-16-amd64-advanced-e1466901-b083-46f0-81d5-7a58c19fff7c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  e1466901-b083-46f0-81d5-7a58c19fff7c
		else
		  search --no-floppy --fs-uuid --set=root e1466901-b083-46f0-81d5-7a58c19fff7c
		fi
		echo	'Loading Linux 6.1.0-16-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-16-amd64 root=UUID=e1466901-b083-46f0-81d5-7a58c19fff7c ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.1.0-16-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-16-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-16-amd64-recovery-e1466901-b083-46f0-81d5-7a58c19fff7c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  e1466901-b083-46f0-81d5-7a58c19fff7c
		else
		  search --no-floppy --fs-uuid --set=root e1466901-b083-46f0-81d5-7a58c19fff7c
		fi
		echo	'Loading Linux 6.1.0-16-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-16-amd64 root=UUID=e1466901-b083-46f0-81d5-7a58c19fff7c ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.1.0-16-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-15-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-15-amd64-advanced-e1466901-b083-46f0-81d5-7a58c19fff7c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  e1466901-b083-46f0-81d5-7a58c19fff7c
		else
		  search --no-floppy --fs-uuid --set=root e1466901-b083-46f0-81d5-7a58c19fff7c
		fi
		echo	'Loading Linux 6.1.0-15-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-15-amd64 root=UUID=e1466901-b083-46f0-81d5-7a58c19fff7c ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.1.0-15-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-15-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-15-amd64-recovery-e1466901-b083-46f0-81d5-7a58c19fff7c' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  e1466901-b083-46f0-81d5-7a58c19fff7c
		else
		  search --no-floppy --fs-uuid --set=root e1466901-b083-46f0-81d5-7a58c19fff7c
		fi
		echo	'Loading Linux 6.1.0-15-amd64 ...'
		linux	/boot/vmlinuz-6.1.0-15-amd64 root=UUID=e1466901-b083-46f0-81d5-7a58c19fff7c ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.1.0-15-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/30_os-prober ###
menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-1440B44740B4317A' {
	insmod part_msdos
	insmod ntfs
	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  1440B44740B4317A
	else
	  search --no-floppy --fs-uuid --set=root 1440B44740B4317A
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry 'Debian GNU/Linux 12 (bookworm) (on /dev/sdb1)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-587bded4-0012-4864-a29d-2d6e6b229ea8' {
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  587bded4-0012-4864-a29d-2d6e6b229ea8
	else
	  search --no-floppy --fs-uuid --set=root 587bded4-0012-4864-a29d-2d6e6b229ea8
	fi
	linux /boot/vmlinuz-6.1.0-16-amd64 root=UUID=587bded4-0012-4864-a29d-2d6e6b229ea8 ro quiet
	initrd /boot/initrd.img-6.1.0-16-amd64
}
submenu 'Advanced options for Debian GNU/Linux 12 (bookworm) (on /dev/sdb1)' $menuentry_id_option 'osprober-gnulinux-advanced-587bded4-0012-4864-a29d-2d6e6b229ea8' {
	menuentry 'Debian GNU/Linux (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-16-amd64--587bded4-0012-4864-a29d-2d6e6b229ea8' {
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  587bded4-0012-4864-a29d-2d6e6b229ea8
		else
		  search --no-floppy --fs-uuid --set=root 587bded4-0012-4864-a29d-2d6e6b229ea8
		fi
		linux /boot/vmlinuz-6.1.0-16-amd64 root=UUID=587bded4-0012-4864-a29d-2d6e6b229ea8 ro quiet
		initrd /boot/initrd.img-6.1.0-16-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-16-amd64 (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-16-amd64--587bded4-0012-4864-a29d-2d6e6b229ea8' {
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  587bded4-0012-4864-a29d-2d6e6b229ea8
		else
		  search --no-floppy --fs-uuid --set=root 587bded4-0012-4864-a29d-2d6e6b229ea8
		fi
		linux /boot/vmlinuz-6.1.0-16-amd64 root=UUID=587bded4-0012-4864-a29d-2d6e6b229ea8 ro quiet
		initrd /boot/initrd.img-6.1.0-16-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-16-amd64 (recovery mode) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-16-amd64-root=UUID=587bded4-0012-4864-a29d-2d6e6b229ea8 ro single-587bded4-0012-4864-a29d-2d6e6b229ea8' {
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  587bded4-0012-4864-a29d-2d6e6b229ea8
		else
		  search --no-floppy --fs-uuid --set=root 587bded4-0012-4864-a29d-2d6e6b229ea8
		fi
		linux /boot/vmlinuz-6.1.0-16-amd64 root=UUID=587bded4-0012-4864-a29d-2d6e6b229ea8 ro single
		initrd /boot/initrd.img-6.1.0-16-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-15-amd64 (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-15-amd64--587bded4-0012-4864-a29d-2d6e6b229ea8' {
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  587bded4-0012-4864-a29d-2d6e6b229ea8
		else
		  search --no-floppy --fs-uuid --set=root 587bded4-0012-4864-a29d-2d6e6b229ea8
		fi
		linux /boot/vmlinuz-6.1.0-15-amd64 root=UUID=587bded4-0012-4864-a29d-2d6e6b229ea8 ro quiet
		initrd /boot/initrd.img-6.1.0-15-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-15-amd64 (recovery mode) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-15-amd64-root=UUID=587bded4-0012-4864-a29d-2d6e6b229ea8 ro single-587bded4-0012-4864-a29d-2d6e6b229ea8' {
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  587bded4-0012-4864-a29d-2d6e6b229ea8
		else
		  search --no-floppy --fs-uuid --set=root 587bded4-0012-4864-a29d-2d6e6b229ea8
		fi
		linux /boot/vmlinuz-6.1.0-15-amd64 root=UUID=587bded4-0012-4864-a29d-2d6e6b229ea8 ro single
		initrd /boot/initrd.img-6.1.0-15-amd64
	}
}

### 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/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### 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 /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Dec 21 18:34 ata-AXM13S2-24GM-B_2C4320035442 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 21 18:34 ata-AXM13S2-24GM-B_2C4320035442-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 21 18:34 ata-AXM13S2-24GM-B_2C4320035442-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Dec 21 18:34 ata-SanDisk_SDSSDA480G_171880441407 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 21 18:34 ata-SanDisk_SDSSDA480G_171880441407-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 21 18:34 ata-SanDisk_SDSSDA480G_171880441407-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 21 18:34 ata-SanDisk_SDSSDA480G_171880441407-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 21 18:34 ata-SanDisk_SDSSDA480G_171880441407-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Dec 21 18:34 ata-SanDisk_SDSSDA480G_171880441407-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec 21 18:34 ata-SanDisk_SDSSDA480G_171880441407-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Dec 21 18:34 dm-name-CRYPTO-BTRFS -> ../../dm-2
lrwxrwxrwx 1 root root 10 Dec 21 18:34 dm-name-CRYPTO-SWAP -> ../../dm-1
lrwxrwxrwx 1 root root 10 Dec 21 18:34 dm-name-sda6_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Dec 21 18:34 dm-uuid-CRYPT-LUKS2-bc7b8e29467c47f89b87127988ba2c35-sda6_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Dec 21 18:34 dm-uuid-LVM-FuzWm03u3IVfBltvvFje7rtMzl8w6EXwW6x1ZToDtyfsmjuDglmHXDTDbKRA8K0A -> ../../dm-1
lrwxrwxrwx 1 root root 10 Dec 21 18:34 dm-uuid-LVM-FuzWm03u3IVfBltvvFje7rtMzl8w6EXwfqeGPu04MHBj35pYpKiLBc9OFIlkVTvu -> ../../dm-2
lrwxrwxrwx 1 root root 10 Dec 21 18:34 lvm-pv-uuid-XOt7Ia-oMBd-d5ya-rT9o-AJm9-oKoX-sZA1YF -> ../../dm-0
lrwxrwxrwx 1 root root  9 Dec 21 18:34 wwn-0x5001b444a632c3e8 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 21 18:34 wwn-0x5001b444a632c3e8-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 21 18:34 wwn-0x5001b444a632c3e8-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 21 18:34 wwn-0x5001b444a632c3e8-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 21 18:34 wwn-0x5001b444a632c3e8-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Dec 21 18:34 wwn-0x5001b444a632c3e8-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec 21 18:34 wwn-0x5001b444a632c3e8-part6 -> ../../sda6
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Dec 21 18:34 1440B44740B4317A -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 21 18:34 587bded4-0012-4864-a29d-2d6e6b229ea8 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 21 18:34 5acbdac1-0e9d-4400-8321-f0ab794ac9fb -> ../../dm-2
lrwxrwxrwx 1 root root 10 Dec 21 18:34 6C6AB44B6AB41434 -> ../../sda3
lrwxrwxrwx 1 root root 10 Dec 21 18:34 91225389-43a9-4bbf-9ac9-5b6d202b0001 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Dec 21 18:34 949dc0b4-b928-4979-a9f3-37c1abd5d320 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Dec 21 18:34 EEC8B9E9C8B9AFE7 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 21 18:34 bc7b8e29-467c-47f8-9b87-127988ba2c35 -> ../../sda6
lrwxrwxrwx 1 root root 10 Dec 21 18:34 e1466901-b083-46f0-81d5-7a58c19fff7c -> ../../sda5
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-16-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.82
ii  grub-common            2.06-13+deb12u1
ii  grub-pc-bin            2.06-13+deb12u1
ii  grub2-common           2.06-13+deb12u1
ii  ucf                    3.0043+nmu1

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/timeout: 5
  grub-pc/install_devices_failed: false
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/kopt_extracted: false
  grub-pc/chainload_from_menu.lst: true
  grub-pc/install_devices_disks_changed:
  grub2/kfreebsd_cmdline:
  grub-pc/hidden_timeout: false
* grub2/gnumach_cmdline:
* grub2/linux_cmdline:
* grub-pc/install_devices:
* grub2/linux_cmdline_default: quiet
  grub-pc/disk_description:
* grub2/enable_os_prober: true
  grub2/force_efi_extra_removable: false
  grub-pc/partition_description:
  grub2/update_nvram: true
  grub-pc/install_devices_empty: false



More information about the Pkg-grub-devel mailing list