Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HDD Size 5

Status
Not open for further replies.

BELITD

MIS
Jul 4, 2002
32
GB
IS there any limit on the size of hard drive you can have under Windows 98? This is because I know someone who wants to buy a 180gb drive to use with Windows 98, why is another question!
 
This should help...
IDE (Integrated Drive Electronics, also referred to as ATA) hard drives identify themselves to the system BIOS by the number of cylinders, heads and sectors per track. This information is then stored in the CMOS. Sectors are always 512 bytes in size. Therefore, the capacity of a drive can be determined by multiplying the number of cylinders times the number of sectors times 512. The BIOS interface allows for a maximum of 1024 cylinders, 255 heads and 63 sectors. This calculates out to 504 megabytes. This is also referred to as 528 megabytes by drive manufacturers that consider a megabyte to be 1,000,000 bytes instead of the programming standard of 1,048,576 bytes. Consequently, the true capacity of the drive is less than the advertised value.

IDE drives larger than 504MB must have more than 1024 cylinders. In order to overcome this limitation in the BIOS, a system called Logical Block Addressing (LBA) was instituted. This is also referred to as the INT13h extensions. This system translates the cylinder, head and sector (CHS) information into a 28-bit logical block address. This address is used to read/write data to the hard drive. The LBA system was first applied to computer systems with BIOS dates after July 1994. However, this did not solve the whole problem. Some BIOS manufacturers set cylinder limitations in the BIOS which limited drive size to just over 2 gigabytes. This matched the Windows 95 16-bit file allocation table (FAT 16) limit of 2 gigabytes per partition. With the advent of FAT32, the BIOS limit was raised to 8.4 gigabytes. Further extensions of the INT13h interface allowed the BIOS limit to be increased to 32 gigabytes.

In general, computer systems with a BIOS dated 1998 or later can work with drives up to 32 gigabytes (GB) in size. The 32GB barrier is due to the inability of the BIOS to address an LBA that is larger than 66,060,287. Only in the most recent computer systems has the BIOS been upgraded to work with drives larger than 32GB. In addition, in some computers, a 64GB barrier is still to be overcome. So, the primary limit to the size of the hard drive your computer can use is the LBA limit of your system's BIOS.

The other source of drive size limits has to do with the operating system. Windows 95-A or the first version of Win95 could support an 8.4GB hard drive. However, because of the size limitations of the FAT16, you had to partition the drive in 2GB partitions. That meant five partitions on an 8.4GB drive. Microsoft does say that this version of Win95 will support drives of up to 32GB, providing the partition size is no greater than 2GB! The limit of the FAT16 system is due to the maximum number of clusters that can be addressed is 65,525 (2 raised to the 16th power or 216). Multiplying this number times the maximum cluster size (32,768 bytes) gives the partition size limit of 2GB.

Windows 95B introduced the FAT32 system. In theory, this new file allocation table system can address a hard drive that is 2 terabytes (2,199,023,255,552) in size. The FAT32 table does not scale well in that as its size increases, it takes more time for Windows to find information in it. It also takes more time to calculate free space at boot-up. The maximum size of the FAT32 table is about 128 megabytes. The maximum size of any one file on a FAT32 drive is 4 gigabytes. Win98, WinME and Win2000 all support the FAT32 file system.

So what this seems to boil down to is that you need to have the most current BIOS in your system and an operating system that supports the large drive you want to install. If your computer has an older BIOS (before 1998) then you need to see if a more current BIOS is available from the computer or motherboard manufacturer. Motherboards built in the past few years generally have a flash BIOS that can be upgraded. If you cannot upgrade the BIOS, then the alternative is a third-party software solution or an IDE controller board.

All of the major hard drive manufacturers provide utility software that can accomplish the necessary LBA translations for very large hard drives. However, not all of these software solutions work with the Windows protected mode driver (ESDI_506.pdr). In some cases, the software drivers work only in real mode. This will reduce the speed of data transfer to and from the hard drive. You should ensure that you are using the latest available version of the third party software so that it will be fully compatible with the Windows protected mode drivers. Just because you just bought the drive doesn't mean that newest version of the software was included. You will need to check the manufacturer's Website for the latest version information. This utility software includes "Maxblast" from Maxtor, "Disk Manager" from Ontrack, and "Data LifeGuard" from Western Digital. There may be others, but these are the ones I am most familiar with. The latest versions of these utilities work very well in checking your systems BIOS to determine if it will support the new drive you are installing. They will also assist you in partitioning and formatting the drive.

