FreeBSD 13/stable and zpool upgrade

David Marec david.marec at lapinbilly.eu
Thu Feb 18 21:36:43 UTC 2021


I have just upgrade one machine from 12-stable to 13-stable.

Everything runs fine until the main ZFS pool was upgraded.

Then the box stopped booting.

Thanks to a FreeBSD-13 Beta2 usb stick, I was able to fix the issue by 
copying `BOOTx64.efi` from the stick to the hard-drive.

Looking to `/boot` to check out for a new EFI boot-loader available, I 
noticed that `boot1.efifat` was removed, but `gptboot.efifat` is still 
there.

Unfortunately it contains an old version of the boot loader:

root at machine:/boot # mdconfig -f gptboot.efifat -u 0
root at machine:/boot # mount -t msdosfs /dev/md0 /mnt
root at machine:/boot # ll /mnt/efi/boot/
total 385
-rwxr-xr-x  1 root  wheel  393216 Apr 16  2018 BOOTx64.efi*
-rwxr-xr-x  1 root  wheel      12 Apr 16  2018 startup.nsh*

The boot firmware I got from the 13-Beta2 installer is different:

-rwxr-xr-x  1 root  wheel  894464 Feb 18 21:07 BOOTx64.efi*

What did I missed ?

-- 
David Marec
http://wiki.fug-fr.org/doku.php?id=start



More information about the freebsd-stable mailing list