Re: bootx64.efi; and loader.efi in the FreeBSD reserved area (was: Updating EFI boot loader results in boot hangup)

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 15 Aug 2022 19:46:18 UTC
On Sun, Aug 14, 2022 at 7:52 AM Graham Perrin <grahamperrin@freebsd.org>
wrote:

> On 12/08/2022 17:54, Yasuhiro Kimura wrote:
>
> … amd64 … (/boot/efi/efi/freebsd/loader.efi) …
>
> Side note: please, why the FreeBSD reserved area?
>

When you create a boot variable using efibootmgr, it's better to specify
something that's not the default
binary. It's what Windows, Linux, etc do when they are installed and it
facilitates better multiboot when
the target OSes depend on the first stage efi boot loader (like FreeBSD and
Windows certainly do).

Warner

>
> I'm more familiar with /efi/boot/bootx64.efi for amd64.
>
> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255318#c11>
> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255318#c11>
>