Subject: weird disk geometry
To: NetBSD i386 <port-i386@netbsd.org>
From: Analysis and Solutions <info@analysisandsolutions.com>
List: port-i386
Date: 06/22/2001 02:59:52
Howdy:
Mapping out my install process and have run into a quandry. The NetBSD
geometry reported by fdisk is different from the actual geometry of the disk:
cyls heads sect total (calculated)
Actual: 4865 255 63 78156225
NetBSD: 16383 16 63 16514064
Just to be 100% clear... The "actual geometry" is reported by PowerQuest's
partinfo program and confirmed by other sources. The "fdisk" in question is
the one run after booting up via the NetBSD floppies.
Okay, now if that weren't odd enough, when I run disklabel, it says d: is
78165360 sectors. That means fdisk is saying there are 9135 fewer sectors
(aka 145 fewer cylinders).
So, first, what is going on here?
Second, is the odd NetBSD geometry okay? If not, how can I fix it. Tried to
see if it's possible to set the NetBSD geometry in fdisk -u, but it skips
right to the BIOS geometry. man fdisk doesn't say how to do it, or at least
that's how I'm reading it. Similarly, man disklabel doesn't show the ability
to manipulate this. Also, if I recall, the install process permits modifying
the BIOS geometry, not the NetBSD.
Third, what will happen if I use the actual sector numbers to set up my
disklabel? Should I do so?
Your insights and direction will be greatly appreciated,
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409