Bug#1032922: grub-efi-amd64: Third internal SSD not in boot list

Bud Heal budheal508 at gmail.com
Tue Mar 14 04:51:26 GMT 2023


Package: grub-efi-amd64
Version: 2.06-8
Severity: important
Tags: d-i
X-Debbugs-Cc: budheal508 at gmail.com

Dear Maintainer,

   * What led up to the situation?
This Nitro 5 laptop has a second M.2 slot and a SSSD bay. When I can get the
system stable, these or the LVM partitions will mirror. In the mean time, I am
installing, willy-nilly, Debian bullseye and bookworm. At some point I set
these for RAID 1 in the installer, then removed the RAID before doing else. The
Windows SSD (1TB) is left vanilla, or to whatever grub does with it.

There was no problem at first to install bookworm into each of 4TB SSDs.
bullseye will install but the reboot fails, complaining about USB.

I starting to see, or rather not seeing the SSSD in the installer list but more
annoyingly grub shows up only a single Debian entry to boot in and the nascent
Windows SSD.
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I installed bullseye into the #2 (M.2) disk (because I had a thought that it
might boot with no USB devices attached).

When I was left with a system with no apparent choice, I removed the M.2 with
no change to the boot dialog. I then dug into the grub manual and maybe some
help on the web and told grub to use the third disk which booted up in the
existing bookworm testing install.
   * What was the outcome of this action?
grub now presents only one Debian choice - the one which will not finish its
booting.
   * What outcome did you expect instead?
I expect grub to show all of the internal SSDs, at least those which are
bootable.

The grub manual looks like I could set this up manually. I have not tried that.

If I were looking deeper, I would see if grub just never expects to see three
internal disks in this configuration.



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/livedevil--vg-root / ext4 rw,relatime,errors=remount-ro 0 0
/dev/sda2 /boot ext2 rw,relatime 0 0
/dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 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 lvm
insmod ext2
set root='lvmid/coqLWm-epS1-Akxg-OukB-BxwO-6INw-udte2c/b6kyPL-17ZV-TFcF-tOss-acaS-YUDK-kdxQh9'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/coqLWm-epS1-Akxg-OukB-BxwO-6INw-udte2c/b6kyPL-17ZV-TFcF-tOss-acaS-YUDK-kdxQh9'  70ea5811-b7a7-47ec-9e05-c07428b1b3cb
else
  search --no-floppy --fs-uuid --set=root 70ea5811-b7a7-47ec-9e05-c07428b1b3cb
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_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 lvm
insmod ext2
set root='lvmid/coqLWm-epS1-Akxg-OukB-BxwO-6INw-udte2c/b6kyPL-17ZV-TFcF-tOss-acaS-YUDK-kdxQh9'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/coqLWm-epS1-Akxg-OukB-BxwO-6INw-udte2c/b6kyPL-17ZV-TFcF-tOss-acaS-YUDK-kdxQh9'  70ea5811-b7a7-47ec-9e05-c07428b1b3cb
else
  search --no-floppy --fs-uuid --set=root 70ea5811-b7a7-47ec-9e05-c07428b1b3cb
fi
insmod png
if background_image /usr/share/desktop-base/emerald-theme/grub/grub-4x3.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-70ea5811-b7a7-47ec-9e05-c07428b1b3cb' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  f3d1311c-96cf-4003-8ae6-ffe6e6c09409
	else
	  search --no-floppy --fs-uuid --set=root f3d1311c-96cf-4003-8ae6-ffe6e6c09409
	fi
	echo	'Loading Linux 6.1.0-5-amd64 ...'
	linux	/vmlinuz-6.1.0-5-amd64 root=/dev/mapper/livedevil--vg-root ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-6.1.0-5-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-70ea5811-b7a7-47ec-9e05-c07428b1b3cb' {
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-5-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-5-amd64-advanced-70ea5811-b7a7-47ec-9e05-c07428b1b3cb' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  f3d1311c-96cf-4003-8ae6-ffe6e6c09409
		else
		  search --no-floppy --fs-uuid --set=root f3d1311c-96cf-4003-8ae6-ffe6e6c09409
		fi
		echo	'Loading Linux 6.1.0-5-amd64 ...'
		linux	/vmlinuz-6.1.0-5-amd64 root=/dev/mapper/livedevil--vg-root ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.1.0-5-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 6.1.0-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-5-amd64-recovery-70ea5811-b7a7-47ec-9e05-c07428b1b3cb' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  f3d1311c-96cf-4003-8ae6-ffe6e6c09409
		else
		  search --no-floppy --fs-uuid --set=root f3d1311c-96cf-4003-8ae6-ffe6e6c09409
		fi
		echo	'Loading Linux 6.1.0-5-amd64 ...'
		linux	/vmlinuz-6.1.0-5-amd64 root=/dev/mapper/livedevil--vg-root ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-6.1.0-5-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 ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 LVM
