Isn't better just to mount -t msdos /dev/xxxpn /mnt and cp /boot/loader.efi
/mnt/efi/boot/bootx64.efi?

Pete Wright <p...@nomadlogic.org> escreveu no dia domingo, 14/08/2022 à(s)
22:58:

>
>
> 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 wrightp...@nomadlogic.org
> @nomadlogicLA
>
>

-- 
Nuno Teixeira
FreeBSD Committer (ports)

Reply via email to