The 8192 Cylinder DOS Limitation

 
 

Summary: DOS, and other older operating systems, cannot handle a Logical CHS (L-CHS, used by the BIOS Int 13 system call) with 256 Heads. Thus when the drive's Physical CHS (P-CHS, or the values marked on a drive) has 16 Heads, the maximum corresponding Cylinders or Tracks for that drive is 8192. (Maximum CMOS value 8191)

 

    Due to a bug or design flaw with how DOS and other older operating systems access a hard drive, they cannot handle a Logical CHS (L-CHS) with 256 Heads. So for any hard drive that is configured as a 16 Head device, the next smaller drive geometry corresponds to a Physical CHS (P-CHS) with at most 8192 Cylinders. As more than 8192 drive Cylinders causes the translation to create a Logical CHS using 256 Heads. Thus the next smaller geometry-- which has 128 Logical Heads-- results in a drive capacity limitation of 3.94GB (4.22 billion Bytes).

Physical
Cylinders
Physical
Heads
Logical
Cylinders
Logical
Heads
Maximum
Capacity
16 Physical Head Drive Geometries
> or = 1
< or = 1024
16 Cylinders/1 16 504MB
> 1024
< or = 2048
16 Cylinders/2 Heads x2 =32 1008MB
> 2048
< or = 4096
16 Cylinders/4 Heads x4 =64 1.97GB
> 4096
< or = 8192
16 Cylinders/8 Heads x8 =128 3.94GB
> 8192
< or = 16384
16 Cylinders/16 Heads x16 =256 7.88GB
"DOS cannot handle 256 heads" Work-arounds
> 8192
< or = 16384
15 Cylinders/16 Heads x16 =240 7.38GB
> 8192
< or = 16320
n/a LBA Sectors/(63x255)
63=Sectors, 255=Heads
255 7.84GB
 

    There are two ways to provide a "work-around" for this limitation. The first method is based on manipulating the P-CHS to L-CHS translation to use 15 x 16, instead of 16 x 16. Which then limits the L-CHS to a maximum of 240 heads. (See the DOS 240 Heads limit page for details.) The second method is to just limit any L-CHS and LBA translation to using 255 instead of 256 for the Heads.

 
Back UP To: Specific Drive Capacity Limits
Next Page: Windows NT FAT16 Size limits
Previous: Phoenix BIOS 4.03/4.04 bug
 

 

[ChangeDetection.com]TM
Monitor this Webpage

E-mail the Webmaster
Page Content Updated: 11 June 2005