From owner-freebsd-current@FreeBSD.ORG Mon Oct 19 04:00:06 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 A365B106566B for ; Mon, 19 Oct 2009 04:00:06 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outF.internet-mail-service.net (outf.internet-mail-service.net [216.240.47.229]) by mx1.freebsd.org (Postfix) with ESMTP id 7666D8FC12 for ; Mon, 19 Oct 2009 04:00:06 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 10987B755B; Sun, 18 Oct 2009 21:00:06 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (unknown [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 46DF22D6013; Sun, 18 Oct 2009 21:00:05 -0700 (PDT) Message-ID: <4ADBE444.1010706@elischer.org> Date: Sun, 18 Oct 2009 21:00:04 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Daniel Nebdal References: <4ACE6D84.3000209@gmail.com> <4ACE833A.3030506@uffner.com> <4ACE9DFD.3010207@gmail.com> <200910131644.04358.john@baldwin.cx> <86ljja3ud5.fsf@ds4.des.no> <20091018162750.E82400@ury.york.ac.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: John Baldwin , Antony Mawer , freebsd-current@freebsd.org, =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , David Ehrmann Subject: Re: 8.0rc1 not recognizing partitions on EPIA SN 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: Mon, 19 Oct 2009 04:00:06 -0000 Daniel Nebdal wrote: > On Sun, Oct 18, 2009 at 5:32 PM, Gavin Atkinson > wrote: >> As I understand things, the problems are partially due to a bug in older >> versions of sysinstall that created incorrect disklables in DD mode, and >> partially due to the new GEOM partitioning modules, which now parse these >> ambiguous disk labels differently. >> >> You can get around this by compiling a custom kernel and using the old >> partitioning modules (use GEOM_MBR and GEOM_BSD rather than GEOM_PART), but >> you may well just be postponing the problem as I believe the old modules >> were planned to be removed at some point. >> >> Gavin > > Does that mean that it's possible to write a DD-style disklabel that > GEOM_PART would be happy with? > That would open up the possibility of correcting the old label > in-place (somehow)... it may be as little as overwriting bytes 510 and 511 of block0. (the last 2 bytes of the block are a magic number) this would stop the fdisk taster from recognising it as an fdisk block and teh disklabel taster would recognise the disklabel. if you try this, keep a backup of block0 :-)