Bug#1013797: grub-efi: grub no longer offers to boot Windows
Ralf Jung
post at ralfj.de
Sat Jun 25 19:04:15 BST 2022
Package: grub-efi
Version: 2.06-3
Severity: important
Dear Maintainer,
After doing a system update, the option to boot Windows has disappeared from Grub.
I have not changed anything else.
This will be a big problem the next time I actually need to boot Windows.
Kind regards,
Ralf
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/vg-root / ext4 rw,relatime,errors=remount-ro 0 0
/dev/sda2 /boot ext4 rw,relatime 0 0
/dev/mapper/vg-home /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
/dev/mapper/store /mnt/store ext4 rw,relatime 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="2"
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='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2af046c2-1c1f-43ca-9692-7ea1d357493b
else
search --no-floppy --fs-uuid --set=root 2af046c2-1c1f-43ca-9692-7ea1d357493b
fi
font="/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1920x1080,1024x768,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=3
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=3
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2af046c2-1c1f-43ca-9692-7ea1d357493b
else
search --no-floppy --fs-uuid --set=root 2af046c2-1c1f-43ca-9692-7ea1d357493b
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=keep
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8f0db0a1-2c26-4b6c-a132-e8292709197e' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2af046c2-1c1f-43ca-9692-7ea1d357493b
else
search --no-floppy --fs-uuid --set=root 2af046c2-1c1f-43ca-9692-7ea1d357493b
fi
echo 'Loading Linux 5.18.0-2-amd64 ...'
linux /vmlinuz-5.18.0-2-amd64 root=/dev/mapper/vg-root ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.18.0-2-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-8f0db0a1-2c26-4b6c-a132-e8292709197e' {
menuentry 'Debian GNU/Linux, with Linux 5.18.0-2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.18.0-2-amd64-advanced-8f0db0a1-2c26-4b6c-a132-e8292709197e' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2af046c2-1c1f-43ca-9692-7ea1d357493b
else
search --no-floppy --fs-uuid --set=root 2af046c2-1c1f-43ca-9692-7ea1d357493b
fi
echo 'Loading Linux 5.18.0-2-amd64 ...'
linux /vmlinuz-5.18.0-2-amd64 root=/dev/mapper/vg-root ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.18.0-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 5.18.0-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.18.0-2-amd64-recovery-8f0db0a1-2c26-4b6c-a132-e8292709197e' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2af046c2-1c1f-43ca-9692-7ea1d357493b
else
search --no-floppy --fs-uuid --set=root 2af046c2-1c1f-43ca-9692-7ea1d357493b
fi
echo 'Loading Linux 5.18.0-2-amd64 ...'
linux /vmlinuz-5.18.0-2-amd64 root=/dev/mapper/vg-root ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.18.0-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 5.17.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.17.0-1-amd64-advanced-8f0db0a1-2c26-4b6c-a132-e8292709197e' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2af046c2-1c1f-43ca-9692-7ea1d357493b
else
search --no-floppy --fs-uuid --set=root 2af046c2-1c1f-43ca-9692-7ea1d357493b
fi
echo 'Loading Linux 5.17.0-1-amd64 ...'
linux /vmlinuz-5.17.0-1-amd64 root=/dev/mapper/vg-root ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.17.0-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 5.17.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.17.0-1-amd64-recovery-8f0db0a1-2c26-4b6c-a132-e8292709197e' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2af046c2-1c1f-43ca-9692-7ea1d357493b
else
search --no-floppy --fs-uuid --set=root 2af046c2-1c1f-43ca-9692-7ea1d357493b
fi
echo 'Loading Linux 5.17.0-1-amd64 ...'
linux /vmlinuz-5.17.0-1-amd64 root=/dev/mapper/vg-root ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.17.0-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 5.16.0-5-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.16.0-5-amd64-advanced-8f0db0a1-2c26-4b6c-a132-e8292709197e' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2af046c2-1c1f-43ca-9692-7ea1d357493b
else
search --no-floppy --fs-uuid --set=root 2af046c2-1c1f-43ca-9692-7ea1d357493b
fi
echo 'Loading Linux 5.16.0-5-amd64 ...'
linux /vmlinuz-5.16.0-5-amd64 root=/dev/mapper/vg-root ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.16.0-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 5.16.0-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.16.0-5-amd64-recovery-8f0db0a1-2c26-4b6c-a132-e8292709197e' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2af046c2-1c1f-43ca-9692-7ea1d357493b
else
search --no-floppy --fs-uuid --set=root 2af046c2-1c1f-43ca-9692-7ea1d357493b
fi
echo 'Loading Linux 5.16.0-5-amd64 ...'
linux /vmlinuz-5.16.0-5-amd64 root=/dev/mapper/vg-root ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.16.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 ###
### BEGIN /etc/grub.d/42_grml ###
menuentry "Grml Rescue System (grml64-small_2017.05.iso)" {
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2af046c2-1c1f-43ca-9692-7ea1d357493b
else
search --no-floppy --fs-uuid --set=root 2af046c2-1c1f-43ca-9692-7ea1d357493b
fi
iso_path="/grml/grml64-small_2017.05.iso"
export iso_path
kernelopts=" "
export kernelopts
# support booting recent GRUB versions on UEFI systems
rmmod tpm
loopback loop "/grml/grml64-small_2017.05.iso"
set root=(loop)
configfile /boot/grub/loopback.cfg
}
### END /etc/grub.d/42_grml ###
*********************** END /boot/grub/grub.cfg
*********************** BEGIN /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>
*********************** END /proc/mdstat
*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Jun 25 14:00 ata-TOSHIBA_THNSNJ512GDNU_261S1022TC0W -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 25 14:00 ata-TOSHIBA_THNSNJ512GDNU_261S1022TC0W-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 25 14:00 ata-TOSHIBA_THNSNJ512GDNU_261S1022TC0W-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 25 14:00 ata-TOSHIBA_THNSNJ512GDNU_261S1022TC0W-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 25 14:00 ata-TOSHIBA_THNSNJ512GDNU_261S1022TC0W-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 25 14:00 ata-TOSHIBA_THNSNJ512GDNU_261S1022TC0W-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jun 25 14:00 ata-TOSHIBA_THNSNJ512GDNU_261S1022TC0W-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 Jun 25 14:00 ata-WDC_WD10SPZX-00Z10T0_WD-WX21E370JZH3 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun 25 14:00 ata-WDC_WD10SPZX-00Z10T0_WD-WX21E370JZH3-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jun 25 14:00 ata-WDC_WD10SPZX-00Z10T0_WD-WX21E370JZH3-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jun 25 14:00 dm-name-cryptpv -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jun 25 14:00 dm-name-store -> ../../dm-4
lrwxrwxrwx 1 root root 10 Jun 25 14:00 dm-name-vg-home -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jun 25 14:00 dm-name-vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jun 25 14:00 dm-name-vg-swap -> ../../dm-3
lrwxrwxrwx 1 root root 10 Jun 25 14:00 dm-uuid-CRYPT-LUKS1-0f80e5bacd7546b189a598af15cccacd-store -> ../../dm-4
lrwxrwxrwx 1 root root 10 Jun 25 14:00 dm-uuid-CRYPT-LUKS1-6852c4ca62a14eb09c68986588d30d27-cryptpv -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jun 25 14:00 dm-uuid-LVM-dJmrx8reRz83C3i4LMTLVwczBRgaVE68ZKcr5sChA5geUFkOmNeKHYU2MbX2tnOT -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jun 25 14:00 dm-uuid-LVM-dJmrx8reRz83C3i4LMTLVwczBRgaVE68cYTiDhXB0Afb75jS8R8zJhhGDTseQ19M -> ../../dm-3
lrwxrwxrwx 1 root root 10 Jun 25 14:00 dm-uuid-LVM-dJmrx8reRz83C3i4LMTLVwczBRgaVE68q8KkLlFfPFKh6sWTxxU0UEiA4Dbnx1Qh -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jun 25 14:00 lvm-pv-uuid-bPkWur-dh0W-Lzys-vxTp-z1x3-51MN-iDFgvH -> ../../dm-0
lrwxrwxrwx 1 root root 9 Jun 25 14:00 wwn-0x500080d9104cb864 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 25 14:00 wwn-0x500080d9104cb864-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 25 14:00 wwn-0x500080d9104cb864-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 25 14:00 wwn-0x500080d9104cb864-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 25 14:00 wwn-0x500080d9104cb864-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 25 14:00 wwn-0x500080d9104cb864-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jun 25 14:00 wwn-0x500080d9104cb864-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 Jun 25 14:00 wwn-0x50014ee6b253f2dc -> ../../sdb
lrwxrwxrwx 1 root root 10 Jun 25 14:00 wwn-0x50014ee6b253f2dc-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jun 25 14:00 wwn-0x50014ee6b253f2dc-part2 -> ../../sdb2
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Jun 25 14:00 081bbfe3-fb60-43c7-9e93-3d84ff09e26f -> ../../dm-4
lrwxrwxrwx 1 root root 10 Jun 25 14:00 0f80e5ba-cd75-46b1-89a5-98af15cccacd -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jun 25 14:00 1447-754F -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 25 14:00 2af046c2-1c1f-43ca-9692-7ea1d357493b -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 25 14:00 42A464DCA464D3C7 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jun 25 14:00 55b2d4e6-2982-4938-9d16-36934d9e7185 -> ../../dm-3
lrwxrwxrwx 1 root root 10 Jun 25 14:00 6826DA6626DA34B2 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jun 25 14:00 6852c4ca-62a1-4eb0-9c68-986588d30d27 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 25 14:00 8f0db0a1-2c26-4b6c-a132-e8292709197e -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jun 25 14:00 CEE8B043E8B02C19 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Jun 25 14:00 d25409cb-8d1f-45ed-b4e0-3ad11be309fb -> ../../dm-2
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.18.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages grub-efi depends on:
ii grub-common 2.06-3
ii grub-efi-amd64 2.06-3
grub-efi recommends no packages.
grub-efi suggests no packages.
-- no debconf information
More information about the Pkg-grub-devel
mailing list