digital ocean droplet, FreeBSD update from 11.2 to 12.2p4, zpool upgrade and boot sector ?
Kurt Jaeger
pi at freebsd.org
Tue Mar 2 19:27:26 UTC 2021
Hi!
> > 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
Thanks -- gpart does not work, but /dev/ has:
l vtbd*
crw-r----- 1 root operator 0x55 Mar 1 06:20 vtbd0
crw-r----- 1 root operator 0x57 Mar 1 06:20 vtbd0p1
crw-r----- 1 root operator 0x58 Mar 1 06:20 vtbd0p2
crw-r----- 1 root operator 0x59 Mar 1 06:20 vtbd0p3
crw-r----- 1 root operator 0x56 Mar 1 06:20 vtbd1
So that part looks similar, but gpart has this:
# gpart show
*** Fatal error: open(show): No such file or directory.
--
pi at FreeBSD.org +49 171 3101372 Now what ?
More information about the freebsd-fs
mailing list