How to Install DOS 6.22 Under VirtualBox

522,002

41

75

Introduction: How to Install DOS 6.22 Under VirtualBox

This Instructable was created to walk you through the steps required to install DOS 6.22 in VirtualBox.  I know it is an old operating system, but it is fun to mess around with. 

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Step 1: Download VirtualBox

First, you need to download and install the virtual machine, Oracle VirtualBox.  It is a free download.

https://www.virtualbox.org/

Step 2: Step 2: Download DOS 6.22

For your convienience, I have provided you with a link to download DOS 6.22.  Just click on the link below.

https://www.dropbox.com/sh/jzm0fbnb7fz526u/mKJ19A1JMo

The files have the extension .img, which is a virtual floppy disk image.

Step 3: Step 3: Run VirtualBox and Set Up the Virtual Machine

In this step, you will add a virtual machine that will run DOS 6.22.

First, open VirtualBox

At the top of the screen, you will see a button labeled "New".  Click that.

Click next.

Give the virtual machine a name.

Click next.

Give the virtual machine some RAM.  I chose 64 megs because that is the most that DOS 6.22 will see.  You could choose something lower if you wanted to.

Click next.

Click "Create New Disk".

Click next.

Choose a virtual hard drive format.  The top option works fine, unless you have a reason to choose a different one.

Click next.

Choose between dynamically allocated and fixed size.  Dynamically allocated will let the virtual hard drive grow and shrink as you add files, but will be slower.  Fixed size would be like the hard drive in your computer.  It is only one size.  This will vbe faster.

Click next.

Choose the size of the hard drive.  If you chose dynamically allocated, you will choose the maximum size of the hard drive.

Click next.

Click create.

Click create again.

Step 4: Step 4: Configuring the Virtual Machine

Right click on the virtual machine you just created and click settings. (I renamed mine DOS because I already had one nme DOS 6.22)

Go to the "System" page and click on the "Acceleration" tab.  Make sure everything is UN-checked.

Next go to the "Display" page and set the amount of video memory.  I used 8 MB, but you can use pretty much any amount above the red.

Next go to the "Storage" page and click on the "Add Controller" button.  Then click "Add floppy controller".

Click on the "Add Floppy Device" button.

In the windows that pops up, click "Leave Empty".

Next go to the "Audio" page and make sure it is set to SoundBlaster 16.

Go to the "Network" tab and choose "Bridged Adapter", then choose your network adapter.  I don't know if DOS can access the internet, but this is the setting you would need to perform for any virtual machine to access the internet and the network.

This is optional: Next to go the "Serial Ports" page. If you need serial support, you need to check the check box "Enable Serial Port", and if you need two ports, go to the "Port 2" tab and uncheck the same box.

Click "OK" at the bottom of the window.

Step 5: Setp 5: Installing DOS

Double click on the virtual machine that you created for DOS. (I renamed mine DOS because I already have one name DOS 6.22)

Click on "Devices", mouse over "Floppy Device", and click "Choose a Virtual Floppy Disk File"

Navigate to where you downloaded the setup disks and double click on disk one.

Close the virtual machine's windows and select "Power off the machine".  Then press "OK"

Agian, double click on the virtual machine that you created for DOS.

Follow the setup instructions to install DOS 6.22.

To insert disks 2 and 3 when setup asks you to, just follow the second direction in this step.

Step 6: Step 5: Congratulations!

Congratulations!  You should now have a working copy of MS-DOS version 6.22 running in VirtualBox!  Leave comments at the appropriate step about anything you have to say about it.  Use this step to leave comments regarding the entire Instructable.  Good luck!

8 People Made This Project!

Recommendations

  • LED Strip Speed Challenge

    LED Strip Speed Challenge
  • Sculpting Challenge

    Sculpting Challenge
  • Clocks Contest

    Clocks Contest

75 Discussions

0
Ppl4world
Ppl4world

Question 2 months ago

Hi, love the tutorial. But now I am stuck with trying to get files onto the virtual hard-drive. I'm on a mac and the PowerISO etc apps to create a floppy drive image only are available for windows machines. Any tips on how to get some files onto the Dos virtualbox from my Mac? Thank you!

1
cal.clack
cal.clack

Question 7 months ago on Introduction