However, even utility software cannot prevent the system from locking up if the BIOS cannot identify the parameters of your drive. In that case, you may need to consider a hardware solution by either reducing the size of the drive you want to install or purchasing an IDE controller card. The advantages of purchasing a controller card are that it has its own BIOS, which in the newest PCI cards, will work with the large hard drives. This is especially true of the drives that are larger than 30GB in size. In addition, these add-on cards increase the number of IDE devices that can be installed in your computer from 4 to 8. Many people have added ZIP drives and CD writers to computers that already had a CD-ROM and a hard drive installed. This uses up the four IDE channels that are built into the motherboard. By installing another IDE controller card you can now add up to four additional hard drives to your system. Just be certain you have an available PCI slot before you decide to buy a controller card. You will note that all this discussion has been about IDE drives. The interesting part of this, to me anyway, is that this does not apply to SCSI drives. The BIOS on SCSI controller cards has allowed for the geometry translation of very large drives since about 1994
 
With the latest bios and /or controller card 180GB no problem...( might take awhile to format !)
 
Take a star rockerfellerz - a terrific answer, but it begs the age old question......................IS s i z e IMPORTANT?
Regards
Phil [roll1]
Ne auderis delere orbem rigidum meum!
 
If you ask my wife it is....which is why I'm getting a divorce!
 
BELITD

I'm sorry to hear that you and your spouse are to split up over the size of your hard drive. Being an old bloke, getting crustier by the day, I can remember the days of the Sinclair 64, that's 64K hard drive. What a monster that was. Women woud flock to see it and other men wuld be intimidated by the mere mention of the size.

It's true that the versatility then was not as good as now, but we didn't have virus problems, unless we were ill. But because of the size limitation, we had to practice good housekeeping; making sure we didn't leave things on the hard drive that weren't really necessary. And of course the fastest vibrations from the CPU were measured in Hz and not KHz, so things were really slow moving, but quite pleasurable, and if you crashed, it was at a controlled pace.

Nowadays, we talk in Gb and GHz - I say too big and too fast. Most people don't know what they're doing (just look at the number of people seeking advice on this site alone), let alone how to correct their problems when they arise.

So really, it isn't what you've got, it was more a question of what you do with what you've got.

And if that answer isn't worth a star or two, I'll drop the latin phrases that accompany my name from time to time.

Actually, today's is worth translating.

Regards
Phil [roll1]
Ne auderis delere orbem rigidum meum!
 
One thing I didn't see mentioned (though rockerfellerz got about as specific as you can get) was the IDE/ATAPI interface's limit of 137GB. Almost all motherboards that are more than a year old use 28-bit addressing. What does that mean? Well, although your operating system (in this case, Win98) can see up to 2 Terabytes, the internal IDE interface cannot exceed 137GB when using 28-bit addressing.

Sometimes, a BIOS update can get around this, but often cannot because of the way the addressing scheme is incorporated - a limitation of the hardware itself. Some companies like Western Digital will supply you with a PCI controller card that uses 48-bit addressing. With the new 48-bit scheme, the bar is raised from 137GB to 144 Petabytes (that's over 150 million Gigs, folks!).

So, I would count on having to get a controller card to see all 180GB. In short, it is possible with the right hardware... ~cdogg

"The secret to creativity is knowing how to hide your sources."
- A. Einstein
 
Limit on Fdisk (Win 98) is 64 GB. This article will tell you how to get fdisk patch.


This also leads to another problem with Win98. "Format" command limit is 65 GB.

The 180 GB should be no problem. Fdisk the drive into thirds ( put 33% ) for hard drive size (Even using the patched fdisk command it will not report the right drive size until you say to use 33%).

Create 3 - 60 GB drives and Format all 3. Then party on!

the sheb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top