137GB barrier - multi O/S install problem

C

Conrad

I recently managed to scrape enough pennies to rebuild my lightning-bit
workstation. Motherboard ECS KM400-M2 (rev 3.0) HD wd1600JB, 160gb.

I created a small NTFS partition (8gb) for Win2k, and a few more
30gb FAT32 partitions to share with FreeBSD and Linux, which also
need to go on this box. Then I noticed a problem. Windows was
only showing 137GB for the drive size in system informatien.
I looked in the BIOS and found the following geometry:
C/H/S is 65535/16/255, which adds up to about 137gb.

I then attempted to install FreeBSD which immediately complained
of bad geometry and enforces a C/H/S of 19457/255/63.
(which is much closer to the 160gb I paid for) FreeBSD apparently
ignores (?) BIOS and queries the HD directly.

While I know FreeBSD will happily run drives much larger than the
BIOS will support, that is on systems dedicated to FreeBSD - mine
needs to play nice with Windows.

Questions: Deos anyone know if I can happily accept the FreeBSD
geometry, or will FreeBSD write things in the partition table that
will screw up Windows? I thought somewhere is some MBR voodoo
that needs some consistency in the cyl/head/sector geometry.

Further, because Windows apparently believes the limited BIOS
geometry, and since FreeBSD is apparently more correct, what happens
to the FAT32 partitions that I want to write to from either O/S?

Should I wipe the whole disk and use FreeBSDs FDisk utility to
create the NTFS and FAT32 partitions?

I've taken a look at the addressing modes available in BIOS:

LBA: Cyl - 16643, Heads - 255, Sectors - 63 = 136893335040 bytes
Large: Cyl - 4095, Heads - 240, Sectors - 255 = 128314368000 bytes
CHS: Cyl - 65535, Heads - 16, Sectors - 255 = 136899993600

Auto, which is what I had when I installed Win2K apparetly uses
CHS, at least the geometry reported by Auto matches - but none
of the options gets past 137gb


Many thanks,

Conrad
 
R

Rod Speed

Conrad said:
I recently managed to scrape enough pennies to rebuild my lightning-bit
workstation. Motherboard ECS KM400-M2 (rev 3.0) HD wd1600JB, 160gb.
I created a small NTFS partition (8gb) for Win2k,

You need to ensure that Win2K has 48
bit LBA enabled for a drive over 137G.
http://support.microsoft.com/default.aspx?scid=kb;en-us;q305098
and a few more 30gb FAT32 partitions to share with FreeBSD and Linux, which
also need to go on this box. Then I noticed a problem. Windows was only
showing 137GB for the drive size in system informatien.

See above.
I looked in the BIOS and found the following geometry:
C/H/S is 65535/16/255, which adds up to about 137gb.

What matters is what it shows the size as in the black bios
screen at boot time. Looks like you need to update the bios too.
I then attempted to install FreeBSD which immediately complained
of bad geometry and enforces a C/H/S of 19457/255/63.
(which is much closer to the 160gb I paid for) FreeBSD apparently ignores (?)
BIOS and queries the HD directly.
Yep.

While I know FreeBSD will happily run drives much larger than the BIOS will
support, that is on systems dedicated to FreeBSD - mine needs to play nice
with Windows.

Then you need to enable 48 bit LBA in Win.
Questions: Deos anyone know if I can happily accept the FreeBSD geometry, or
will FreeBSD write things in the partition table that will screw up Windows?

Dunno, but you should fix it the other way, enable 48 bit
LBA support in Win and then that problem will go away.
I thought somewhere is some MBR voodoo that needs some consistency in the
cyl/head/sector geometry.

Yeah, some of the partition managers will chuck a wobbly about it.
Further, because Windows apparently believes the limited BIOS
geometry, and since FreeBSD is apparently more correct, what happens to the
FAT32 partitions that I want to write to from either O/S?

They'll be fine while ever they are below the 137G boundary.

