Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 17:20:13 +1100
From:      "Tarragon Allen" <melange@n12turbo.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Fw: Freebsd not seeing partitions correctly
Message-ID:  <005201c0ab85$a9be6080$0216a8c0@eburwd1.vic.optushome.com.au>

next in thread | raw e-mail | index | archive | help

 From: "Michael J. Turner" <mike@inethouston.net>

 > Yeah I just tried that no go. It must be a freebsd prob i dunno.
> i don't think it's my BIOS being that windows picks everything
> up just fine

 > > I have a 15gig drive with two partitions. one is 10GB the other

 > > This is what is showing up:
> > Disk Geometry: 256cyls/255 heads/63 sectors = 4112640 sectors (2008MB)

 See if you can set your cylinder count to something like 1002560 ..

 The reason I pick that number is because :

 presently the geometry says you have a 2.1 gb hard drive
(256 cyl * 255 heads * 63 sectors * 512 bytes = 2105671680 = ~ 2.1 gb)

 The heads and sector counts are at max (255 and 63) so the only value you
can play with is the cylindar count.  You said you have a 15 gb drive, so :
(15*1024*1024*1024 = 16106127360 bytes (15 gb) )
(16106127360 / 255 / 63 = 1002560 (rounded down) )

 Keep in mind that all the values kept by the BIOS/OS are actually virtual;
The hard drive takes these values and maps them to the correct place
internally.

 This is the gist of the message I saw on the OpenBSD lists, but I was
unable
to find it, sorry - you might want to exercise some care (backup important
stuff etc) before playing with these values - I can give no guarantee,
having not done this myself (I just know the theory).

 Incidently, 2.1 gb is the hard limit of some old BIOSes.  I have seen
Windows boot from a 2.1gb BIOS limited drive and then redetect it at the
larger size post-boot - this could be what is happening here.  If you can
get the geometry figures that Windows is using and then match these in the
FreeBSD settings, everything should be hunky dory... if they differ a bit
then there could be problems...

 Hope this helps.

 t

 PS:  ... and I haven't even had FreeBSD successfully install on my system
yet (two days of experimenting).  :^)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005201c0ab85$a9be6080$0216a8c0>