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>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000ada38a05e621512c Content-Type: text/plain; charset="UTF-8" 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 --000000000000ada38a05e621512c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Sat, Aug 13, 2022 at 9:37 AM Nuno = Teixeira <<a href=3D"mailto:eduardo@freebsd.org">eduardo@freebsd.org</a>= > wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div= dir=3D"ltr"><div>Hi Larry,</div><div><br></div><div class=3D"gmail_quote">= <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"><div style=3D"font-size:1= 0pt;font-family:Arial,Helvetica,sans-serif"> <p>boot off a memstick?</p></div></blockquote><div>Yes, that's it.<br><= /div><div>With it we can mount efi partition and use bkp efi file by renami= ng it.</div></div></div></blockquote><div><br></div><div>Yup.</div><div>=C2= =A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e= x;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"= ><div class=3D"gmail_quote"><div>I forgot that efi boot is restricted to us= e bootx64.efi (amd64) and my though was looking for a command to load bootx= 64.efi.old avoiding use of a memstick (e.g.).</div></div></div></blockquote= ><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border= -left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div cl= ass=3D"gmail_quote"><div>I've tested it, and from now on I will update = efi boot more often along with current tracking.<br></div></div></div></blo= ckquote><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 en= ough 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 tha= t if I AFU my loader.efi in testing, it's easier to get back online, th= ough 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....</div>= <div>=C2=A0</div><div>Warmer</div></div></div> --000000000000ada38a05e621512c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfo9u1uQypUidgQXgYmtBO%2B6=6bdx5TiMeK2Av8=pCX=Mw>