Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2009 21:00:04 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Daniel Nebdal <dnebdal@gmail.com>
Cc:        John Baldwin <john@baldwin.cx>, Antony Mawer <lists@mawer.org>, freebsd-current@freebsd.org, =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>, David Ehrmann <ehrmann@gmail.com>
Subject:   Re: 8.0rc1 not recognizing partitions on EPIA SN
Message-ID:  <4ADBE444.1010706@elischer.org>
In-Reply-To: <f8b073790910180853n2cc8cc72ua1006e015e2b3525@mail.gmail.com>
References:  <4ACE6D84.3000209@gmail.com> <4ACE833A.3030506@uffner.com>	<4ACE9DFD.3010207@gmail.com> <200910131644.04358.john@baldwin.cx>	<ea2d4a5b0910170126r78b2afcfib1547722bb3758b8@mail.gmail.com>	<86ljja3ud5.fsf@ds4.des.no>	<f8b073790910171705p1c5c996atee2c6aa109ec9d15@mail.gmail.com>	<20091018162750.E82400@ury.york.ac.uk> <f8b073790910180853n2cc8cc72ua1006e015e2b3525@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Nebdal wrote:
> On Sun, Oct 18, 2009 at 5:32 PM, Gavin Atkinson
> <gavin.atkinson@ury.york.ac.uk> 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 :-)







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ADBE444.1010706>