Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2022 09:47:31 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        Larry Rosenman <ler@lerctr.org>, Yasuhiro Kimura <yasu@freebsd.org>,  FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: Updating EFI boot loader results in boot hangup
Message-ID:  <CANCZdfo9u1uQypUidgQXgYmtBO%2B6=6bdx5TiMeK2Av8=pCX=Mw@mail.gmail.com>
In-Reply-To: <CAFDf7U%2Bs_nLij2vjP95vOTozPuxDeZ2tBsFP8a1bN_KePLOewg@mail.gmail.com>
References:  <20220813.015426.809710797578801280.yasu@FreeBSD.org> <CAFDf7ULYcHfmw4VNroe%2BOECAFo2L4BP3aEtBJwXNcBArYGMq_g@mail.gmail.com> <20220813.024435.741655799390389695.yasu@FreeBSD.org> <CAFDf7UJ2OU4rwhaYD9N%2B9Nx%2BsygG5Y-j9RfZpTNDiVKVNnFhFA@mail.gmail.com> <f26fa4d967472ead2967178226e96d8d@lerctr.org> <CAFDf7UKOQO22MkEeFm_Hms6NYn3mxxo=O0mbxAc1-Z%2Bi7UWMaA@mail.gmail.com> <78c22181179d9c7f9fcea829002095eb@lerctr.org> <CAFDf7U%2Bs_nLij2vjP95vOTozPuxDeZ2tBsFP8a1bN_KePLOewg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 13, 2022 at 9:37 AM Nuno Teixeira &lt;<a href="mailto:eduardo@freebsd.org">eduardo@freebsd.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Larry,</div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Arial,Helvetica,sans-serif">
<p>boot off a memstick?</p></div></blockquote><div>Yes, that&#39;s it.<br></div><div>With it we can mount efi partition and use bkp efi file by renaming it.</div></div></div></blockquote><div><br></div><div>Yup.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>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.).</div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>I&#39;ve tested it, and from now on I will update efi boot more often along with current tracking.<br></div></div></div></blockquote><div><br></div><div>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...</div><div><br></div><div>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&#39;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&#39;m a bit of a special case....</div><div> </div><div>Warmer</div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfo9u1uQypUidgQXgYmtBO%2B6=6bdx5TiMeK2Av8=pCX=Mw>