C:\>ConventionalMemory.io

Guide · Updated October 8, 2026 · 7 min read

IDE hard drive size limits explained

You drop a 40 GB drive into a 486 and the BIOS sees 504 MB. Or you put in a 2 GB CompactFlash card and half of it vanishes in DOS. Each of those limits is a multiplication, and once you see the numbers you can pick a drive that works.

How we pick. A product makes the list only when reviewers and long-time collectors keep recommending it, it does one job well and it will still work in five years. No filler, no mystery brands, and no paid placements. Not every item has been through our own bench, so we go by reputation. Prices change, so check the listing.

Some links on this page are affiliate links. If you buy through one, Conventional Memory earns a small commission at no cost to you. Affiliate links. As an Amazon Associate I earn from qualifying purchases. Disclosure

CHS: the way early drives were addressed

Old drives were addressed by cylinder, head and sector (CHS). A cylinder is a ring of tracks that sit one above another on the platters, a head chooses the surface, and a sector is a 512 byte slice of a track. Multiply the three together, and multiply by 512, to get the capacity.

The trouble is that two different programs each stored those three numbers in a fixed number of bits, and the system could only use the smaller limit of the two.

Where the CHS limits come from
InterfaceCylindersHeadsSectors per track
BIOS INT 13h (the BIOS calls DOS uses)1,024 (10 bits)256 (8 bits)63 (6 bits)
ATA / IDE drive interface65,536 (16 bits)16 (4 bits)255 (8 bits)
What both can reach together1,0241663

The size barriers

Barriers in the order you meet them
BarrierHow it is calculatedCapacityWhat breaks
504 MiB (528 MB)1,024 cylinders x 16 heads x 63 sectors x 512 bytes = 528,482,304About 504 MiBOlder BIOS cannot see more than this, even on a bigger drive
2 GBFAT16 uses 16-bit cluster numbers, so about 65,000 clusters of 32 KB2,147,483,648DOS and Windows 95 cannot make a larger FAT16 volume
8.4 GB1,024 x 255 x 63 x 512 = 8,422,686,720 (the ATA CHS limit, 16,383 x 16 x 63 x 512, is nearly the same at 8,455,200,768)About 7.8 GiB (8.4 GB)The BIOS INT 13h limit once translation is applied. Fixed by BIOS extensions that address the drive by sector number
137 GB (128 GiB)2^28 sectors x 512 = 137,438,953,472128 GiB28-bit LBA ran out. 48-bit LBA (ATA-6) fixes it
2.2 TB2^32 sectors x 512 = 2,199,023,255,5522 TiBMaster boot record partition tables use 32-bit sector counts

What translation does

To get past 504 MiB, BIOS makers added translation. The BIOS tells DOS that a drive has fewer cylinders and more heads than it really does, so that the product still equals the real capacity while staying inside the 10-bit, 8-bit and 6-bit fields. Three modes are common in BIOS setup:

  • Normal (CHS): no translation. Works up to 504 MiB.
  • Large (ECHS): the BIOS shifts cylinders into heads using a power of two. It lets drives above 504 MiB work on a BIOS that has no LBA. Bad if you later move the drive to a machine that uses LBA, because the partition table will not match.
  • LBA: the BIOS uses the drive's logical block addressing, a straight sector count, and translates it into the CHS numbers that DOS expects. This is the right choice for any drive over 504 MiB, and it works up to 8.4 GB.

Drive fitted in LBA mode in one machine and read in Large mode in another will look blank or corrupt, because the same sector can map to different CHS numbers. Change the mode only on an empty drive, or move the drive back to the machine that formatted it.

FAT16 cluster sizes and the 2 GB wall

DOS and Windows 95 use the FAT16 file system. FAT16 numbers the clusters on a volume in 16 bits, so it can address about 65,000 of them. To make a large volume the cluster size grows, and every file takes up at least one cluster, so large volumes waste space on small files.

Default FAT16 cluster size by partition size
Partition sizeCluster size
Up to 127 MB2 KB
128 to 255 MB4 KB
256 to 511 MB8 KB
512 to 1,023 MB16 KB
1,024 to 2,047 MB32 KB

If your drive is bigger than 2 GB, divide it into several partitions of 2 GB or less in DOS, or format with FAT32 under Windows 95 OSR2, 98 or ME. Plain DOS 6.22 cannot read FAT32. A drive of around 1 GB divided into 512 MB partitions wastes much less space than one big 1 GB partition.

