From owner-freebsd-current@FreeBSD.ORG Thu Nov 12 01:43:17 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 135D71065676 for ; Thu, 12 Nov 2009 01:43:17 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id CB9198FC08 for ; Thu, 12 Nov 2009 01:43:16 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id BA53A6D41C; Thu, 12 Nov 2009 01:43:15 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 8692484513; Thu, 12 Nov 2009 02:43:15 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Marcel Moolenaar References: <86tyx0mxjw.fsf@ds4.des.no> <94D5F246-3413-4256-A0FB-6DF2D3BFE9D0@mac.com> Date: Thu, 12 Nov 2009 02:43:15 +0100 In-Reply-To: <94D5F246-3413-4256-A0FB-6DF2D3BFE9D0@mac.com> (Marcel Moolenaar's message of "Wed, 11 Nov 2009 17:00:17 -0800") Message-ID: <86d43omsb0.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: How to confuse geom_part_mbr X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2009 01:43:17 -0000 Marcel Moolenaar writes: > Dag-Erling Sm=C3=B8rgrav 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