Bug#720513: grub-efi-amd64: EFI-boot broken after update
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Aug 28 12:21:19 UTC 2013
Package: grub-efi-amd64
Followup-For: Bug #720513
Dear Maintainer,
seems my problem somehow got solved, though i'm sure that i don't know why and
how.
yesterday i noticed that there are new grub-efi packages (2.00-18) so i
installed them.
before rebooting i checked `efibootmgr` and lo-and-behold! the "debian" entry
was gone.
i figured that this would make my system totally unbootable, so for the time
being i was relying on suspend-to-ram and did not reboot.
since the boot loader was broken anyhow, i tried downgrading to 2.00-14, but
this didn't resurrect the "debian" EFI-entry either.
i figure that this is a problem with EFI (and the kernel) rather than grub,
something like the dreaded EFI out-of-memory problem that prevents adding new
EFI entries.
in any case, in `dmesg` i saw a couple of the following line:
> efivars: set_variable() failed: status=-28
today i equipped myself with a 7.1.0 netinst CD and rebooted the system.
not surprisingly, there was no trace of "debian" (nor "grub") entry, so i booted
into the CD's rescue mode.
in the chroot shell, i reinstalled the 2.00-18 (remember i recently downgraded
to 2.00-14) version of the following packages:
grub-common, grub-efi-amd64-bin, grub-efi-amd64, grub-efi, grub2-common
running `efibootmgr` confirmed, that i had a "debian" entry again.
rebooting the system finally gave me a working stage2 within grub, and i am able
to normally boot my system again.
if this was related to the 2.00-18 upgrade or not i cannot say, but in any case:
thanks for your great work.
mfgtre
IOhannes
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/dbbada09-2df9-423f-8628-2fa5cf8e5c8c / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0
/dev/sda6 /home ext4 rw,relatime,data=ordered 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
load_env
fi
set default="0"
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 dbbada09-2df9-423f-8628-2fa5cf8e5c8c
else
search --no-floppy --fs-uuid --set=root dbbada09-2df9-423f-8628-2fa5cf8e5c8c
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=
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### 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 dbbada09-2df9-423f-8628-2fa5cf8e5c8c
else
search --no-floppy --fs-uuid --set=root dbbada09-2df9-423f-8628-2fa5cf8e5c8c
fi
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.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 ###
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-dbbada09-2df9-423f-8628-2fa5cf8e5c8c' {
load_video
insmod gzio
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 dbbada09-2df9-423f-8628-2fa5cf8e5c8c
else
search --no-floppy --fs-uuid --set=root dbbada09-2df9-423f-8628-2fa5cf8e5c8c
fi
echo 'Loading Linux 3.10-2-amd64 ...'
linux /boot/vmlinuz-3.10-2-amd64 root=UUID=dbbada09-2df9-423f-8628-2fa5cf8e5c8c ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.10-2-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-dbbada09-2df9-423f-8628-2fa5cf8e5c8c' {
menuentry 'Debian GNU/Linux, with Linux 3.10-2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.10-2-amd64-advanced-dbbada09-2df9-423f-8628-2fa5cf8e5c8c' {
load_video
insmod gzio
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 dbbada09-2df9-423f-8628-2fa5cf8e5c8c
else
search --no-floppy --fs-uuid --set=root dbbada09-2df9-423f-8628-2fa5cf8e5c8c
fi
echo 'Loading Linux 3.10-2-amd64 ...'
linux /boot/vmlinuz-3.10-2-amd64 root=UUID=dbbada09-2df9-423f-8628-2fa5cf8e5c8c ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.10-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.10-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.10-2-amd64-recovery-dbbada09-2df9-423f-8628-2fa5cf8e5c8c' {
load_video
insmod gzio
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 dbbada09-2df9-423f-8628-2fa5cf8e5c8c
else
search --no-floppy --fs-uuid --set=root dbbada09-2df9-423f-8628-2fa5cf8e5c8c
fi
echo 'Loading Linux 3.10-2-amd64 ...'
linux /boot/vmlinuz-3.10-2-amd64 root=UUID=dbbada09-2df9-423f-8628-2fa5cf8e5c8c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.10-2-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 Boot Manager (UEFI on /dev/sda1)" --class windows --class os {
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 A2C2-821A
else
search --no-floppy --fs-uuid --set=root A2C2-821A
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### 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/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 Aug 28 13:56 ata-ST9500325AS_S2W0ED1G -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 28 13:56 ata-ST9500325AS_S2W0ED1G-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 28 13:56 ata-ST9500325AS_S2W0ED1G-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 28 13:56 ata-ST9500325AS_S2W0ED1G-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 28 13:56 ata-ST9500325AS_S2W0ED1G-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Aug 28 13:56 ata-ST9500325AS_S2W0ED1G-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Aug 28 13:56 ata-ST9500325AS_S2W0ED1G-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Aug 28 13:56 ata-ST9500325AS_S2W0ED1G-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Aug 28 13:56 ata-ST9500325AS_S2W0ED1G-part8 -> ../../sda8
lrwxrwxrwx 1 root root 9 Aug 28 13:56 scsi-SATA_ST9500325AS_S2W0ED1G -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 28 13:56 scsi-SATA_ST9500325AS_S2W0ED1G-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 28 13:56 scsi-SATA_ST9500325AS_S2W0ED1G-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 28 13:56 scsi-SATA_ST9500325AS_S2W0ED1G-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 28 13:56 scsi-SATA_ST9500325AS_S2W0ED1G-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Aug 28 13:56 scsi-SATA_ST9500325AS_S2W0ED1G-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Aug 28 13:56 scsi-SATA_ST9500325AS_S2W0ED1G-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Aug 28 13:56 scsi-SATA_ST9500325AS_S2W0ED1G-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Aug 28 13:56 scsi-SATA_ST9500325AS_S2W0ED1G-part8 -> ../../sda8
lrwxrwxrwx 1 root root 9 Aug 28 13:56 wwn-0x5000c5003dfbd63a -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 28 13:56 wwn-0x5000c5003dfbd63a-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 28 13:56 wwn-0x5000c5003dfbd63a-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 28 13:56 wwn-0x5000c5003dfbd63a-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 28 13:56 wwn-0x5000c5003dfbd63a-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Aug 28 13:56 wwn-0x5000c5003dfbd63a-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Aug 28 13:56 wwn-0x5000c5003dfbd63a-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Aug 28 13:56 wwn-0x5000c5003dfbd63a-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Aug 28 13:56 wwn-0x5000c5003dfbd63a-part8 -> ../../sda8
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Aug 28 13:56 6b3b74df-0b48-4fe7-9a3c-27d567a44688 -> ../../sda5
lrwxrwxrwx 1 root root 10 Aug 28 13:56 A2C2-821A -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 28 13:56 F250CF7C50CF4657 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 28 13:56 a7bfa2c1-bb5b-4332-9ef8-565337eb0df7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Aug 28 13:56 d96580ea-466d-4a19-a869-fb36c9881e87 -> ../../sda6
lrwxrwxrwx 1 root root 10 Aug 28 13:56 dbbada09-2df9-423f-8628-2fa5cf8e5c8c -> ../../sda4
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.10-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-efi-amd64 depends on:
ii debconf [debconf-2.0] 1.5.51
ii grub-common 2.00-18
ii grub-efi-amd64-bin 2.00-18
ii grub2-common 2.00-18
ii ucf 3.0027+nmu1
grub-efi-amd64 recommends no packages.
grub-efi-amd64 suggests no packages.
-- debconf information:
grub2/kfreebsd_cmdline:
grub2/device_map_regenerated:
* grub2/linux_cmdline:
grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet
More information about the Pkg-grub-devel
mailing list