Thanks for the help, jaclaz. I appreciate it.
Gere's what I did. For testing purposes, I created a hard disk image of 2,070 MB in capacity and here's what the partition table currently looks like:
Partition table:
| | Start | | End | Start |Number of|
Part.|bootable|Head Cyl. Sector|System|Head Cyl. Sector| Sector |Sectors | MB
-----+--------+----------------+------+----------------+--------+---------+----
1 | yes | 1 0 1| 06h| 127 519 63| 63| 4193217|2047
2 | no | 0 0 0| 00h| 0 0 0| 0| 0| 0
3 | no | 0 0 0| 00h| 0 0 0| 0| 0| 0
4 | no | 0 0 0| 00h| 0 0 0| 0| 0| 0
Checking root sector ... OK
The size of the drive is reported as 2,063 MB and DOS used 2,047 MB for which it is the maximum that MS-DOS 6.22 can hold per partition. Here's the output of what the boot sector informatio looks like:
Boot sector:
Bytes per sector: 512
Sectors per cluster: 64
Reserved sectors: 1
Number of FATs: 2
Number of rootdirectory entries: 512
Number of sectors (short): 0
Media descriptor byte: F8h
Sectors per FAT: 256
Sectors per track: 63
Drive heads: 128
Hidden sectors: 63
Number of sectors (long): 4193217
Physical drive number: 80h
Signature: 29h
Checking boot sector ... OK
Checking FAT ... OK
Searching for free space ... OK
Because the Point 510 has no floppy drive, I've decided to NOT make a backup copy of the original root and boot sector prior to proceeding.
Prior to splitting the drive, here's what the output is going to look like:
Enter start cylinder for new partition (33 - 519):
Use the cursor keys to choose the cylinder, <enter> to continue
Old partition Cylinder New Partition
129.9 MB 33 1917.6 MB
I want the size of the partitions on the 2.16 GB hard drive to be as even as possible. So, I entered 262 cylinders and a new partition size of 1,015.9 MB. Here's the final output of what it looks like:
Old partition Cylinder New Partition
1031.6 MB 262 1015.9 MB
First Cluster: 33004
Last Cluster: 65511
Testing if empty ... OK
New partition table:
| | Start | | End | Start |Number of|
Part.|bootable|Head Cyl. Sector|System|Head Cyl. Sector| Sector |Sectors | MB
-----+--------+----------------+------+----------------+--------+---------+----
1 | yes | 1 0 1| 06h| 127 261 63| 63| 2112705|1031
2 | no | 0 262 1| 06h| 127 519 63| 2112768| 2080512|1015
3 | no | 0 0 0| 00h| 0 0 0| 0| 0| 0
4 | no | 0 0 0| 00h| 0 0 0| 0| 0| 0
Checking root sector ... OK
Do you want to continue or reedit the partition table (c/r)?
If I press C, I get this:
Checking root sector ... OK
Do you want to continue or reedit the partition table (c/r)? c
New boot sector:
Bytes per sector: 512
Sectors per cluster: 64
Reserved sectors: 1
Number of FATs: 2
Number of rootdirectory entries: 512
Number of sectors (short): 0
Media descriptor byte: F8h
Sectors per FAT: 256
Sectors per track: 63
Drive heads: 128
Hidden sectors: 63
Number of sectors (long): 2112705
Physical drive number: 80h
Signature: 29h
Checking boot sector ... OK
Ready to write new partition scheme to disk
Do you want to proceed (y/n)?
If I press R, the process will halt and I will have to start all over again. When FIPS is ready to write the new partition scheme to disk, it asks if it wants to proceed or not. And if I do, I get this:
Repartitioning complete
Bye!
Memory allocation error
Cannot load COMMAND, system halted
After I reboot, I run FDISK, press 4 to display partition information and get this output:
Display Partition Information
Current fixed disk drive: 1
Partition Status Type Volume Label Mbytes System Usage
C: 1 A PRI DOS 1032 FAT16 50%
D: 2 PRI DOS 1016 UNKNOWN 49%
What's odd is that FIPS, shrank the size of drive C to 1,032 MB and created a unformatted second primary partition, drive D of 1,016 MB. To fix this, I will have to delete the second primary DOS partition and recreate it as a logical DOS drive in the extended DOS partition.
I select option 3 to delete the primary DOS partition and what I want to do is to select the unformatted drive D, prior to doing this, I get this warning:
WARNING! Data in the deleted Primary DOS Partition will be lost.
What primary partition do you want to delete..? [1]
The primary partition that I want to delete is 2, Drive D. I enter the current volume label, which is blank and tells that I'm sure that I want to delete the second primary DOS partition. When that's done, the primary DOS partition gets deleted.
Now, I will need to create a extended DOS partition first and a logical DOS drive in the extended DOS partition by selection option 1 and in Create DOS Partition or Logical DOS Drive, I select 2, Create Extended DOS partition. Here's the output:
Create Extended DOS Partition
Current fixed disk drive: 1
Partition Status Type Volume Label Mbytes System Usage
C: 1 A PRI DOS 1032 FAT16 50%
Total disk space is 2063 Mbytes (1 Mbyte = 1048576 bytes)
Maximum space available for partition is 1032 Mbytes (50%)
Enter partition size in Mbytes or percent of disk space (%) to
create an Extended DOS Partition..............................: [1032]
The value
1032 is correct which will split the 2.02 GB partition in two. As a result, an extended DOS partition of 1,032 MB gets created. Now, it's time to create a logical DOS drive in the extended DOS partition. So far, so good. No logical DOS drive have been defined yet. FDISK then asks me this question in this output:
Total Extended DOS Partition size is 1032 Mbytes (1 MByte = 1048576 bytes)
Maximum space available for logical drive is 1032 Mbytes (100%)
Enter logical drive size in Mbytes or percent of disk space (%)...[1032]
This figure is correct, I want FDISK to use all of the extended DOS partition space of 1,032 MB. When I hit enter, drive D gets created. However, FDISK tells me that "all available space in the Extended DOS Partition is assigned to logical drives".
I'm all finished deleting the second primary DOS partition, creating an extended DOS partition and a logical drive in the extended partition. Now, I get to restart.
After I restart, I must format the logical drive and I will end up receiving this warning if I format drive D:
WARNING: ALL DATA ON NON-REMOVABLE DISK
DRIVE D: WILL BE LOST!
Proceed with Format (Y/N)?
The actual formatted capacity of the logical drive, drifve D will be 1,031.59 MB. At 32 KB per cluster, that's 33,006 clusters. Drive C, the boot drive will have 33,002 clusters instead of 65,510.
This procedure was performed in Virtual PC 2004. The real thing was done on the Fujitsu Point 510. When I completed the procedure as described above, the drive letter for the PCMCIA partition was changed from drive D to drive E.
By using FIPS to split the drive into one primary partition and one logical partition in the extended drive, MS-DOS can use all of the disk space this way.
On hard drives that have a capacity greater than 2,048 MB and up to 8,025 MB, the drive will have to be split into multiple partitions as stand alone MS-DOS can't handle drives larger than 2,047 MB.
Also, MS-DOS has no support for hard disks and other media larger than 8,025 MB (including primary and logical DOS partitions), it was released before INT13 extensions were implemented in 1998. There is no fix for this issue as it cannot be corrected by a BIOS upgrade or extension. If a hard disk or other media is found to be larger than 8,025 MB and is partitioned with FDISK, any additional disk space beyond this limit will be truncated.