Skip to content

UEFI Boot Entries Deleted #53

Closed
Closed
@deepcube

Description

@deepcube

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:

  1. Register a boot entry with efibootmgr for a kernel (or other EFI executable) not in the default EFI path.
  2. Remove the drive with the given boot entry, or in the case of a SED press escape instead of entering the storage password.
  3. Boot and receive boot device not found message.
  4. Navigate to boot menu and note that the boot entry is not shown.
  5. Boot into Linux (easiest with a live USB at this point).
  6. 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions