Date: Sun, 14 Aug 2022 14:58:10 -0700 From: Pete Wright <pete@nomadlogic.org> To: freebsd-current@freebsd.org Subject: Re: Updating EFI boot loader results in boot hangup Message-ID: <9c63a5cd-cd3e-dba4-e436-10f2187ec6f5@nomadlogic.org> In-Reply-To: <77a7f41c-b060-8582-f19f-345c33043750@gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------KHuzLWsoYeS6OttuMoe8Oi9M Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 8/14/22 13:26, Graham Perrin wrote: > On 14/08/2022 20:26, Pete Wright wrote: >> … has anyone else who has been impacted by this been able to recover? … > 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 Wright pete@nomadlogic.org @nomadlogicLA --------------KHuzLWsoYeS6OttuMoe8Oi9M Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <br> <br> <div class="moz-cite-prefix">On 8/14/22 13:26, Graham Perrin wrote:<br> </div> <blockquote type="cite" cite="mid:77a7f41c-b060-8582-f19f-345c33043750@gmail.com"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <div class="moz-cite-prefix">On 14/08/2022 20:26, Pete Wright wrote:<br> </div> <blockquote type="cite" cite="mid:20220814192609.wyfcogl3dwzteuva@colony.nomadlogic.org"> <pre class="moz-quote-pre" wrap="">… has anyone else who has been impacted by this been able to recover? …</pre> </blockquote> If you have multiple boot environments: do you have a non-affected BE (prior to c32dde3166922f55927764464d13f1bc9640f5f6)?<br> <lt-container></lt-container> </blockquote> <br> So unfortunately i didn't have a recent BE, but I was able to do the following to get back up:<br> <br> 1. download latest CURRENT snapshot memdisk from <a class="moz-txt-link-abbreviated" href="ftp://ftp.freebsd.org">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> kldload zfs<br> 4. import zroot:<br> zpool import -R /mnt/ zroot<br> 5. mount ROOT filesystem:<br> zfs mount zroot/ROOT/default<br> 6. copy usb loader to zroot:<br> cp /boot/loader /mnt/boot/loader<br> <br> <br> i'd recommend just using boot environments, it's much easier and is specifically what they are for :)<br> <br> -pete<br> <pre class="moz-signature" cols="72">-- Pete Wright <a class="moz-txt-link-abbreviated" href="mailto:pete@nomadlogic.org">pete@nomadlogic.org</a> @nomadlogicLA</pre> </body> </html> --------------KHuzLWsoYeS6OttuMoe8Oi9M--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9c63a5cd-cd3e-dba4-e436-10f2187ec6f5>