Q. How can I install MS-DOS into a virtual machine (VM)?
August 26, 2009
A. The easiest way I've found is to download the MS-DOS 6.22 boot ISO and boot the VM from it. If you're using Hyper-V, you could also use virtual floppy disks and boot from the MS-DOS install disks, but this isn't an option for Windows Virtual PC. Follow these instructions to copy DOS from the ISO to the virtual hard disk.
Start fdisk and create a new primary partition. Once created, reboot the machine and format the new partition as a system partition using the command
format c: /s
Now copy over the content:
C:MD MSDOSCOPY A:*.* .MSDOS /vCOPY A:CONFIG.SYSCOPY A:AUTOEXEC.BATCOPY A:HIMEM.SYSCOPY A:CD1.SYS
You'll now be able to reboot to DOS in your VM. If you're running Virtual PC or Windows Virtual PC, you can even add Windows for Workgroups for a real old-school feel.
Related Reading:
Q. Is Windows Virtual PC in Windows 7 able to run only Windows XP?
Q. Does Windows Virtual PC in Windows 7 support 64-bit guest OSs?
Windows Virtual PC and Windows XP Mode Release Candidate
Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.
About the Author
You May Also Like