Bug#756253: Upgrade from 2.02~beta2-10 to 2.02~beta2-11 left grub unbootable

Ibirisol ibirisol at dcc.ufba.br
Thu Oct 30 00:19:26 UTC 2014


Hi there,

I have the same problem here. I'm using rEFInd to boot.

---
# dpkg -l efibootmgr
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nome              Versão        Arquitectura  Descrição
+++-=================-=============-=============-========================================
ii  efibootmgr        0.9.0-2       amd64         Interact with the EFI
Boot Manager

# sudo efibootmgr
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,2002,2003
Boot0000* USB HDD: SMI     USB DISK
Boot0005* KINGSTON ...
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network

# find /boot/efi -ls
     1    4 drwxr-xr-x   3 root     root         4096 Dez 31  1969 /boot/efi
   114    4 drwxr-xr-x   3 root     root         4096 Out 29 20:54
/boot/efi/EFI
   116    4 drwxr-xr-x   2 root     root         4096 Jun  2 19:33
/boot/efi/EFI/debian
   118  156 -rwxr-xr-x   1 root     root       158208 Out 29 17:57
/boot/efi/EFI/debian/grubx64.efi
---

I tried Hillel Lubman approach and the grub work again, but when i try
only efibootmgr to add Debian entry in EFI this not work and the
following erro appear.

---
# efibootmgr -c -l "\\EFI\\debian\\grubx64.efi" -L "Debian" -v
Alternate GPT is invalid, using primary GPT.
Alternate GPT is invalid, using primary GPT.

Could not prepare boot variable: No such file or directory
---

In attachment follow the strace output for the above command.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: efibootmgr.log
Type: text/x-log
Size: 12102 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20141029/0200bd85/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20141029/0200bd85/attachment.sig>


More information about the Pkg-grub-devel mailing list