Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2009 02:43:15 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        current@freebsd.org
Subject:   Re: How to confuse geom_part_mbr
Message-ID:  <86d43omsb0.fsf@ds4.des.no>
In-Reply-To: <94D5F246-3413-4256-A0FB-6DF2D3BFE9D0@mac.com> (Marcel Moolenaar's message of "Wed, 11 Nov 2009 17:00:17 -0800")
References:  <86tyx0mxjw.fsf@ds4.des.no> <94D5F246-3413-4256-A0FB-6DF2D3BFE9D0@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcel Moolenaar <xcllnt@mac.com> writes:
> Dag-Erling Sm=C3=B8rgrav <des@des.no> writes:
> > The machine won't boot, even though you have a valid partition table
> > on ad0 that points to a valid bsdlabel in ad0s1.
> No, you don't have a valid partition table on ad0, because
> you didn't remove the BSD disklabel in sector 2 on ad0.

Yes, I do have a valid partition table.  It is exactly byte-by-byte
identical to the one I get after I zero sector two and re-run fdisk.
The fact that there is unwanted data in sector 2 does *not* make it any
less valid.

What's more, this could have easily been avoided if geom_whatever gave
the partition table precedence over the label it found in sector 2.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d43omsb0.fsf>