Bug#756253: This upgrade removes the entry set by efibootmgr before

Hillel Lubman shtetldik at gmail.com
Sun Oct 19 06:04:21 UTC 2014


Hi.

I was also affected by this bug with recent Debian testing update.

Before the upgrade I had these files created:

/boot/efi/EFI/debian/grubx64.efi
/boot/efi/EFI/boot/bootx64.efi

bootx64.efi was the identical copy of grubx64.efi which I made manually to allow booting the system before creating the entry for Debian with  efibootmgr. Then I made the entry with efibootmgr and actual boot was happening with /boot/efi/EFI/debian/grubx64.efi.

After this upgrade, /boot/efi/EFI/debian/grubx64.efi was updated, and /boot/efi/EFI/boot/bootx64.efi naturally remained the older one. However the entry for Debian was removed from EFI somehow (that's the actual bug), so at boot it tried to load the default (outdated) /boot/efi/EFI/boot/bootx64.efi and obviously failed. To fix it, I accessed the HDD using another system and simply copied new /boot/efi/EFI/debian/grubx64.efi to /boot/efi/EFI/boot/bootx64.efi. That allowed it to boot. Then I could restore the Debian entry with running:

sudo efibootmgr -c -l "\\EFI\\debian\\grubx64.efi" -L "Debian"

So, to summarize, something went wrong during the package upgrade, that wiped the Debian entry from EFI memory.

Regards,

Hillel Lubman.



More information about the Pkg-grub-devel mailing list