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. 

Step 1: Step 1: Download VirtualBox

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

<p>Thank you!</p><p>How can I change the IP address?</p>
<p>Awesome, thank you! :-)</p>
<p>Thanks, man! much appreciated!</p>
<p>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!</p>
<p>Thanks for the information!!! I've been wanting a DOS VM for a while. Thanks for the detailed info.</p>
<p>Thanks for so detailed instructions. Everything was just smooth sailing.</p><p>Thanks.</p>
<p>Thanks... and now I will go for Turbo Pascal :)</p>
<p>Thanks. </p>
<p>Thanks. </p>
<p>OK, Step 5 gets a little confusing for someone who hasn't played with Virtualbox before. The sequence should be like this:</p><p>1. Choose setupdisk.img as per above instructions</p><p>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.</p><p>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).</p><p>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.</p><p>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.'</p><p>Restart the virtual machine and you should be good to go.</p>
<p>simple didnt think that it was that eeasy</p>
<p>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? </p><p>Any thoughts on using vmware player... easier/harder to setup and/or copy files in and out?</p><p>Or using ready made dos virtual machines (like from GetIntoPc) or Freedos virtualboxes.org?</p>
<p>Hey i'v got a problem.</p><p>if I boot DOS 5.0 in virtualbox I get in floppy drive A:\ and if I type &quot;copy files to drive c:\&quot; I'll get the message &quot;too many parameters&quot;.</p><p>So how do I get in the c:\ drive?</p>
<p>Dude, DOS doesn't understand normal english. BUt you can type in help and learn what's the proper english used in DOS</p>
<p>The &quot;Help&quot; command only works in windows based &quot;DOS&quot; also known as &quot;CMD.exe&quot; or &quot;Command&quot; if you are using actual &quot;DOS&quot; (v.6.22 was the last official standalone build) then you will have to learn the proper commands for it to respond the way you would like it. I suggest either looking online or in a library for a book called &quot;DOS For DUMMIES.&quot; It is a very good resource for people learning to use legacy software and OS's (Operating Systems)</p>
<p>Dude, DOS doesn't understand normal english. BUt you can type in help and learn what's the proper english used in DOS</p>
<p>type help and it will display all dos commands.</p>
<p>Type this:</p><p>A:</p><p>copy *.* C:\</p>
DOS is a very specific operating system, so general commands like that will not work. Instead of me giving you commands from my memory, just do a search for DOS commands, and it will give you the commands, parameters, and use for each command. To get to the C drive you simply type &quot;C:&quot; without the quotations.
<p>wait a min.</p><p>if u all are doing this just to play dos games....then just install dos box</p><p>its an emulator..... about 4 mb</p><p>and try CAESAR 2 for dos</p><p>one of the best games</p><p>SETTLERS gold edition is also nice</p>
<p>Great Job KaydenST,</p><p>Thank YOU! Now I can install MS-DOS applications from Archives.org. They have a Large Archive of Dos Games..</p><p>Cheers,</p><p>Barry @bearflag7</p><p>Cheers, Barry</p>
<p>hi thanx dear i have done it just u told . but now how i can connect the usb in it through virtual box . i want to to copy a program from usb to the c drive of dos. and one more Q plz tell can i make partition in dos if yes plz snd the tutorial .. thanx alot</p>
<p>Use a windows XP - 10 cd to make partitions, but that means you need to reinstall DOS</p>
Just as Arthur.ludwiczak said, it is best to pack the files/folders into an .img file, which emulates a floppy drive. You can then load that .img file into VirtualBox and copy the files from the A drive, treating it as a real floppy. DOS doesn't have USB support that I am aware of, but there are CD drivers you can install in DOS to let you pack files into a CD image. That way, you have more space.
<p>Good thing I found this. I now have another alternative to use on my good old DOS games. I am currently using DOSBox and I want to explore the difference between VirtualBox and DOSBox. Thanks.</p><p>By the way, if you're not used to DOS, you might have a hard time executing applications. All things are done manually instead of clicking. :)</p>
<p>You can, dude. It's a very tedious process, though, to install a mouse</p>
<p>Obrigado!</p><p>Funcionou muito bem!</p>
<p>I still have my original Dos installation disks. How do I use those instead of your disk images?</p>
<p>tbouve.....uh oh.....started 6.22 up and &quot;no bootable medium found. System halted&quot; was displayed. any suggestions? Thanks</p>
<p>Did you get a solution to this as I have exactly the sample problem ie: </p><p>started 6.22 up and &quot;no bootable medium found. System halted&quot; was displayed. Despite the fact that the 3 img files are available in DropBOx. Can you now help me ?</p>
<p>Change HDD as your first boot device should work.</p>
<p>I got dos installed and the commands seem to work. I cant figure out how to add programs to the virtual c drive or open dos programs stored on the real hard drive. I can see dos but cant use it to run programs. Whatever shall I do?</p>
There is software available to put files in a virtual floppy disk. MagicISO is one of those programs. You add files to the program, and it'll save the files into a single file that is seen by the Virtual Machine as a floppy disk. You can then select the file in the Virtual Machine as if you were selecting a floppy drive. Short of installing a CD driver for DOS and putting files into a virtual CD, this is your only option to transfer files between DOS and the real hard drive. There is an option to add a shared folder to the virtual machine, but I haven't experimented with it. Google will surely help you with the process. You also gave me an idea for a future Instructable lol. Hope this helps.
<p>Yes, there is another way to transfer files between DOS guest system installed in virtual machine and the host system. You must create another virtual machine with support of shared folder and connect the virtual drive of DOS system as virtual drive of this Machine. For example, if the name of virtual DOS disk file is Dos.vdi, and Windows XP is another Virtual Machine with shared folder support - add the Dos.vdi as the second IDE drive. You can read and write files to this disk from Windows XP. Unfortunately, this feature is not permanent (or I couldn't find the right way to do it) - the next time when you start Windows XP Virtual Machine, the second drive is absent:( - it must be attached in the same way as described above.</p>
<div>Quiz&aacute;s quisiste decir: <a rel="nofollow">Listo para instalar el software para revivir mi antiguo <strong><em>BBM</em></strong>.</a><div><div><div><div><div>Ready to install the software to revive my old BBS.!</div></div></div></div></div></div>
<p><a href="http://turbobit.net/cru6ptysbaad.html" rel="nofollow">http://turbobit.net/cru6ptysbaad.html</a></p><p>File ready MS DOS.<br></p>
<p>If you like DOS and/or its software you can participate in a new international project. We are looking for 100 users and 10 developers (to start), from all over the world who want to use DOS and if we find them, it will be back (updated and free, of course). The new software for this OS will be available, too. <br>If you are interested &ndash; contact us: dosrenewal@gmail.com and let us know that you want to use either DOS or its software so we could add you to the users list. In addition, we invite programmers interested in working on the DOS kernel, drivers and software.</p>
<p>Of course DOS can use the internet. w/ appropriate drivers, esp in 32-bit Freedos Arachne can be lightning.</p>
<p>Yeah that's all good and well but I allready did that</p><p> in the first place. So what now?</p>
<p>Btw English is not my mother language I'm from Holland</p>
<p>Hamraz you simply need to pack your folder into the <strong>.img</strong> file and mount as a floppy so you can see your files. You can also use &quot;<em>Devices -&gt; Floppy Devices -&gt; Choose a virtual floppy disk file</em>&quot;. After inserted you simply go to drive a: and copy files to c:\</p>
<p>Small problem:<br><br>After I installed MS-DOS, I went through the whole installation process, then I got to the DOS screen, the one that is much like today's CMD, and typed &quot;WIN&quot;, which is the command to start Windows. This, however, did not register with the system. If you could help me resolve this issue, that would be great,</p>
That is because Windows is not included in DOS. You have to install Windows separately after you install DOS. I might put a link to Windows 3.11 installation disks in this tutorial so you can do that.
<p>Ok, thank you. I realy appreciate it.</p>
<p>How do I make full screen work? Can't use the guest additions CD unless I (get ready for this) install CD drivers for DOS.</p>
<p>there is a key combo for fullscreen that I can't remember. VirtualBox's help or Google is the answer lol</p>
<p>I did it! Don't have a picture but honest, I made it!</p>
<p>Now why exactly would you disable everything in the acceleration tab?</p><p>Nested Paging might not be useful to the average home user, but the processor virtualization extensions are always good. </p>
I will have to play around with it again, but I believe it is due to compatibility with DOS. From my memory, DOS wouldn't function properly with the options under &quot;Acceleration&quot; enabled. If that is incorrect, I may have disabled them just to better emulate the function of older PCs. I remember when I installed Windows 95 under a virtual machine, some of the options would impede performance.