Date: Mon, 17 Jun 2002 09:52:41 +0200 From: hans@lambermont.dyndns.org (Hans Lambermont) To: Bruce Evans <bde@zeta.org.au> Cc: freebsd-stable@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Subject: Re: fdisk seems broken for slices above cyl 1023 Message-ID: <20020617095241.A51682@moya.lambermont.dyndns.org> In-Reply-To: <20020617125915.H3073-100000@gamplex.bde.org>; from bde@zeta.org.au on Mon, Jun 17, 2002 at 01:44:41PM %2B1000 References: <20020616233233.GC56375@wantadilla.lemis.com> <20020617125915.H3073-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote: > On Mon, 17 Jun 2002, Greg 'groggy' Lehey wrote: > > This is correct and not a bug. C/H/S values in fdisk tables are limited > to 10/8/6 bits, respectively, so the best tha can be done with a 'C' > value larger than 1023 is truncate it mod 1024. Ok, this makes sense. > FreeBSD's fdisk(8) does this. However, over the last few years, some > bad hacks for clipping the CHS values have become less nonstandard, > and are required to satisfy some broken BIOSes. Your original fdisk > entries (not shown above) seem to have been created by an fdisk that > supports this. That's interesting then. This disk was labeled by the install procedure from 4.5-R ! So I assume that the same fdisk is responsible for this. > On Mon, 17 Jun 2002, Greg 'groggy' Lehey wrote: > > Don't talk about cylinders with fdisk. It works OK with LBA mode > > (start and end sector). Are you saying that I can ignore the cyl stuff completely ? I can just write a cyl-overlapping table with the right start/end sector stuff ? Should I set all start/end cylinders above 1023 to 1023 to be safe ? > CHS must be set correctly for booting on some systems. Then I'm in luck, the 3th slice is still bootable :) Hans Lambermont -- http://lambermont.webhop.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020617095241.A51682>