Re: Updating EFI boot loader results in boot hangup

From: Warner Losh <imp_at_bsdimp.com>
Date: Sat, 13 Aug 2022 15:47:31 UTC
On Sat, Aug 13, 2022 at 9:37 AM Nuno Teixeira <eduardo@freebsd.org> wrote:

> Hi Larry,
>
> boot off a memstick?
>>
> Yes, that's it.
> With it we can mount efi partition and use bkp efi file by renaming it.
>

Yup.


> I forgot that efi boot is restricted to use bootx64.efi (amd64) and my
> though was looking for a command to load bootx64.efi.old avoiding use of a
> memstick (e.g.).
>
I've tested it, and from now on I will update efi boot more often along
> with current tracking.
>

Kinda. You can create a new UEFI (not ZFS) boot environment that uses
something else. In addition, if you are fortunate enough to have EFI SHELL
in your BIOS and/or in your ESP, you can run any XXX.efi program in the
ESP, or any DOS partition...

I have a known good loader.efi that I use a special BootXXXX variable so
that if I AFU my loader.efi in testing, it's easier to get back online,
though I also have shell.efi that I downloaded from the edk2 folks that
also helps me fix things... But I know I'm a bit of a special case....

Warmer