From owner-freebsd-current@FreeBSD.ORG Fri Apr 3 06:00:03 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A052106566B for ; Fri, 3 Apr 2009 06:00:03 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx1.freebsd.org (Postfix) with ESMTP id 65F408FC26 for ; Fri, 3 Apr 2009 06:00:03 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from MacBook-Pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KHI00456GN36C30@asmtp013.mac.com> for freebsd-current@freebsd.org; Thu, 02 Apr 2009 22:59:28 -0700 (PDT) Message-id: <8583A3BA-2871-4DF4-9792-1031044A4A22@mac.com> From: Marcel Moolenaar To: Tai-hwa Liang In-reply-to: <0904031327195.78401@www.mmlab.cse.yzu.edu.tw> Date: Thu, 02 Apr 2009 22:59:26 -0700 References: <95891.1238477069@critter.freebsd.dk> <20090331133132.1e191836@ernst.jennejohn.org> <20090331155542.74d89d64@ernst.jennejohn.org> <60084D1E-9F64-463A-A8E9-7A237D5C7661@mac.com> <0904011910169.29800@www.mmlab.cse.yzu.edu.tw> <0904020940371.36257@www.mmlab.cse.yzu.edu.tw> <4CCDEFD6-830E-4C8F-B7A2-B7878F8842BE@mac.com> <0904021314574.37737@www.mmlab.cse.yzu.edu.tw> <09040309313414.76643@www.mmlab.cse.yzu.edu.tw> <0904031327195.78401@www.mmlab.cse.yzu.edu.tw> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-current@freebsd.org Subject: Re: Removal of GEOM_BSD, GEOM_MBR, GEOM_PC98 and GEOM_SUNLABEL 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: Fri, 03 Apr 2009 06:00:03 -0000 On Apr 2, 2009, at 10:29 PM, Tai-hwa Liang wrote: >> The real fix will be a bit more involved, because we should >> avoid wiping out the boot menu entry on a write. But at least >> with the patch you should be able to read the EBR. > > Much better. I can see extended partition nodes after booting with > the > patched kernel: I dug a bit deeper and it's not a boot manager menu entry, but some signature particular to some tool. I'm not going to worry about preserving that. Patch committed. *snip* > => 0 192855600 ad0s3 EBR (92G) > 0 16783200 1 !131 (8.0G) > 16783200 50243760 266401 !11 (24G) > 67026960 31251024 1063921 freebsd (15G) > 98277984 94577616 1559969 freebsd (45G) > > The only downside is that I'll have to update /etc/fstab to boot > correctly > as /dev/ad0s7a is still missing. Ok, let's look at those sectors as well. Can you send the output of: dd if=/dev/ad0s7 of=dump.dd count=2 bs=512 BTW: Thanks for testing! -- Marcel Moolenaar xcllnt@mac.com