Description
Device Information
System Model or SKU
Framework Laptop 13 (AMD Ryzen™ 7040 Series)
BIOS VERSION
3.05
Describe the bug
When a given UEFI boot entry does not exist on boot, the entry is deleted. In my case this happens because I use a storage password, and if I hit escape instead of entering the password then the disk is not decrypted and the custome UEFI entries added using efibootmgr
are deleted and are no longer available on next boot when I do decrypt the drive. I have also shown this behavior with a USB drive, registering a boot entry with efibootmgr
which is then deleted when I boot without the drive plugged in.
Note that these are entries for kernels with EFI stub support, not for a bootloader. I have confirmed that an EFI executable in a default path (e.g. \EFI\BOOT\BOOTX64.EFI
) will be found by the BIOS even if other boot entries for the drive have been deleted.
Steps To Reproduce
Steps to reproduce the behavior:
- Register a boot entry with
efibootmgr
for a kernel (or other EFI executable) not in the default EFI path. - Remove the drive with the given boot entry, or in the case of a SED press escape instead of entering the storage password.
- Boot and receive boot device not found message.
- Navigate to boot menu and note that the boot entry is not shown.
- Boot into Linux (easiest with a live USB at this point).
- Run
efibootmgr
to list boot entries and note that the previously added entry is gone.
Expected behavior
UEFI boot entries remain until manually deleted.
Operating System (please complete the following information):
- OS/Distribution: Void Linux
- Linux Kernel Version: 6.13.7
Additional context
Forum thread: https://community.frame.work/t/uefi-boot-entries-deleted/66169/3