*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Mar 11 04:31 ata-Samsung_SSD_870_EVO_4TB_S6BBNS0TB05275A -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 11 04:31 ata-Samsung_SSD_870_EVO_4TB_S6BBNS0TB05275A-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 11 04:31 ata-Samsung_SSD_870_EVO_4TB_S6BBNS0TB05275A-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 11 04:31 ata-Samsung_SSD_870_EVO_4TB_S6BBNS0TB05275A-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 11 04:31 dm-name-livedevil--vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Mar 11 04:31 dm-name-livedevil--vg-swap_1 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Mar 11 04:31 dm-name-sda3_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Mar 11 04:31 dm-uuid-CRYPT-LUKS2-9242f82fee1f4d9ab74d52d9c29e0e03-sda3_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Mar 11 04:31 dm-uuid-LVM-coqLWmepS1AkxgOukBBxwO6INwudte2cGFk0XK3m1n0elwGQmBace4OL7VNjUVxl -> ../../dm-2
lrwxrwxrwx 1 root root 10 Mar 11 04:31 dm-uuid-LVM-coqLWmepS1AkxgOukBBxwO6INwudte2cb6kyPL17ZVTFcFtOssacaSYUDKkdxQh9 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Mar 11 04:31 lvm-pv-uuid-Ctno2T-pjhl-HBQ0-F3Cd-nC1V-jv54-PpFexw -> ../../dm-0
lrwxrwxrwx 1 root root 13 Mar 11 04:31 nvme-CT4000P3SSD8_2304E6A32427 -> ../../nvme1n1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-CT4000P3SSD8_2304E6A32427-part1 -> ../../nvme1n1p1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-CT4000P3SSD8_2304E6A32427-part2 -> ../../nvme1n1p2
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-CT4000P3SSD8_2304E6A32427-part3 -> ../../nvme1n1p3
lrwxrwxrwx 1 root root 13 Mar 11 04:31 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0T213358 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0T213358-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0T213358-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0T213358-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-SAMSUNG_MZVL21T0HCLR-00B07_S63GNX0T213358-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 13 Mar 11 04:31 nvme-eui.002538b221c5e192 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-eui.002538b221c5e192-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-eui.002538b221c5e192-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-eui.002538b221c5e192-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-eui.002538b221c5e192-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 13 Mar 11 04:31 nvme-nvme.c0a9-323330344536413332343237-435434303030503353534438-00000001 -> ../../nvme1n1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-nvme.c0a9-323330344536413332343237-435434303030503353534438-00000001-part1 -> ../../nvme1n1p1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-nvme.c0a9-323330344536413332343237-435434303030503353534438-00000001-part2 -> ../../nvme1n1p2
lrwxrwxrwx 1 root root 15 Mar 11 04:31 nvme-nvme.c0a9-323330344536413332343237-435434303030503353534438-00000001-part3 -> ../../nvme1n1p3
lrwxrwxrwx 1 root root  9 Mar 11 04:31 usb-TSSTcorp_CDDVDW_SE-S084B_SATASLIM000000f8352-0:0 -> ../../sr0
lrwxrwxrwx 1 root root  9 Mar 11 04:31 wwn-0x5002538f32b053ee -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 11 04:31 wwn-0x5002538f32b053ee-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 11 04:31 wwn-0x5002538f32b053ee-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 11 04:31 wwn-0x5002538f32b053ee-part3 -> ../../sda3
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 15 Mar 11 04:31 104B-E7E1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 194A-9B26 -> ../../nvme1n1p1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 19580d4c-db02-4d01-81a1-034c7a17cadf -> ../../nvme1n1p2
lrwxrwxrwx 1 root root 10 Mar 11 04:31 4744-B6C7 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 11 04:31 70ea5811-b7a7-47ec-9e05-c07428b1b3cb -> ../../dm-1
lrwxrwxrwx 1 root root 15 Mar 11 04:31 86444C90444C84C1 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 10 Mar 11 04:31 9242f82f-ee1f-4d9a-b74d-52d9c29e0e03 -> ../../sda3
lrwxrwxrwx 1 root root 15 Mar 11 04:31 AC8E4D5D8E4D2166 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Mar 11 04:31 d4a8ef23-2651-4e5c-97bf-9cfc5e4b03fd -> ../../nvme1n1p3
lrwxrwxrwx 1 root root 10 Mar 11 04:31 d90610a3-18f1-470b-b4eb-aa4104ce1c77 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Mar 11 04:31 f3d1311c-96cf-4003-8ae6-ffe6e6c09409 -> ../../sda2
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-5-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_SOFTLOCKUP
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-efi-amd64 depends on:
ii  debconf [debconf-2.0]  1.5.82
ii  grub-common            2.06-8
ii  grub-efi-amd64-bin     2.06-8
ii  grub2-common           2.06-8
ii  ucf                    3.0043+nmu1

grub-efi-amd64 recommends no packages.

grub-efi-amd64 suggests no packages.

-- debconf information:
* grub2/linux_cmdline_default: quiet
  grub2/kfreebsd_cmdline_default: quiet
  grub2/kfreebsd_cmdline:
  grub2/update_nvram: true
* grub2/gnumach_cmdline:
* grub2/linux_cmdline:
  grub2/force_efi_extra_removable: false



More information about the Pkg-grub-devel mailing list