digital ocean droplet, FreeBSD update from 11.2 to 12.2p4, zpool upgrade and boot sector ?

Karl Denninger karl at denninger.net
Tue Mar 2 19:27:14 UTC 2021


On 3/2/2021 14:22, John Kennedy wrote:
> 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
Snapshot the droplet before you do it -- just in case!
-- 
Karl Denninger
karl at denninger.net <mailto:karl at denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4897 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20210302/63041629/attachment.bin>


More information about the freebsd-fs mailing list