Win95 on Qemu

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

The result is basic working installation of Windows 95. The display works at standard VGA 800x600. Have not tested much yet.

Host used:


Command to create disks:
  qemu-img create -f qcow2 win95.img 200M
Command to run qemu:
  qemu-system-i386 -nodefaults -drive file=../Downloads/Microsoft\ Windows\ 95\ OSR2\ -\ Boot\ Disk\ \(Dell\ OEM\)\ \(3.5-1.44mb\)/disk01.img,format=raw,if=floppy,index=0 -drive format=qcow2,file=win95.img,index=0,cache=none -boot a -cpu pentium-v1,l3-cache=off -m 128 -display cocoa -vga cirrus -rtc base=localtime -accel tcg -machine hpet=off -serial none -parallel none -cdrom ../ISOs/win95b_osr2_swe.iso -machine acpi=off -machine isapc

Install

Since the Windows 95 install CD is not bootable the procedure is slightly more.
  1. Create boot disc C: as described above
  2. Run qemu
  3. In the DOS bootmenu select Without cdrom support
  4. In DOS run fdisk. Use default settings to partition first disk with a primary DOS-partition covering all space.
  5. reboot
  6. In the bootmenu select Without cdrom support
  7. In DOS: format c:
  8. reboot
  9. In the bootmenu select (default) with NEC IDE CDROM
  10. In DOS:
  11. D:
  12. setup.exe or install.exe
  13. If using the above boot disc with an older version of Windows 95, you may have to Allow install without scandisc
  14. During install don't check boxes for sound, network nor microsoft services like network, mail or fax.
  15. Choose default for components.
  16. When install is finished and Windows says it will reboot first time, let it try. If it fails force shutdown of qemu.
  17. Change "-boot a" to "-boot c" in commandline before continuing with patch and then for use.
  18. Create data drive: qemu-img create -f raw data.img 200M Use format raw to have a drive that is easy to mount in MacOs.
  19. add data drive to qemu command line: -drive format=raw,file=./data.img

Notes

References


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