Re: Updating EFI boot loader results in boot hangup

From: Pete Wright <pete_at_nomadlogic.org>
Date: Sun, 14 Aug 2022 21:58:10 UTC

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