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 21:15:39 UTC 2021
Hi!
> > So that part looks similar, but gpart has this:
> >
> > # gpart show
> >
> > *** Fatal error: open(show): No such file or directory.
>
> Try giving gpart the device path
>
> root at app-01:/dev # gpart show /dev/vtbd0
> => 40 167772080 vtbd0 GPT (80G)
> 40 512 1 freebsd-boot (256K)
> 552 4194304 2 freebsd-swap (2.0G)
> 4194856 163577264 3 freebsd-zfs (78G)
Turns out I had two gpart programs: one was a /usr/local/bin/gpart
port. And this worked, thanks for the hint with the full path:
/sbin/gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 /dev/vtbd0
--
pi at FreeBSD.org +49 171 3101372 Now what ?
More information about the freebsd-fs
mailing list