Your message dated Wed, 18 Sep 2013 17:15:16 +0100 with message-id <[email protected]> and subject line Re: Bug#720513: grub-efi-amd64: EFI-boot broken after update has caused the Debian Bug report #720513, regarding grub-efi-amd64: EFI-boot broken after update to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 720513: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720513 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: grub-efi-amd64 Version: 2.00-17 Severity: grave Justification: renders package unusable i'm running on a Lenovo S205 laptop that has both both Debian and W7 installed. i'm booting via EFI. today i upgraded grub vom 2.00-15 to 2.00-17. after a reboot, grub stopped in 'rescue' mode. my grub skills are a bit rusty and no 'insmod' command worked, so i was basically locked out of the system. i therefore booted from a netinst-CD into 'rescue'-mode and ran: # grub-install --target=x86_64-efi --efi-directory=/boot/efi/ --boot-directory=/boot/efi/EFI/ --recheck rebooting the system know gives me a somewhat nicer grub-console, from which at least I can boot by running: # load_env # insmod all_video # terminal_output gfxterm # set root='hd0,gpt4' # linux /boot/vmlinuz-3.10-2-amd64 root=/dev/sda4 # initrd /boot/initrd.img-3.10-2-amd64 # boot obviously this is bit tedious to do each time you want to reboot the system. unfortunately i haven't been able to make grub automatically use /boot/grub/grub.cfg. obviously i tried running `update-grub2` (and did so multiple times), but while this creates/updates my /boot/grub/grub.cfg it doesn't make grub use the file. help appreciated, fmadrs IOhannes -- Package-specific info: *********************** BEGIN /proc/mounts /dev/sda4 / 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 } menuentry 'Debian GNU/Linux, with Linux 3.10-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.10-1-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-1-amd64 ...' linux /boot/vmlinuz-3.10-1-amd64 root=UUID=dbbada09-2df9-423f-8628-2fa5cf8e5c8c ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-3.10-1-amd64 } menuentry 'Debian GNU/Linux, with Linux 3.10-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.10-1-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-1-amd64 ...' linux /boot/vmlinuz-3.10-1-amd64 root=UUID=dbbada09-2df9-423f-8628-2fa5cf8e5c8c ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-3.10-1-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 22 21:43 ata-ST9500325AS_S2W0ED1G -> ../../sda lrwxrwxrwx 1 root root 10 Aug 22 21:43 ata-ST9500325AS_S2W0ED1G-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Aug 22 21:43 ata-ST9500325AS_S2W0ED1G-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Aug 22 21:43 ata-ST9500325AS_S2W0ED1G-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Aug 22 21:43 ata-ST9500325AS_S2W0ED1G-part4 -> ../../sda4 lrwxrwxrwx 1 root root 10 Aug 22 21:43 ata-ST9500325AS_S2W0ED1G-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Aug 22 21:43 ata-ST9500325AS_S2W0ED1G-part6 -> ../../sda6 lrwxrwxrwx 1 root root 10 Aug 22 21:43 ata-ST9500325AS_S2W0ED1G-part7 -> ../../sda7 lrwxrwxrwx 1 root root 10 Aug 22 21:43 ata-ST9500325AS_S2W0ED1G-part8 -> ../../sda8 lrwxrwxrwx 1 root root 9 Aug 22 21:43 scsi-SATA_ST9500325AS_S2W0ED1G -> ../../sda lrwxrwxrwx 1 root root 10 Aug 22 21:43 scsi-SATA_ST9500325AS_S2W0ED1G-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Aug 22 21:43 scsi-SATA_ST9500325AS_S2W0ED1G-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Aug 22 21:43 scsi-SATA_ST9500325AS_S2W0ED1G-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Aug 22 21:43 scsi-SATA_ST9500325AS_S2W0ED1G-part4 -> ../../sda4 lrwxrwxrwx 1 root root 10 Aug 22 21:43 scsi-SATA_ST9500325AS_S2W0ED1G-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Aug 22 21:43 scsi-SATA_ST9500325AS_S2W0ED1G-part6 -> ../../sda6 lrwxrwxrwx 1 root root 10 Aug 22 21:43 scsi-SATA_ST9500325AS_S2W0ED1G-part7 -> ../../sda7 lrwxrwxrwx 1 root root 10 Aug 22 21:43 scsi-SATA_ST9500325AS_S2W0ED1G-part8 -> ../../sda8 lrwxrwxrwx 1 root root 9 Aug 22 21:43 wwn-0x5000c5003dfbd63a -> ../../sda lrwxrwxrwx 1 root root 10 Aug 22 21:43 wwn-0x5000c5003dfbd63a-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Aug 22 21:43 wwn-0x5000c5003dfbd63a-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Aug 22 21:43 wwn-0x5000c5003dfbd63a-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Aug 22 21:43 wwn-0x5000c5003dfbd63a-part4 -> ../../sda4 lrwxrwxrwx 1 root root 10 Aug 22 21:43 wwn-0x5000c5003dfbd63a-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Aug 22 21:43 wwn-0x5000c5003dfbd63a-part6 -> ../../sda6 lrwxrwxrwx 1 root root 10 Aug 22 21:43 wwn-0x5000c5003dfbd63a-part7 -> ../../sda7 lrwxrwxrwx 1 root root 10 Aug 22 21:43 wwn-0x5000c5003dfbd63a-part8 -> ../../sda8 *********************** END /dev/disk/by-id *********************** BEGIN /dev/disk/by-uuid total 0 lrwxrwxrwx 1 root root 10 Aug 22 21:43 6b3b74df-0b48-4fe7-9a3c-27d567a44688 -> ../../sda5 lrwxrwxrwx 1 root root 10 Aug 22 21:43 A2C2-821A -> ../../sda1 lrwxrwxrwx 1 root root 10 Aug 22 21:43 F250CF7C50CF4657 -> ../../sda3 lrwxrwxrwx 1 root root 10 Aug 22 21:43 a7bfa2c1-bb5b-4332-9ef8-565337eb0df7 -> ../../sda7 lrwxrwxrwx 1 root root 10 Aug 22 21:43 d96580ea-466d-4a19-a869-fb36c9881e87 -> ../../sda6 lrwxrwxrwx 1 root root 10 Aug 22 21:43 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.50 ii grub-common 2.00-17 ii grub-efi-amd64-bin 2.00-17 ii grub2-common 2.00-17 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
--- End Message ---
--- Begin Message ---On Wed, Aug 28, 2013 at 02:21:19PM +0200, IOhannes m zmoelnig wrote: > 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. Hmm. Well, I didn't change anything relevant in GRUB, although I suppose it's possible that it's related to EFI variable problems, which indeed mostly reside elsewhere. I'm glad this is resolved for you now, and I'm closing this since it doesn't appear to be a regression from 2.00-15 to 2.00-17 as the original report suggested, although I suspect the EFI variable problems are going to run and run in a variety of bugs. Thanks, -- Colin Watson [[email protected]]
--- End Message ---

