Date: Tue, 2 Mar 2021 22:15:29 +0100 From: Kurt Jaeger <pi@freebsd.org> To: PK1048-NEW <info@pk1048.com> 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: <YD6q8T4wkvKDKQ7P@fc.opsec.eu> In-Reply-To: <010f0177f4b3afba-ff53d075-4712-4fb6-814b-e339d7fd3905-000000@us-east-2.amazonses.com> References: <YD6J/XWurNIR%2BbsE@home.opsec.eu> <YD6QeRd3EiujS7O%2B@phouka1.phouka.net> <YD6Rm86fcJXmeOS4@fc.opsec.eu> <010f0177f4b3afba-ff53d075-4712-4fb6-814b-e339d7fd3905-000000@us-east-2.amazonses.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@FreeBSD.org +49 171 3101372 Now what ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YD6q8T4wkvKDKQ7P>