Date: Tue, 2 Mar 2021 11:22:33 -0800 From: John Kennedy <warlock@phouka.net> To: Kurt Jaeger <pi@freebsd.org> Cc: freebsd-fs@freebsd.org Subject: Re: digital ocean droplet, FreeBSD update from 11.2 to 12.2p4, zpool upgrade and boot sector ? Message-ID: <YD6QeRd3EiujS7O%2B@phouka1.phouka.net> In-Reply-To: <YD6J/XWurNIR%2BbsE@home.opsec.eu> References: <YD6J/XWurNIR%2BbsE@home.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YD6QeRd3EiujS7O%2B>