DOS 6.22 loaded and ready. How do I copy some pre-existing bat files from real hard drive to v drive ? I wrote a few applications in Lattice many, many years back and would like to play around with the code, just to see if can work. Thanks in advance.

0
SamaraW1
SamaraW1

2 years ago

Dankon!

1
Mamet67
Mamet67

2 years ago

Great, thank you very much. Easy and smooth.

0
Bagobolts
Bagobolts

2 years ago

Great tutorial! The reason for my creating this system is to, if possible, run a DOS Data Recovery Program! Besides the Target drive a Destination drive of equal or larger capacity is needed! Having to create the VHD and VFlop like shown however am I barking up the wrong tree expecting all the drives to be mounted and accessible in the directory after installing the OS?

0
rkromoser
rkromoser

2 years ago

Yes. the Installation with the provided img files works. Now I will install software like MASM or Turbo-C on my MS-DOS machine. All the nice Blogs about shared directories will not work because I have no "net use X: \\vboxsvr\share" beacuase the net command does not exists in DOS. Which possibilities do I have to install Software in my DOS machine?

Greetings

Robert

0
Lightning GamerM
Lightning GamerM

2 years ago

Failed to open the disk image file C:\Users\Bram\Downloads\Setup Disks\setupdisk1.img.


The medium 'C:\Users\Bram\Downloads\Setup Disks\setupdisk1.img' can't be used as the requested device type.

Result Code: E_FAIL (0x80004005)Component: MediumWrapInterface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}Callee: IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
0
jnc27
jnc27

3 years ago

Thank you!

How can I change the IP address?

0
AndreA172
AndreA172

3 years ago

Awesome, thank you! :-)

0
Robertowaa
Robertowaa

3 years ago

Thanks, man! much appreciated!

0
gooolias
gooolias

3 years ago

This is great!!!! Thanks a lot! I remember the days I used MS Dos 5 and made several changes to config.sys and autoexec.bat to get 1k more to play some games!

0
ArthurB4
ArthurB4

3 years ago

Thanks for the information!!! I've been wanting a DOS VM for a while. Thanks for the detailed info.

0
SudhirJ7
SudhirJ7

3 years ago

Thanks for so detailed instructions. Everything was just smooth sailing.

Thanks.

0
NetB1
NetB1

3 years ago

Thanks.

0
NetB1
NetB1

3 years ago

Thanks.

0
Jonathan H.P
Jonathan H.P

4 years ago

OK, Step 5 gets a little confusing for someone who hasn't played with Virtualbox before. The sequence should be like this:

1. Choose setupdisk.img as per above instructions

2. Click on OK, and then click on the green 'Start' arrow to run your virtual machine. The machine will boot up, and you will be presented with the blue installation screen. Press ENTER to continue with installing MS-DOS. Don't worry about formatting your drive -- it's just the virtual drive you created previously.

3. The machine will reboot, 'format' the drive and install the first disk. When it prompts you to insert the next disk, switch back to the Oracle VM Virtualbox Manager, and click on 'Storage'. Click on the setupdisk1.img to select the drive, and then click on the little floppy disk icon, to navigate to setupdisk2.img, and select this. Make sure it's still the same virtual floppy drive (Floppy device 0).

4. Click on OK and switch back to your virtual machine. Press ENTER and you should see the progress bar continue to about 2/3 mark.

5. Repeat the 'disk swap' procedure to 'insert' setupdisk3.img. When you are prompted to remove disks, switch to VM Manager, and, as before, click on 'Storage' and then select the disk image. Click on the floppy disk icon, and select 'Remove disk from virtual drive.'

Restart the virtual machine and you should be good to go.

0
tfarris
tfarris

4 years ago

simple didnt think that it was that eeasy

0
snoop911
snoop911

4 years ago

There's a dos 6.22 iso image at AllBootDisks.. would the installation procedure be the same? Modifying the .iso to add my own files and compilers (using MagicISO or PowerISO), but what about getting (generated) files out of the DOS machine?

Any thoughts on using vmware player... easier/harder to setup and/or copy files in and out?

Or using ready made dos virtual machines (like from GetIntoPc) or Freedos virtualboxes.org?

0
MatthijsK
MatthijsK

5 years ago on Introduction

Hey i'v got a problem.

if I boot DOS 5.0 in virtualbox I get in floppy drive A:\ and if I type "copy files to drive c:\" I'll get the message "too many parameters".

So how do I get in the c:\ drive?