You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
efibootmgr writes boot entries to BIOS variables, but this behavior depends on the BIOS's boot entry handling. We will examine the code design to determine if this is a bug or expected behavior.
After reviewed and confirmed the behavior. This is expected system behavior. On each boot, the BIOS verifies boot entries and automatically removes those associated with unavailable devices, such as a disconnected USB drive or a locked drive.
I find that unfortunate for my use case and counter to other UEFI implementations I have used. That being said, I do understand that this is working as you intend. Thank you for looking into it.
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 withefibootmgr
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:
efibootmgr
for a kernel (or other EFI executable) not in the default EFI path.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):
Additional context
Forum thread: https://community.frame.work/t/uefi-boot-entries-deleted/66169/3
The text was updated successfully, but these errors were encountered: