A comprehensive how to guide
For those who wish to skip this part there are pre-created and pre-formatted virtual hard drives available. Please select either the 1GB, 2GB or 4GB variety.
A boot disk is a recovery method. It also provides basic functionality for setting up hard drives.
The boot disk we will be using for our install is for DOS 6.22, and can be located by following the link.
Start DosBox Daum and you will be met with the command prompt. The command we will be using to create the virtual hard drive is called imgmake.
If you type imgmake and hit enter you will be presented with the syntax of the command if you want to understand the proper formatting.
The proper syntax for imgmake is shown. imgmake (name).img -t hd -size (size) -nofs Notice in our example, we are creating a 1 GB hard drive image.
Please notice that you can name the image whatever you would like. You may also vary the size as you wish. However, FAT16 file system has a hard disk size limit of 2 GB, so you have no reason to go larger (for the purposes of this guide).
Once the program has finished creating the disk image will be created and located in your DosBox root folder (with the executable) unless otherwise specified.
NOTICE: Please be aware that the cylinder head and sector counts are important. You should make a note of these as you need to know what they are.We will now extract the boot disk you downloaded previously into the same root folder as your DosBox executable and presumably your virtual hard drive.
It should be named 622c.ima or 622c.img as shown in the screen-shot. You will of course want to have it unzipped into the folder.
It is time to adjust our config file for ease of use. If you need help remembering how to do this please see part 1 of this guide.
You should add the lines shown to the autoexec section at the bottom of the config file. Be aware that the size and name of your hard drive are important. Particularly the -size parameter. The parameter should be entered as: -size 512,(sectors),(heads),(cylinders)
Once you start DosBox again, you should see the following lines appear.
You should also verify the two images have mounted correctly by seeing that drive 0 was mounted as 622c.img (also known as the A: drive) and drive 2 is mounted as your hard drive image (also known as the C: drive).
There is a reason it is called a "Boot Disk". Boot into dos using the command indicated, type boot -l a.
It should state that it is booting from drive A into MS-DOS.
Once booted into DOS you should be met with a screen like this. You should also have an A: prompt.
You may use the directory command (simply type dir) to see all the programs located on the boot disk. Alternatively simply type "fdisk" and hit enter, as shown.
Once fdisk has started, you will be met with this screen. You should see that you have one fixed disk drive which is our virtual disk we created a few steps ago.
The choice we want is choice 1, to create a DOS partition. 1 is the default choice, simply hit enter to move on.
Next you will be met with the choice of the type of partition we want to create.
The default choice is 1 and this is again the choice we want. We will be creating a primary DOS partition. Verify 1 is your choice and hit enter to proceed.
Type Y into the prompt and hit enter.
You should be prompted to restart. If the program does not automatically restart, simply exit it and start DosBox again.
Once you have restarted DosBox and booted back into DOS, (by typing boot -l a) you should be ready to format the C: drive.
Simply type "format c:" into the A: prompt.
You will be met with a warning, that formatting the drive will lose all data.
No matter, the drive we created a few minutes ago is completely empty. Simply type Y and hit enter.
You should see that it has performed and completed the format for the drive.
You will then be prompted to label your volume (name the drive). You may name it whatever you like within 11 characters. Once complete, simply close DosBox (short-cut key combination Alt+F9 if you are lazy)
A website by Kevin Hawkins Thanks to OS Templates
Contact me at: dosbox95@gmail.com