You'll have a problem using the full size of the drive and you
will get the drive wrapping around in some situations and that
will wipe out the partitions on the front of the drive.
Should I wipe the whole disk and use FreeBSDs FDisk utility to create the NTFS
and FAT32 partitions?

You still need to enable 48 bit LBS in Win, so you
might as well just wipe the drive and recreate the
partitions again in Win after you have done that.
I've taken a look at the addressing modes available in BIOS:
LBA: Cyl - 16643, Heads - 255, Sectors - 63 = 136893335040 bytes
Large: Cyl - 4095, Heads - 240, Sectors - 255 = 128314368000 bytes
CHS: Cyl - 65535, Heads - 16, Sectors - 255 = 136899993600
Auto, which is what I had when I installed Win2K apparetly uses CHS,

Nope, it just fakes that up. It still has to use LBA for a drive that large.
at least the geometry reported by Auto matches - but none of the options gets
past 137gb

You need to update the bios.
 
P

Peter

I recently managed to scrape enough pennies to rebuild my lightning-bit
workstation. Motherboard ECS KM400-M2 (rev 3.0) HD wd1600JB, 160gb.

Your MB should support EIDE disks up to 400GB, so that is fine.
Make sure BIOS settings are AUTO.
I created a small NTFS partition (8gb) for Win2k,

Here is a problem. Install proper W2K Service Pack and perform registry
changes to support 48bit-LBA.
Reboot and check in Windows 2000 again.
 
C

Conrad

Rod said:
You need to ensure that Win2K has 48
bit LBA enabled for a drive over 137G.
http://support.microsoft.com/default.aspx?scid=kb;en-us;q305098

I came across that mskb article - requirement #1 threw me:

The following conditions are necessary for the correct functioning of
48-bit LBA ATAPI support:
• A computer with a 48-bit LBA-compatible Basic Input/Output System
(BIOS) installed.


Since when I looked in BIOS, and none of the addressing modes
showed a C/H/S combination over 137GB, I assumed that the
BIOS was NOT 48-bit LBA, but limited by the 137gb "barrier".
What matters is what it shows the size as in the black bios
screen at boot time. Looks like you need to update the bios too.

Cool, I'll watch that number at boot.

I would LOVE to update the BIOS. This particular board is a
ECS KM400-M2 (rev 3.0) - the rev 1 board has BIOS images up
to 1.0e currently - the rev 3.0 board (mine) only shows BIOS
rev 1.0 - along with all kinds of dire warnings on the page
about being sure your board revision number matches or
the earth will tremble, pigeons will fly upside down, George
Bush will grow a brain, and other signs of the apocolypse.
Maybe I bought an orphan.

Yeah, some of the partition managers will chuck a wobbly about it.




They'll be fine while ever they are below the 137G boundary.

That's encouraging - I guess - everything over 130G was going to
be Linux or FreeBSD anyway.

You'll have a problem using the full size of the drive and you
will get the drive wrapping around in some situations and that
will wipe out the partitions on the front of the drive.

That's NOT encouraging - is that scenario only if NTFS partitions
or FAT32 partitions cross that boundary? The upper reaches of the
drive were destined for FreeBSD and Linux anyway.
You still need to enable 48 bit LBS in Win, so you
might as well just wipe the drive and recreate the
partitions again in Win after you have done that.

One drive. I'm on a bit of a budget. The NTFS partition
creation is the first thing that the WIN2K install does,
(reasonably). This is a bit of a chicken and egg - I have
to install Win2k to enable 48-bit to create the partition
that Win2k needs to live on...

Thanks much - I'm clueless about the new drives - the last
actual drive "programming" I did involved 8" floppies on
a TRS-80 - things have changed a bit.

Conrad
 
C

Conrad

Peter said:
Your MB should support EIDE disks up to 400GB, so that is fine.
Make sure BIOS settings are AUTO.

