Getting useful diagnostics from geom(8) and friends

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


On Thu, May 27, 2010 at 03:25:07PM -0700, Garrett Cooper wrote:
> On Thu, May 27, 2010 at 3:02 PM, Rick C. Petty
> >
> > 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
> 
> I didn't run #4 (don't want gptboot on the appliance), but all of the
> steps failed.

Then how do you boot into FreeBSD?  You need to install the boot blocks or
the loader(8) won't boot.

> fdisk doesn't like these Western Digital drives for some whacky reason
> when I specify fdisk -BIq /dev/ad4, etc... and only after I go in and

What exactly do you mean by "doesn't like"?

-- Rick C. Petty


More information about the freebsd-geom mailing list