[Bug 249320] UEFI boot fails without EFI variables set

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 14 15:55:03 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249320

            Bug ID: 249320
           Summary: UEFI boot fails without EFI variables set
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: emaste at freebsd.org

We previously installed boot1.efi as EFI/boot/bootx64.efi in the ESP (on
amd64), later changing to installing EFI/freebsd/loader.efi and setting EFI
variables to make that bootable. Although this change is correct, it introduces
some new boot failure cases.

I encountered this just now, after a failed laptop mainboard. After the tech
replaced the mainboard FreeBSD did not boot from the NVMe device as the EFI
variables did not make it to the nvram on the new board.

For greenfield ESP installations perhaps we can install loader.efi also as
EFI/boot/bootx64.efi, or install a startup.sh that loads
EFI/freebsd/loader.efi.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list