The interesting thing about what I wrote below is that it allows to have the Windows 98 splash screen displayed by partitioning and formatting with FreeDOS and a Windows 98 SE startup floppy disk:
I have a 386DX motherboard from around 1992.
The BIOS it has can handle disks of less than 600 Megabytes (entered manually, but corrected by MS-DOS or a capable OS by using the partition information and BIOS disk services for CHS mode).
I formatted a 4-Gigabyte CompactFlash card with an IDE adapter in this 386 machine with CHS values 899-16-63, for a partition of around 430 Megabytes.
At first I used FDISK and FORMAT from FreeDOS, but then I used a Windows 98 startup disk, also with commands FDISK and FORMAT.
From MS-DOS, I used the following command to install MS-DOS in the CompactFlash hard disk:
Code: Select all
format /S
After I formatted, I tried to boot but it didn't seem to work, so I used the following command booting from a FreeDOS floppy:
Code: Select all
fdisk /fixmbr -- Fix the hard disk master boot record.
fdisk /mbr 1 -- Install the standard MBR in the first hard disk.
This is what seemed to make the trick.
With the above, I managed to make the 4-Gigabyte CompactFlash card bootable and with the Windows 98 Second Edition animated splash present. If I could patch the BIOS from DOS or from a BIOS patches floppy before booting DOS, I could access the rest of the disk in LBA mode, so I could have 4 Gigabytes in a standard CompactFlash in an old ISA 386DX motherboard.
Or I could create an OS that could be launched from a DOS shell, with LBA support.
Now I think I understand why Linux people say that it's better to have a separate boot partition, a separate root partition and data partitions: The intention here is to have a boot partition in the most compatible format of a platform. In this case, it would be a CHS partition of around 200-400 Megabytes that could be recognized by any PC BIOS, and then have an OS with drivers to access the rest of the disk directly in LBA mode without using the BIOS.
It also gave me the idea of: Why not open a floppy disk carefully, and put a thin plastic foil disc on each side of the magnetic media, and then glue it at the outer and inner disk edge so that the floppy can last for decades without degrading, just like having a hard disk media where the heads never touch the platters? If floppy disk media had been sandwiched between two hard and thin plastic discs, then floppies would have lasted as long as a CD-ROM or even a DVD.