Date: Fri, 12 Aug 2022 15:26:08 -0500 From: Larry Rosenman <ler@lerctr.org> To: Nuno Teixeira <eduardo@freebsd.org> Cc: Yasuhiro Kimura <yasu@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: Updating EFI boot loader results in boot hangup Message-ID: <78c22181179d9c7f9fcea829002095eb@lerctr.org> In-Reply-To: <CAFDf7UKOQO22MkEeFm_Hms6NYn3mxxo=O0mbxAc1-Z%2Bi7UWMaA@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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=_90ff7f40576326d8e776db908fd72d51 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed boot off a memstick? On 08/12/2022 3:25 pm, Nuno Teixeira wrote: > The problem is if boot is failing, how to mount and rename it? > > I'm looking for a way, if possible, to boot directly bkp boot64x in > case of failure. > I was hoping to find it in loader(8) or uefi(8)... > > Larry Rosenman <ler@lerctr.org> escreveu no dia sexta, 12/08/2022 à(s) > 21:09: > > I would assume just rename the bootx64.old to bootx64.efi > > and/or put it in a different directory that EFI can see > > On 08/12/2022 3:03 pm, Nuno Teixeira wrote: > > I'm searching without success to load a bkp loader in case of boot > failure. > > Upgrade process willl be like: > --- > mount -t msdosfs /dev/nvd0p1 /mnt > cp /mnt/efi/boot/bootx64.efi /mnt/efi/boot/bootx64.old > cp /boot/loader.efi /mnt/efi/boot/bootx64.efi > --- > > I can't find the right docs to load bootx64.old. > Could you tell me what you did to solve your boot? > > Thanks > > Yasuhiro Kimura <yasu@freebsd.org> escreveu no dia sexta, 12/08/2022 > à(s) 18:45: From: Nuno Teixeira <eduardo@freebsd.org> > Subject: Re: Updating EFI boot loader results in boot hangup > Date: Fri, 12 Aug 2022 18:26:11 +0100 > >> Hello Yasu, >> >> Does it needes to update boot loader everytime that we upgrade >> current? > > No, you need not. > >> The only time that I updated was a month ago because of zfs upgrade >> and I need to practice how to boot >> loader bkp file :) > > I update boot loader everytime because I'd like to do it :-). > And sometimes problem hits upon me like this time and I contribute to > debugging base system :-):-). > > --- > Yasuhiro Kimura > > -- > > Nuno Teixeira > FreeBSD Committer (ports) -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 -- Nuno Teixeira FreeBSD Committer (ports) -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 --=_90ff7f40576326d8e776db908fd72d51 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Arial,Helve= tica,sans-serif'> <p>boot off a memstick?</p> <p><br /></p> <p id=3D"reply-intro">On 08/12/2022 3:25 pm, Nuno Teixeira wrote:</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"> <div id=3D"replybody1"> <div dir=3D"ltr"> <div>The problem is if boot is failing, how to mount and rename it?<br /><b= r /></div> <div>I'm looking for a way, if possible, to boot directly bkp boot64x in ca= se of failure.</div> <div>I was hoping to find it in loader(8) or uefi(8)...</div> </div> <br /> <div class=3D"v1gmail_quote"> <div class=3D"v1gmail_attr" dir=3D"ltr">Larry Rosenman <<a href=3D"mailt= o:ler@lerctr.org" rel=3D"noreferrer">ler@lerctr.org</a>> escreveu no dia= sexta, 12/08/2022 à(s) 21:09:</div> <blockquote class=3D"v1gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; bor= der-left: 1px solid #cccccc; padding-left: 1ex;"> <div style=3D"font-size: 10pt; font-family: Arial,Helvetica,sans-serif;"> <p>I would assume just rename the bootx64.old to bootx64.efi</p> <p>and/or put it in a different directory that EFI can see </p> <p><br /></p> <p id=3D"v1gmail-m_-5899437215941506011reply-intro">On 08/12/2022 3:03 pm, = Nuno Teixeira wrote:</p> <blockquote style=3D"padding: 0px 0.4em; border-left: 2px solid #1010ff; ma= rgin: 0px;"> <div id=3D"v1gmail-m_-5899437215941506011replybody1"> <div dir=3D"ltr"> <div>I'm searching without success to load a bkp loader in case of boot fai= lure.</div> <div> </div> <div>Upgrade process willl be like:</div> <div>---<br />mount -t msdosfs /dev/nvd0p1 /mnt<br />cp /mnt/efi/boot/bootx= 64.efi /mnt/efi/boot/bootx64.old<br />cp /boot/loader.efi /mnt/efi/boot/boo= tx64.efi<br />---</div> <div> </div> <div>I can't find the right docs to load bootx64.old.</div> <div>Could you tell me what you did to solve your boot?</div> <div> </div> <div>Thanks</div> </div> <br /> <div> <div dir=3D"ltr">Yasuhiro Kimura <<a href=3D"mailto:yasu@freebsd.org" re= l=3D"noreferrer">yasu@freebsd.org</a>> escreveu no dia sexta, 12/08/2022= à(s) 18:45:</div> <blockquote style=3D"margin: 0px 0px 0px 0.8ex; border-left: 1px solid #ccc= ccc; padding-left: 1ex;">From: Nuno Teixeira <<a href=3D"mailto:eduardo@= freebsd.org" rel=3D"noreferrer">eduardo@freebsd.org</a>><br />Subject: R= e: Updating EFI boot loader results in boot hangup<br />Date: Fri, 12 Aug 2= 022 18:26:11 +0100<br /><br />> Hello Yasu,<br />> <br />> Does it= needes to update boot loader everytime that we upgrade current?<br /><br /= >No, you need not.<br /><br />> The only time that I updated was a month= ago because of zfs upgrade and I need to practice how to boot<br />> lo= ader bkp file :)<br /><br />I update boot loader everytime because I'd like= to do it :-).<br />And sometimes problem hits upon me like this time and I= contribute to<br />debugging base system :-):-).<br /><br />---<br />Yasuh= iro Kimura<br /><br /></blockquote> </div> <br clear=3D"all" /><br />-- <br /> <div dir=3D"ltr"> <div dir=3D"ltr"><span style=3D"color: #666666;">Nuno Teixeira<br />FreeBSD= Committer (ports)</span></div> </div> </div> </blockquote> <p><br /></p> <div id=3D"v1gmail-m_-5899437215941506011signature"> <div style=3D"margin: 0px; padding: 0px; font-family: monospace;"><span>--&= nbsp;<br />Larry Rosenman &= nbsp; <a h= ref=3D"http://www.lerctr.org/~ler" target=3D"_blank" rel=3D"noopener norefe= rrer">http://www.lerctr.org/~ler</a><br />Phone: +1 214-642-9640 &nbs= p; &= nbsp; E-Mail: <a href=3D"mailto:ler@lerctr.org" rel=3D"noreferrer">ler= @lerctr.org</a><br />US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106<br = /></span></div> </div> </div> </blockquote> </div> <br clear=3D"all" /><br />-- <br /> <div class=3D"v1gmail_signature" dir=3D"ltr"> <div dir=3D"ltr"><span style=3D"color: #666666;">Nuno Teixeira<br />FreeBSD= Committer (ports)</span></div> </div> </div> </blockquote> <p><br /></p> <div id=3D"signature"> <div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">= <span class=3D"sig">-- <br />Larry Rosenman &n= bsp;  = ; <a href=3D"http://www.lerctr.org/~ler" target=3D"_blank"= rel=3D"noopener noreferrer">http://www.lerctr.org/~ler</a><br />Phone: +1 = 214-642-9640 &n= bsp; E-Mail: <a href=3D"mailto:ler@lerctr.org"= >ler@lerctr.org</a><br />US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106= <br /></span></div> </div> </body></html> --=_90ff7f40576326d8e776db908fd72d51--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78c22181179d9c7f9fcea829002095eb>