Bug#1056764: grub-efi-amd64: can't boot with GRUB 2.12~rc1-12
Matt Marjanovic
maddog at mir.com
Wed Feb 21 06:28:08 GMT 2024
Package: grub-efi-amd64
Version: 2.12-1
Followup-For: Bug #1056764
X-Debbugs-Cc: maddog at mir.com
Dear Maintainer,
FYI, I experienced a pretty similar problem today: failure to boot after
upgrading to 2.12-1.
Machine: Lenovo Thinkpad T460p
BIOS: 2.36 (initially)
UEFI boot (without SecureBoot enabled)
Upon reboot, after showing the Lenovo splash screen, the system would just
drop into the BIOS setup screen. My eventual workaround was to boot into
rescue-mode via a Debian 12.5 installer on a USB flashdrive and reinstall
the older grub (bookworm's 2.06-etc) from that.
I did upgrade the BIOS after that (from 2.36 -> 2.37, via fwupdmgr), but
I do not remember if I tried grub 2.12-1 again after that. (By then, I was
just wanting to get some work done.)
-mm
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/mentos--vg-root / ext4 rw,relatime,errors=remount-ro 0 0
/dev/sda4 /boot ext2 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
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
else
search --no-floppy --fs-uuid --set=root 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
fi
font="/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
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_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
else
search --no-floppy --fs-uuid --set=root 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
fi
insmod png
if background_image /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-19f8d973-adaa-4fa2-8fb4-74ac2cc923f9' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
else
search --no-floppy --fs-uuid --set=root 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
fi
echo 'Loading Linux 6.6.15-amd64 ...'
linux /vmlinuz-6.6.15-amd64 root=/dev/mapper/mentos--vg-root ro quiet rd.driver.blacklist=nouveau nouveau.modeset=0 modprobe.blacklist=nouveau no_console_suspend modprobe.blacklist=mei_wdt rd.driver.blacklist=mei_wdt acpi_osi=Linux
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.6.15-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-19f8d973-adaa-4fa2-8fb4-74ac2cc923f9' {
menuentry 'Debian GNU/Linux, with Linux 6.6.15-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.15-amd64-advanced-19f8d973-adaa-4fa2-8fb4-74ac2cc923f9' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
else
search --no-floppy --fs-uuid --set=root 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
fi
echo 'Loading Linux 6.6.15-amd64 ...'
linux /vmlinuz-6.6.15-amd64 root=/dev/mapper/mentos--vg-root ro quiet rd.driver.blacklist=nouveau nouveau.modeset=0 modprobe.blacklist=nouveau no_console_suspend modprobe.blacklist=mei_wdt rd.driver.blacklist=mei_wdt acpi_osi=Linux
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.6.15-amd64
}
menuentry 'Debian GNU/Linux, with Linux 6.6.15-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.15-amd64-recovery-19f8d973-adaa-4fa2-8fb4-74ac2cc923f9' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
else
search --no-floppy --fs-uuid --set=root 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
fi
echo 'Loading Linux 6.6.15-amd64 ...'
linux /vmlinuz-6.6.15-amd64 root=/dev/mapper/mentos--vg-root ro single single dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.6.15-amd64
}
menuentry 'Debian GNU/Linux, with Linux 6.5.0-5-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-5-amd64-advanced-19f8d973-adaa-4fa2-8fb4-74ac2cc923f9' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
else
search --no-floppy --fs-uuid --set=root 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
fi
echo 'Loading Linux 6.5.0-5-amd64 ...'
linux /vmlinuz-6.5.0-5-amd64 root=/dev/mapper/mentos--vg-root ro quiet rd.driver.blacklist=nouveau nouveau.modeset=0 modprobe.blacklist=nouveau no_console_suspend modprobe.blacklist=mei_wdt rd.driver.blacklist=mei_wdt acpi_osi=Linux
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.5.0-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 6.5.0-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-5-amd64-recovery-19f8d973-adaa-4fa2-8fb4-74ac2cc923f9' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
else
search --no-floppy --fs-uuid --set=root 6c2d2f8f-084d-4291-927b-8a0a77ffa9ba
fi
echo 'Loading Linux 6.5.0-5-amd64 ...'
linux /vmlinuz-6.5.0-5-amd64 root=/dev/mapper/mentos--vg-root ro single single dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /initrd.img-6.5.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/25_bli ###
if [ "$grub_platform" = "efi" ]; then
insmod bli
fi
### END /etc/grub.d/25_bli ###
### BEGIN /etc/grub.d/30_os-prober ###
### 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
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>
*********************** END /proc/mdstat
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.6.15-amd64 (SMP w/8 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-efi-amd64 depends on:
ii debconf [debconf-2.0] 1.5.86
ii grub-efi-amd64-bin 2.12-1
ii grub2-common 2.12-1
ii ucf 3.0043+nmu1
grub-efi-amd64 recommends no packages.
grub-efi-amd64 suggests no packages.
-- debconf information:
grub2/enable_os_prober: false
grub2/kfreebsd_cmdline_default: quiet
grub2/kfreebsd_cmdline:
* grub2/force_efi_extra_removable: false
* grub2/update_nvram: false
* grub2/linux_cmdline:
* grub2/linux_cmdline_default: quiet rd.driver.blacklist=nouveau nouveau.modeset=0 modprobe.blacklist=nouveau no_console_suspend modprobe.blacklist=mei_wdt rd.driver.blacklist=mei_wdt acpi_osi=Linux
grub2/device_map_regenerated:
More information about the Pkg-grub-devel
mailing list