From owner-freebsd-current@FreeBSD.ORG Wed Nov 11 23:49:57 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 59D81106566C for ; Wed, 11 Nov 2009 23:49:57 +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 21E8A8FC1A for ; Wed, 11 Nov 2009 23:49:56 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 74EB16D41B for ; Wed, 11 Nov 2009 23:49:55 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 4D8E8844E9; Thu, 12 Nov 2009 00:49:55 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: current@freebsd.org Date: Thu, 12 Nov 2009 00:49:55 +0100 Message-ID: <86tyx0mxjw.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: Subject: 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: Wed, 11 Nov 2009 23:49:57 -0000 While installing 8.0-RC2 via a netbooted 7.0-RELEASE: # fdisk -I -B ad0 # bsdlabel -rw ad0 auto # bsdlabel -e ad0 [hmm, that wasn't right!] # fdisk -I -B ad0 # bsdlabel -rw ad0s1 auto # bsdlabel -e ad0s1 # bsdlabel -B ad0s1a # newfs -U -L root ad0s1a # mount /dev/ufs/root /mnt [install to /mnt] # reboot The machine won't boot, even though you have a valid partition table on ad0 that points to a valid bsdlabel in ad0s1. The only way to fix it is to zero the first few sectors of ad0 and re-run fdisk. (yes, I know I should update my nfsroot) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no