When will the FreeBSD (u)EFI work?

Simon J. Gerraty sjg at juniper.net
Mon Mar 30 02:54:03 UTC 2020

Rebecca Cran <rebecca at bsdio.com> wrote:
> That's another thing: we should be installing loader.efi as
> \efi\boot\bootx64.efi (as well as \boot\freebsd\loader.efi) since it's
> entirely possible to lose the Boot Manager entry and end up with an
> unbootable system as a result. Unfortunately people have had bad
> experiences with other operating systems overwriting bootx64.efi and
> don't believe we should do that.

FWIW I use loader.efi from head, installed as /efi/boot/bootx64.efi
and it works just fine, by simply defining PATH_BOOTABLE_TOKEN to
something that marks our (junos) bootable filesystems, no other change
is needed.

>From secure boot point of view, that's perfect.
bootx64.efi has to be signed specially for the BIOS, and it verifies
everything else, so the same ESP content "just works" with

More information about the freebsd-current mailing list