Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2021 22:36:39 +0100
From:      David Marec <david.marec@lapinbilly.eu>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   FreeBSD 13/stable and zpool upgrade
Message-ID:  <ac735a6b-b82e-36e4-eb66-d2c0d422cc75@lapinbilly.eu>

next in thread | raw e-mail | index | archive | help
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@machine:/boot # mdconfig -f gptboot.efifat -u 0
root@machine:/boot # mount -t msdosfs /dev/md0 /mnt
root@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac735a6b-b82e-36e4-eb66-d2c0d422cc75>