Getting useful diagnostics from geom(8) and friends

Rick C. Petty rick-freebsd2009 at kiwi-computer.com
Thu May 27 22:15:04 UTC 2010


On Thu, May 27, 2010 at 05:02:41PM -0500, Rick C. Petty wrote:
> 
> I'm not sure what you're doing wrong.  Do the following steps work?
> 
> % gpart create -s MBR /dev/ad4
> % gpart bootcode -b /boot/boot0 /dev/ad4
> % gpart add -b 34 -s 128 -t freebsd /dev/ad4
> % gpart bootcode -p /boot/gptboot -i 1 /dev/ad0
                                         ^^^^^^^^
Oops, I meant /dev/ad4.

In any case, show us the output of "gpart show /dev/ad4" if there are
any problems.

-- Rick C. Petty


More information about the freebsd-geom mailing list