Sarasota PC Monitor


Tech Talk (07/01)

IDE hard drive size limits

by Brian K. Lewis, Ph.D.*
Member of the Sarasota Personal Computer Users Group, Inc.

Believe it or not, when you try to upgrade your hard drive to one of the new, wonderful, speedy drives that are 20 gigabytes in size or larger, you may hit a drive size limit. Your computer's Basic Input/Output System (BIOS) or your operating system may not allow you to access the full size of your drive. You may even find that your system will no longer boot and you will not even get an error message. Most hard drive manufacturers provide installation software to help overcome these problems. However, in PCs with the Windows operating system, drives using such software may run at slower than their maximum speed. In order to understand how to determine whether your PC may have such a problem and how to overcome it, we need to consider the source of these problems (don't let the large numbers scare you off.)

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.

As you can see, adding a new hard drive is not as simple a proposition as the ads would lead you to believe. However, with proper preparation, adding a larger drive will not turn out to be another frustrating computer experience. A little planning and knowledge will save you a lot of effort during the installation process.

*Dr. Lewis, a former university & medical school professor, is a computer consultant doing instruction, hardware/software services and system upgrades.

He is available to help you with your home or business computer problems. He does make house calls and can be reached via e-mail at brian_klewis@hotmail.com or voice mail at (941) 925-3047. Note: there is an underline between the n and the k (n_k) in the email address. :

Return to Brian Lewis' Index

Return to Columnist's Index


Copyright 2001. This article is from the July 2001 issue of the Sarasota PC Monitor, the official monthly publication of the Sarasota Personal Computer Users Group, Inc., P.O. Box 15889, Sarasota, FL 34277-1889. Permission to reprint is granted only to other non-profit computer user groups, provided proper credit is given to the author and our publication. We would appreciate receiving a copy of the publication the reprint appears in, please send to above address, Attn: Editor. For further information about our group, email: admin@spcug.org/ Web: http://www.spcug.org/

The Sarasota Personal Computer Users Group, Inc. has 1,300+ members and was established in 1982. We are members of the Assoc. of PC User Groups (APCUG), the Florida Assoc. of PC Users Groups, Inc., and we are members of the America Online Ambassador Program.

See http://www.spcug.org for all reviews from the Sarasota PC Monitor, go to the Newsletter Section.