Fitting a CompactFlash card or a modern drive

  1. Pick a small card. For DOS and Windows 95 era machines, 512 MB to 2 GB works with every BIOS and FDISK version. A 4 GB card can work if the BIOS has LBA and you use FAT16 partitions of 2 GB each or FAT32.
  2. Use a 40-pin IDE adapter. A CompactFlash to IDE adapter presents the card as a standard drive. Set the jumper on the adapter or the card to master.
  3. Set the BIOS to Auto and LBA. If the BIOS lets you enter the drive details, choose Auto, and set the access mode to LBA. If it only has fixed drive types, use User type and enter the cylinders, heads and sectors printed on the card or reported by another machine.
  4. Partition and format. Boot a floppy or a CF card with DOS, run FDISK, create a primary partition, set it active, reboot, then run FORMAT C: /S to make it bootable.
  5. Too big for the BIOS?. Use a drive overlay such as Ontrack Disk Manager, EZ-Drive or update the BIOS if the maker offers one. On 8-bit XT class machines, the XT-IDE project's add-in card carries its own BIOS ROM and does the job. Overlays load a driver from the first sectors of the disk, so keep a boot floppy and be careful: a damaged overlay hides your data.

Master, slave and cable select

Each IDE channel carries two drives, which are told apart by jumpers. The first is the master, the second the slave. With cable select, the position on the ribbon cable decides. A single drive on its own usually uses the Master or Single setting, and it belongs at the end connector of the cable.

Use an 80-wire cable (the one with 40 pins but twice the wires) for UDMA/66 and faster. Older drives work with either cable. The extra wires are grounds, which reduce noise at high speed. If a machine is unstable with a new drive, a worn ribbon is often the culprit.

Transfer speed by IDE mode

IDE transfer modes
ModePeak speed
PIO 03.3 MB/s
PIO 28.3 MB/s
PIO 416.7 MB/s
UDMA 3333 MB/s
UDMA 6666 MB/s
UDMA 100100 MB/s
UDMA 133133 MB/s

A 486 on a VLB or ISA controller will not reach these rates. The point of the table is that the controller, not the drive or the card, sets the speed.

Work around the limits with CompactFlash

A small CompactFlash card in an IDE adapter sidesteps most size limits and removes the noisy drive.

StarTech CompactFlash to IDE adapter

Hard drive replacement

Lets a CF card act as a hard disk on most 486 and Pentium machines.

Transcend industrial CompactFlash card

Storage

Keep the card small, a few gigabytes at most, because old BIOSes get confused by big drives. Use a branded industrial card.

USB to IDE and SATA drive adapter

Data recovery

Reads an old IDE drive on a modern PC so you can copy off the files before the drive gives up.

Skip these

  • Buying a big drive and hoping the BIOS will cope. Check the BIOS date and LBA support first.
  • Switching translation modes on a drive that holds data.
  • Making one huge FAT16 partition on a 2 GB card. A few smaller partitions waste less space.

Questions people ask

Why does my old computer only see 504 MB of my big hard drive?

Its BIOS uses the CHS limit of 1,024 cylinders, 16 heads and 63 sectors, which works out to about 504 MiB. Enable LBA in the BIOS if it has the option, or use a drive overlay or a BIOS upgrade.

What is the maximum hard drive size for DOS 6.22?

A single FAT16 partition can be up to 2 GB. You can use a bigger drive if you split it into several partitions, as long as the BIOS can address it.

What is the 8.4 GB barrier?

It is the largest size the BIOS INT 13h interface can address with translation, 1,024 cylinders by 255 heads by 63 sectors. Newer BIOSes added extended INT 13h calls to go beyond it.

What is the 137 GB limit?

28-bit LBA numbers sectors with 28 bits, which reaches 137,438,953,472 bytes. ATA-6 added 48-bit LBA, which raised the limit to 128 PiB.

Can I use a CompactFlash card as a hard drive?

Yes, with a CompactFlash to IDE adapter. A card of 2 GB or less works in nearly any BIOS that supports LBA, and DOS 6.22 reads FAT16 partitions of up to 2 GB.

Sources

From the timeline

Read next

  • How to fix a dead vintage computerA dead vintage computer is usually a dead battery, a bad capacitor or a dirty slot. Our step-by-step guide, plus the tools repair benches trust.
  • Retro PC starter kit: the gear worth buyingGot a beige box from the 80s or 90s? The short list of tools, storage and accessories the retro community actually recommends, and what to skip.
  • The DOS memory map, explainedWhy DOS stops at 640K, where the upper memory area, HMA, XMS and EMS live, the address map from 00000 to FFFFF, and how to read MEM /C on a real machine.

More to explore

Visit the museum