Note |
In addition to the below DOSBox-X command line utility, it is possible to create harddisk images from the DOSBox-X menu. Go to the "DOS" menu and select "Create blank disk image…". This option allows for various common harddisk types to be created, for less common types you need to use the command line utility. |
Note |
When creating your HDD image with IMGMAKE , instead of specifying a custom size, you can choose a pre-defined template. The pre-defined HDD templates can be seen by running IMGMAKE without arguments.
|
-
Diskette (floppy) images are always created as FAT12.
-
If your reported DOS version is 7.1 or higher, then harddisk images up to 512MB will use FAT16 by default.
-
Larger size harddisk images will use FAT32 by default (larger than 2GB can only be created as FAT32).
Alternatively, you can use the -fat
option to instruct IMGMAKE
to create a certain FAT type (assuming that is possible for the harddisk size).
First you need to start DOSBox-X from the command-line, using your newly created win98.conf
.
This assumes that dosbox-x is in your path and win98.conf
is in your current directory.
dosbox-x -conf win98.conf
Then in DOSBox-X you need to create a new harddisk image file with IMGMAKE
.
This example uses an 8GB hard disk image with a single FAT32 formatted partition. Technically the FAT32 filesystem is capable of supporting partitions up to 2TB, but the generic IDE driver in Windows 98 cannot handle volumes greater than 128GB. Larger partition sizes may be possible with 3rd party drivers but are not covered here.
In later Windows versions, starting with Windows 2000, Microsoft won’t let you format a volume bigger than 32GB with FAT32 using its built-in formatting tool, this was presumably to push migrations to NTFS and later exFAT.
Note |
Creating a 128GB volume will cause a "SU0650 Out of Memory" warning during install, you can however continue the installation. |
IMGMAKE hdd.img -t hd_8gig
Or if you want to create a larger disk, you can create a custom type. This is an example of a 16GB (16*1024=16384 MB) disk, which due to its size, will be formatted as FAT32.
IMGMAKE hdd.img -t hd -size 16384