Max Bootable Partition Size in MS-DOS 6.22
In MS-DOS 6.22, the maximum size of a bootable primary partition is 2 gigabytes (2,048 megabytes). This limitation is dictated by the FAT16 file system used by the operating system, which restricts the maximum number of clusters and their maximum supported size. This article explains the technical reasons behind this 2 GB limit, how MS-DOS manages disk geometry, and how larger physical hard drives were historically partitioned under these constraints.
The FAT16 File System Architecture
MS-DOS 6.22 relies on the FAT16 (File Allocation Table, 16-bit) file system. Under standard FAT16:
- The system uses 16-bit entries to address clusters, yielding a mathematical maximum of \(2^{16}\) (65,536) clusters.
- Because certain cluster values are reserved for system markers (such as end-of-file and bad cluster marks), FAT16 allows a maximum of 65,526 addressable clusters for data storage.
- Under MS-DOS, standard cluster sizes range from 512 bytes up to a maximum of 32 kilobytes (32,768 bytes, or 64 sectors per cluster).
Multiplying the maximum number of usable clusters (65,526) by the maximum cluster size (32 KB) results in roughly 2,097,152 kilobytes, establishing the firm limit of 2,048 megabytes (2 GB) per partition.
Native Utilities: FDISK and FORMAT
The native disk utilities included with MS-DOS 6.22—specifically
FDISK.EXE and FORMAT.COM—strictly enforce this
2 GB ceiling:
- Primary Partition: When running
FDISK, you cannot allocate more than 2,048 MB to the Primary DOS Partition, which holds the active, bootable system files (IO.SYS,MSDOS.SYS, andCOMMAND.COM). - Cluster Allocation: When formatting the primary
partition,
FORMATautomatically sets the cluster size to 32 KB if the partition size is between 1,024 MB and 2,048 MB.
While certain later operating systems like Windows NT could format FAT16 partitions up to 4 GB by utilizing 64 KB clusters, MS-DOS 6.22 does not support 64 KB clusters natively. Attempting to boot MS-DOS 6.22 from a 4 GB FAT16 partition will result in disk access errors or system instability.
Utilizing Larger Hard Drives
If a physical hard drive exceeds 2 GB, MS-DOS 6.22 cannot use the remaining space within the primary bootable partition. To access the remaining capacity, users had to:
- Create a Primary DOS Partition up to 2,048 MB and
set it as active (Drive
C:). - Create an Extended DOS Partition using the remaining capacity of the physical disk.
- Divide the Extended Partition into multiple Logical DOS
Drives (e.g.,
D:,E:,F:), with each individual logical drive capped at 2,048 MB.
Through this method, MS-DOS 6.22 can access up to 24 drive letters
(from C: to Z:), allowing for a total
accessible storage capacity well beyond 2 GB, provided each individual
volume remains within the 2,048 MB limit and the system BIOS supports
the underlying disk geometry via INT 13h extensions.