Bug#1051832: grub-efi-amd64: grub menu not shown on boot after upgrade to 2.12~rc1-9
Nate Bargmann
n0nb at n0nb.us
Thu Nov 21 09:09:59 GMT 2024
Package: grub-efi-amd64
Version: 2.12-5
Followup-For: Bug #1051832
Dear Maintainer,
* What led up to the situation?
Trying the netinst ISO and later installing from the Stable installer
(which does not have this bug) and upgrading the system to Trixie.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Setting 'GRUB_TERMINAL_OUTPUT=console' in /etc/default/grub.
* What was the outcome of this action?
The GRUB boot menu is visible.
* What outcome did you expect instead?
Originally I expected the boot menu with the graphical splash screen.
The hardware in question is a Lenovo X1 Carbon Generation 3 with UEFI
version 1.34 (latest). The graphical splash screen was only shown in
legacy BIOS boot mode. It is not shown in UEFI boot mode irrespective
of Secureboot being enabled or not. As noted, Stable version
2.06-13+deb12u1 does not exhibit this bug.
- Nate
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/sda5 / ext4 rw,relatime,errors=remount-ro 0 0
/dev/sda7 /home ext4 rw,relatime 0 0
/dev/sda1 /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
}
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
play 480 440 1
### 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 GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bcf2e4ef-8288-44d6-aaee-9146f3f742e6' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 bcf2e4ef-8288-44d6-aaee-9146f3f742e6
else
search --no-floppy --fs-uuid --set=root bcf2e4ef-8288-44d6-aaee-9146f3f742e6
fi
echo 'Loading Linux 6.11.7-amd64 ...'
linux /boot/vmlinuz-6.11.7-amd64 root=UUID=bcf2e4ef-8288-44d6-aaee-9146f3f742e6 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.11.7-amd64
}
submenu 'Advanced options for Debian GNU/Linux GNU/Linux' $menuentry_id_option 'gnulinux-advanced-bcf2e4ef-8288-44d6-aaee-9146f3f742e6' {
menuentry 'Debian GNU/Linux GNU/Linux, with Linux 6.11.7-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.11.7-amd64-advanced-bcf2e4ef-8288-44d6-aaee-9146f3f742e6' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 bcf2e4ef-8288-44d6-aaee-9146f3f742e6
else
search --no-floppy --fs-uuid --set=root bcf2e4ef-8288-44d6-aaee-9146f3f742e6
fi
echo 'Loading Linux 6.11.7-amd64 ...'
linux /boot/vmlinuz-6.11.7-amd64 root=UUID=bcf2e4ef-8288-44d6-aaee-9146f3f742e6 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.11.7-amd64
}
menuentry 'Debian GNU/Linux GNU/Linux, with Linux 6.11.7-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.11.7-amd64-recovery-bcf2e4ef-8288-44d6-aaee-9146f3f742e6' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 bcf2e4ef-8288-44d6-aaee-9146f3f742e6
else
search --no-floppy --fs-uuid --set=root bcf2e4ef-8288-44d6-aaee-9146f3f742e6
fi
echo 'Loading Linux 6.11.7-amd64 ...'
linux /boot/vmlinuz-6.11.7-amd64 root=UUID=bcf2e4ef-8288-44d6-aaee-9146f3f742e6 ro single dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.11.7-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/25_bli ###
if [ "$grub_platform" = "efi" ]; then
insmod bli
fi
### END /etc/grub.d/25_bli ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-6A17-0BEE' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 6A17-0BEE
else
search --no-floppy --fs-uuid --set=root 6A17-0BEE
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry 'Arch Linux (on /dev/sda8)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-1aad1511-44e7-4a99-a0e8-1578469d2a14' {
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 1aad1511-44e7-4a99-a0e8-1578469d2a14
else
search --no-floppy --fs-uuid --set=root 1aad1511-44e7-4a99-a0e8-1578469d2a14
fi
linux /boot/vmlinuz-linux root=UUID=1aad1511-44e7-4a99-a0e8-1578469d2a14 rw loglevel=3 quiet
initrd /boot/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux (on /dev/sda8)' $menuentry_id_option 'osprober-gnulinux-advanced-1aad1511-44e7-4a99-a0e8-1578469d2a14' {
menuentry 'Arch Linux (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--1aad1511-44e7-4a99-a0e8-1578469d2a14' {
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 1aad1511-44e7-4a99-a0e8-1578469d2a14
else
search --no-floppy --fs-uuid --set=root 1aad1511-44e7-4a99-a0e8-1578469d2a14
fi
linux /boot/vmlinuz-linux root=UUID=1aad1511-44e7-4a99-a0e8-1578469d2a14 rw loglevel=3 quiet
initrd /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--1aad1511-44e7-4a99-a0e8-1578469d2a14' {
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 1aad1511-44e7-4a99-a0e8-1578469d2a14
else
search --no-floppy --fs-uuid --set=root 1aad1511-44e7-4a99-a0e8-1578469d2a14
fi
linux /boot/vmlinuz-linux root=UUID=1aad1511-44e7-4a99-a0e8-1578469d2a14 rw loglevel=3 quiet
initrd /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs) (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--1aad1511-44e7-4a99-a0e8-1578469d2a14' {
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 1aad1511-44e7-4a99-a0e8-1578469d2a14
else
search --no-floppy --fs-uuid --set=root 1aad1511-44e7-4a99-a0e8-1578469d2a14
fi
linux /boot/vmlinuz-linux root=UUID=1aad1511-44e7-4a99-a0e8-1578469d2a14 rw loglevel=3 quiet
initrd /boot/initramfs-linux-fallback.img
}
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
fi
fi
### 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 Nov 20 17:50 ata-SPCC_M.2_SSD_240433215121018 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 20 17:50 ata-SPCC_M.2_SSD_240433215121018-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 20 17:50 ata-SPCC_M.2_SSD_240433215121018-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 20 17:50 ata-SPCC_M.2_SSD_240433215121018-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 20 17:50 ata-SPCC_M.2_SSD_240433215121018-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Nov 20 17:50 ata-SPCC_M.2_SSD_240433215121018-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 20 17:50 ata-SPCC_M.2_SSD_240433215121018-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Nov 20 17:50 ata-SPCC_M.2_SSD_240433215121018-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Nov 20 17:50 ata-SPCC_M.2_SSD_240433215121018-part8 -> ../../sda8
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Nov 20 17:50 1aad1511-44e7-4a99-a0e8-1578469d2a14 -> ../../sda8
lrwxrwxrwx 1 root root 10 Nov 20 17:50 2E16252A1624F48D -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 20 17:50 6A17-0BEE -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 20 17:50 7228443f-c71c-40a7-9c1f-04bc65044313 -> ../../sda6
lrwxrwxrwx 1 root root 10 Nov 20 17:50 9fedb8ed-b41d-41c6-b410-0752088d05fa -> ../../sda7
lrwxrwxrwx 1 root root 10 Nov 20 17:50 AE6CC2356CC1F7DB -> ../../sda4
lrwxrwxrwx 1 root root 10 Nov 20 17:50 bcf2e4ef-8288-44d6-aaee-9146f3f742e6 -> ../../sda5
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.7-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
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.87
ii grub-efi-amd64-bin 2.12-5
ii grub2-common 2.12-5
ii ucf 3.0043+nmu1
grub-efi-amd64 recommends no packages.
grub-efi-amd64 suggests no packages.
-- debconf information:
grub2/force_efi_extra_removable: false
* grub2/linux_cmdline_default: quiet
* grub2/enable_os_prober: true
grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline:
* grub2/gnumach_cmdline:
grub2/kfreebsd_cmdline:
grub2/update_nvram: true
More information about the Pkg-grub-devel
mailing list