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:
- MacBook Air (M1) macOS Sonoma version 14.4.1
- QEMU emulator version 9.0.0 (homebrew)
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.
- Create boot disc C: as described above
- Run qemu and boot from A:, that is the DOS-floppy
- In DOS run
fdisk
. Use default settings to partition first disk with a primary DOS-partition covering all space.
- reboot
- In DOS:
format c:/s
, when asked for label something like DISKC
- reboot
- In DOS:
C:
copy a:\config.sys
copy a:\autoexec.bat
B:
install
- when required change disk in monitor (see shell where qemu is started)
change floppy1 -f ../win3inst/Disk02.img raw
- when Windows install is finished, let it autostart by DOS command
- change "boot a" to "boot c" in the qemu command to boot from harddrive rather than floppy
- add autostart of Windows like:
c:
echo win >> autoexec.bat
- reboot
Enjoy
Notes
- Did select quick install
- Did not select to install printer nor network
- About 15-20MB disk is in used after install
- The qemu window may appear behind other window.
References
©Jonas Svenssonlysweb3@jonass.user.lysator.liu.se
Home
Senast ändrad juli 2024.
This page was last modified July 2024.