QEMU/Guests/Windows 1.x-2.x: Difference between revisions

no edit summary
No edit summary
Don't enable KVM or HAXM or any kind of acceleration, as Windows 1 will instantly crash if its running too fast. We also don't enable the network since its rather pointless, though it is possible to install a packet driver to use the internet from DOS.
 
Windows 1 is not its own OS like Windows NT is - you need to install MS-DOS first. MS-DOS 2.0 is required to run Windows 1. For this tutorial, we will be using MS-DOS 3.30. You can grab MS-DOS 3.30 [https://winworldpc.com/download/c2a9c3a8-c692-c3bb-3950-11c3a5c290ef from here]. MS-DOS 6.22 and FreeDOS will also work - we will cover how to run it there later.
 
===Installing MS-DOS 3.30===
 
===Running Windows 1 in DOS 6.22===
Some users may not want to install DOS 3.30, since its much older and far more complicated to install. Windows 1 will NOT work properly in DOS 6.22 unless you use the <code>setver</code> command. Install Windows 1 normally, then do the following:
 
*Open <code>config.sys</code> and make sure that <code>device=C:\DOS\SETVER.EXE</code> is somewhere in there.
*Reboot
 
Then Windows 1 should work. This does not need to be done on FreeDOS.
 
===Installing Windows 1.0x===
<pre>qemu-system-i386 -m 1M -hda DOS.img -net none -vga std -name "Windows 2.0 (x86)" -monitor stdio -display sdl -rtc base=localtime</pre>
 
Follow the instructions above to install MS-DOS 3.30 and then proceed with Windows 2.0 install. You will have to use the same trick as Windows 1 to run this underin DOS 5 or above - see "Running Windows 1 in DOS 6.22" for more info.
 
There are several versions of Windows 2: Windows 2.01, 2.02, 2.03, 2.10, and 2.11. Windows 2.01, 2.02 and 2.03 can still install and run from a floppy - Windows 2.10 and above need a hard disk.
 
You can run whichever version you want, Windows 2.11 is recommended since its the newest. It does NOT matter if its the 286, 386, or 8086 versions, they'll all run fine in QEMU.
 
Just like with installing MS-DOS, switch to the serial console and set the floppy of Disk 1 to whichever Windows 2 version you're using, the install is extremely simple and is done entirely through the command line. The setup will ask you questions about your PC, answer the following:
*If you want to use the high memory area and you're on a DOS version newer than 5.0, edit config.sys, remove the "DOS=HIGH" line and restart the system.
*Press E to set extended memory to available
*"C" to Continue Setup and skip installing the printer
*Set your country
*Finish off the rest of the setup