Date: Fri, 12 Aug 2022 15:09:23 -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: <f26fa4d967472ead2967178226e96d8d@lerctr.org> In-Reply-To: <CAFDf7UJ2OU4rwhaYD9N%2B9Nx%2BsygG5Y-j9RfZpTNDiVKVNnFhFA@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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=_49eb67faa3b190b6f5709d9ed53a4a6f Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed 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 --=_49eb67faa3b190b6f5709d9ed53a4a6f 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>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"reply-intro">On 08/12/2022 3:03 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>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 class=3D"v1gmail_quote"> <div class=3D"v1gmail_attr" dir=3D"ltr">Yasuhiro Kimura <<a href=3D"mail= to:yasu@freebsd.org" rel=3D"noreferrer">yasu@freebsd.org</a>> escreveu n= o dia sexta, 12/08/2022 à(s) 18:45:</div> <blockquote class=3D"v1gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; bor= der-left: 1px solid #cccccc; padding-left: 1ex;">From: Nuno Teixeira <<a= href=3D"mailto:eduardo@freebsd.org" rel=3D"noreferrer">eduardo@freebsd.org= </a>><br />Subject: Re: Updating EFI boot loader results in boot hangup<= br />Date: Fri, 12 Aug 2022 18:26:11 +0100<br /><br />> Hello Yasu,<br /= >> <br />> Does it needes to update boot loader everytime that we upg= rade current?<br /><br />No, you need not.<br /><br />> The only time th= at I updated was a month ago because of zfs upgrade and I need to practice = how to boot<br />> loader bkp file :)<br /><br />I update boot loader ev= erytime 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 :-):-).<b= r /><br />---<br />Yasuhiro Kimura<br /><br /></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> --=_49eb67faa3b190b6f5709d9ed53a4a6f--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f26fa4d967472ead2967178226e96d8d>