Date: Mon, 15 Aug 2022 00:09:48 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: Pete Wright <pete@nomadlogic.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: Updating EFI boot loader results in boot hangup Message-ID: <CAFDf7UJ65kFdP5KM%2BPX60B%2BkwchtcNEjWCMBS0ZTAq6=P0tLpw@mail.gmail.com> In-Reply-To: <9c63a5cd-cd3e-dba4-e436-10f2187ec6f5@nomadlogic.org> References: <20220814.095721.849461222067829352.yasu@FreeBSD.org> <CA%2BGqWgsMYEp4goeLBO4%2BufDU_ap5Opmf4udL_WSd-NZU1Q3dog@mail.gmail.com> <CANCZdfp4Har%2BrLV5kg94EWO_Uc767K7ga9AKLTznvqoC2JvQXw@mail.gmail.com> <20220814.110850.1703361053728529792.yasu@FreeBSD.org> <CA%2BGqWguOkHegLmijD2BAYhj7t9qCVY%2BmYNLN1_tJGp%2Bi=mNn6g@mail.gmail.com> <45007308-136a-8938-33d0-bb2509ee6ae7@FreeBSD.org> <20220814192609.wyfcogl3dwzteuva@colony.nomadlogic.org> <77a7f41c-b060-8582-f19f-345c33043750@gmail.com> <9c63a5cd-cd3e-dba4-e436-10f2187ec6f5@nomadlogic.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000044bc7905e63b9d5a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Isn't better just to mount -t msdos /dev/xxxpn /mnt and cp /boot/loader.efi /mnt/efi/boot/bootx64.efi? Pete Wright <pete@nomadlogic.org> escreveu no dia domingo, 14/08/2022 =C3= =A0(s) 22:58: > > > On 8/14/22 13:26, Graham Perrin wrote: > > On 14/08/2022 20:26, Pete Wright wrote: > > =E2=80=A6 has anyone else who has been impacted by this been able to reco= ver? =E2=80=A6 > > If you have multiple boot environments: do you have a non-affected BE > (prior to c32dde3166922f55927764464d13f1bc9640f5f6)? > > > So unfortunately i didn't have a recent BE, but I was able to do the > following to get back up: > > 1. download latest CURRENT snapshot memdisk from ftp.freebsd.org and put > it on a usb drive > 2. boot via usb drive and enter live shell > 3. load zfs kmod: > kldload zfs > 4. import zroot: > zpool import -R /mnt/ zroot > 5. mount ROOT filesystem: > zfs mount zroot/ROOT/default > 6. copy usb loader to zroot: > cp /boot/loader /mnt/boot/loader > > > i'd recommend just using boot environments, it's much easier and is > specifically what they are for :) > > -pete > > -- > Pete Wrightpete@nomadlogic.org > @nomadlogicLA > > --=20 Nuno Teixeira FreeBSD Committer (ports) --00000000000044bc7905e63b9d5a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Isn't better just to mount -t msdos /dev/xxxpn /mnt an= d cp /boot/loader.efi /mnt/efi/boot/bootx64.efi?<br></div><br><div class=3D= "gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Pete Wright <<a href= =3D"mailto:pete@nomadlogic.org">pete@nomadlogic.org</a>> escreveu no dia= domingo, 14/08/2022 =C3=A0(s) 22:58:<br></div><blockquote class=3D"gmail_q= uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2= 04);padding-left:1ex"> =20 =20 =20 <div> <br> <br> <div>On 8/14/22 13:26, Graham Perrin wrote:<br> </div> <blockquote type=3D"cite"> =20 <div>On 14/08/2022 20:26, Pete Wright wrote:<br> </div> <blockquote type=3D"cite"> <pre>=E2=80=A6 has anyone else who has been impacted by this been a= ble to recover? =E2=80=A6</pre> </blockquote> If you have multiple boot environments: do you have a non-affected BE (prior to c32dde3166922f55927764464d13f1bc9640f5f6)?<br> <u></u><u></u> </blockquote> <br> So unfortunately i didn't have a recent BE, but I was able to do th= e following to get back up:<br> <br> 1. download latest CURRENT snapshot memdisk from <a href=3D"ftp://ftp.f= reebsd.org" target=3D"_blank">ftp.freebsd.org</a> and put it on a usb drive<br> 2. boot via usb drive and enter live shell<br> 3. load zfs kmod:<br> =C2=A0=C2=A0=C2=A0 kldload zfs<br> 4. import zroot:<br> =C2=A0=C2=A0=C2=A0 zpool import -R /mnt/ zroot<br> 5. mount ROOT filesystem:<br> =C2=A0=C2=A0=C2=A0 zfs mount zroot/ROOT/default<br> 6. copy usb loader to zroot:<br> =C2=A0=C2=A0=C2=A0 cp /boot/loader /mnt/boot/loader<br> <br> <br> i'd recommend just using boot environments, it's much easier an= d is specifically what they are for :)<br> <br> -pete<br> <pre cols=3D"72">--=20 Pete Wright <a href=3D"mailto:pete@nomadlogic.org" target=3D"_blank">pete@nomadlogic.or= g</a> @nomadlogicLA</pre> </div> </blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g= mail_signature"><div dir=3D"ltr"><span style=3D"color:rgb(102,102,102)">Nun= o Teixeira<br>FreeBSD Committer (ports)</span></div></div> --00000000000044bc7905e63b9d5a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJ65kFdP5KM%2BPX60B%2BkwchtcNEjWCMBS0ZTAq6=P0tLpw>