Win3 on Qemu

My experience with using Qemu to run Windows 3.11. Please read all notes below before trying any of this.

The result is a basically working installation of Windows 3.11 for workgroups. Have not tested printing, network nor sound.

Host used:


Command to create disks:
  qemu-img create -f qcow2 win3.img 30M
Command to run qemu:
  /opt/homebrew/bin/qemu-system-i386 -nodefaults -drive file=../Downloads/Dos6.22.img,format=raw,if=floppy,index=0 -drive file=../win3inst/Disk01.img,format=raw,if=floppy,index=1  -drive file=win3.img -boot a,menu=on -cpu pentium -m 128 -vga cirrus -rtc base=localtime -accel tcg -machine hpet=off -M acpi=off -serial none -parallel none -display cocoa -no-reboot -machine pc-i440fx-8.0 -monitor stdio

Install

Since Windows 3 install from floppy the procedure is slightly more.
  1. Create boot disc C: as described above
  2. Run qemu and boot from A:, that is the DOS-floppy
  3. In DOS run fdisk. Use default settings to partition first disk with a primary DOS-partition covering all space.
  4. reboot
  5. In DOS: format c:/s, when asked for label something like DISKC
  6. reboot
  7. In DOS:
  8. C:
  9. copy a:\config.sys
  10. copy a:\autoexec.bat
  11. B:
  12. install
  13. when required change disk in monitor (see shell where qemu is started) change floppy1 -f ../win3inst/Disk02.img raw
  14. when Windows install is finished, let it autostart by DOS command
  15. change "boot a" to "boot c" in the qemu command to boot from harddrive rather than floppy
  16. add autostart of Windows like:
  17. c:
  18. echo win >> autoexec.bat
  19. reboot
Enjoy

Notes

References


©Jonas Svensson
lysweb3@jonass.user.lysator.liu.se
Home Senast ändrad juli 2024.
This page was last modified July 2024.