From the ECS website - when I look under HDD support, the board
revision 1.0 shows support for 400GB - true - but I have the
rev 3.0 board - which under hdd support just gives a blank, and
under BIOS revisions shows only 1.0 - The BIOS setting is currently
AUTO, but setting it to LBA still gives the results in the original
post, C/H/S is 65535/16/255 - which is only (about) 137GB.
Here is a problem. Install proper W2K Service Pack and perform registry
changes to support 48bit-LBA.
Reboot and check in Windows 2000 again.

I have a single disk. Win2k HAS to create a partition before it can
install - which it does under the (probably) 24-bit LBA that my
BIOS is apparently providing. This is a chicken and egg problem.
At any rate, requirement #1 on the Microsoft Knowledge base
(http://support.microsoft.com/default.aspx?scid=kb;en-us;q305098)
says:
"A computer with a 48-bit LBA-compatible Basic Input/Output System
(BIOS) installed."
If I had 48-bit LBA, wouldn't it show a geometry in the BIOS setup
that reflects a 160GB drive instead of a 137GB drive?

Cheers,

Conrad
 
R

Rod Speed

Conrad said:
Rod Speed wrote
I came across that mskb article - requirement #1 threw me:
The following conditions are necessary for the correct functioning of 48-bit
LBA ATAPI support:
• A computer with a 48-bit LBA-compatible Basic Input/Output System
(BIOS) installed.

Yeah, that's wildly overstated. It isnt really
necessary, tho it does certainly simplify things.
Since when I looked in BIOS, and none of the addressing modes
showed a C/H/S combination over 137GB, I assumed that the
BIOS was NOT 48-bit LBA, but limited by the 137gb "barrier".

You need a bit more info than that to be sure if its 48 bit LBA
capable or not, particularly if the drive had been partitioned
initially in a different system. It may just have been using the
geometry detail that resulted from that with the AUTO drive type.
Cool, I'll watch that number at boot.
I would LOVE to update the BIOS. This particular board is a
ECS KM400-M2 (rev 3.0) - the rev 1 board has BIOS images up to 1.0e
currently - the rev 3.0 board (mine) only shows BIOS rev 1.0 - along with all
kinds of dire warnings on the page about being sure your board revision number
matches or
the earth will tremble, pigeons will fly upside down, George
Bush will grow a brain, and other signs of the apocolypse.
Maybe I bought an orphan.

Or maybe its already got 48 bit LBA support.

I'd wipe the drive with something like clearhdd from
http://www.samsung.com/Products/HardDiskDrive/utilities/clearhdd.htm
and then see what shows up on the black
bios screen at boot time with an AUTO drive
type entry. I bet it shows up at 160G.
That's encouraging - I guess - everything over 130G was going to be Linux or
FreeBSD anyway.

Its a bit safer to ensure you do have 48 bit LBA support enabled
right thru. If you dont, it can bite when you reconfigure in future etc.
That's NOT encouraging - is that scenario only if NTFS partitions
or FAT32 partitions cross that boundary? The upper reaches of the drive were
destined for FreeBSD and Linux anyway.

Yes, whatever is writing to the partition
needs to be able to handle 48 bit LBA
One drive. I'm on a bit of a budget. The NTFS partition
creation is the first thing that the WIN2K install does,
(reasonably). This is a bit of a chicken and egg - I have
to install Win2k to enable 48-bit to create the partition
that Win2k needs to live on...

No you dont, the normal approach is to slipsteam the
service pack onto the distribution before installing Win2K.
Thanks much - I'm clueless about the new drives - the last actual drive
"programming" I did involved 8" floppies on a TRS-80 - things have changed a
bit.

Just a tad.
 
R

Rod Speed

Conrad said:
Peter wrote
From the ECS website - when I look under HDD support, the board revision 1.0
shows support for 400GB - true - but I have the rev 3.0 board - which under
hdd support just gives a blank, and under BIOS revisions shows only 1.0 -

Very very unlikely that they would have gone backwards
with the later revs. Its just a documentation problem.
The BIOS setting is currently AUTO, but setting it to LBA still gives the
results in the original post, C/H/S is 65535/16/255 - which is only (about)
137GB.

Bet that is because the auto setting is getting the geometry
detail out of the MBR. If you wipe the drive and see what
it shows on the black bios screen, bet it will show 160G.
I have a single disk. Win2k HAS to create a partition before it can
install - which it does under the (probably) 24-bit LBA that my
BIOS is apparently providing. This is a chicken and egg problem.

Nope, it will work fine like that. Just dont create any more
partitions on the drive until after you apply the service pack.
At any rate, requirement #1 on the Microsoft Knowledge base
(http://support.microsoft.com/default.aspx?scid=kb;en-us;q305098)
says:
"A computer with a 48-bit LBA-compatible Basic Input/Output System
(BIOS) installed."
If I had 48-bit LBA, wouldn't it show a geometry in the BIOS setup that
reflects a 160GB drive instead of a 137GB drive?

Yes, and I bet it will if you wipe the drive. Bet its
getting the geometry detail out of the MBR currently.
 
P

Peter

Your MB should support EIDE disks up to 400GB, so that is fine.
From the ECS website - when I look under HDD support, the board
revision 1.0 shows support for 400GB - true - but I have the
rev 3.0 board - which under hdd support just gives a blank, and
under BIOS revisions shows only 1.0 - The BIOS setting is currently
AUTO, but setting it to LBA still gives the results in the original
post, C/H/S is 65535/16/255 - which is only (about) 137GB.

If you look at BIOS date it will be ovious that is very recent. So it should
support 400GB HD. Call or e-mail ECS if you in doubt.
I have a single disk. Win2k HAS to create a partition before it can
install - which it does under the (probably) 24-bit LBA that my
BIOS is apparently providing. This is a chicken and egg problem.

So use smaller than 137GB partition for OS, another partiton for rest of HD.
I think that was your case (8GB Win2K OS partition).
If you insist on having only one partiton for the whole disk there are some
tricks...but,
You can use XP SP2 (slipstramed) CD and never experience this problem, or
image existing system (with <137GB C partition) and restore with resize to a
full 160GB.
At any rate, requirement #1 on the Microsoft Knowledge base
(http://support.microsoft.com/default.aspx?scid=kb;en-us;q305098)
says:
"A computer with a 48-bit LBA-compatible Basic Input/Output System
(BIOS) installed."
If I had 48-bit LBA, wouldn't it show a geometry in the BIOS setup
that reflects a 160GB drive instead of a 137GB drive?

I don't use cheap motherboards so I'm not very familiar with yours.
 
T

Timothy Daniels

Rod Speed said:
No you dont, the normal approach is to slipsteam the
service pack onto the distribution before installing Win2K.


Then "slipstreaming" involves interleaving the SP
patches in with the installation data, not just applying
the SP patches after the normal installation process
has completed? I have the SP2 CD for WinXP, and
I've often wondered whether anything could be saved
by slipstreaming over just installing WinXP and then
running the SP2 CD.

*TimDaniels*
 
R

Rod Speed

Timothy Daniels said:
Rod Speed wrote
Then "slipstreaming" involves interleaving the SP patches in with the
installation data, not just applying the SP patches after the normal
installation process has completed?

Correct. You basically end up with an installation
CD with the service pack applied to that.
I have the SP2 CD for WinXP, and I've often wondered whether anything could be
saved by slipstreaming over just installing WinXP and then running the SP2 CD.

Yes, basically the first run of XP is done using the patched XP.
 
T

Timothy Daniels

Rod Speed said:
Timothy Daniels wrote


Correct. You basically end up with an installation
CD with the service pack applied to that.


Yes, basically the first run of XP is done using the patched XP.


Thanks for clearing that up. I've been reading about Autostreamer
for a couple years, now. How does that rate as a slipstreamer in
your opinion?

*TimDaniels*
 
R

Rod Speed

Timothy Daniels said:
Thanks for clearing that up. I've been reading about Autostreamer
for a couple years, now. How does that rate as a slipstreamer in
your opinion?

Very decent.

It isnt that hard to do by hand too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top