digital ocean droplet, FreeBSD update from 11.2 to 12.2p4, zpool upgrade and boot sector ?
John Kennedy
warlock at phouka.net
Tue Mar 2 19:23:52 UTC 2021
On Tue, Mar 02, 2021 at 07:54:53PM +0100, Kurt Jaeger wrote:
> I have one small droplet @ digitalocean, and updated the OS from
> 11.2 to 12.2p4, and also did the zpool upgrade.
>
> Now: How do I update the boot sector for the additional zpool
> features ?
>
> It normally says:
> gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
>
> But I have no da0 on the digitalocean droplet ?
As always, be careful. For my droplet, my disk looks like this:
# gpart show
=> 40 104857520 vtbd0 GPT (50G)
--> 40 512 1 freebsd-boot (256K)
552 4194304 2 freebsd-swap (2.0G)
4194856 100662704 3 freebsd-zfs (48G)
So, BIOS (gpart bootcode Ok, vs UEFI) on partition 1. If your setup is like
mine, you'd want to be using "vtbd0" instead of "da0".
So, presumably:
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 vtbd0
More information about the freebsd-fs
mailing list