Tech/HowTo/QEMU MS Windows 95

From lathama
< Tech‎ | HowTo
Jump to navigation Jump to search

I got a box of old software at an auction and wanted to play. I have an installer disk for MicroSoft Windows 95 and wanted to try in QEMU on Linux

Testing

NOTE I had bad media and wasted a ton of time on a corrupt floppy :(
TLDR
 $ qemu-system-i386 --version
 QEMU emulator version 7.2.9 (Debian 1:7.2+dfsg-7+deb12u5)
 Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
 mkdir -p virtual_machines/drives virtual_machines/iso
 dd if=/dev/cdrom of=virtual_machines/iso/win95.iso
 cd virtual_machines/
 qemu-img create -f qcow2 drives/mswin95.qcow2 800M
 qemu-system-i386 -drive file=drives/mswin95.qcow2,if=ide,id=disk1 \
                  -drive file=iso/win95.iso,index=3,media=cdrom,readonly=on \
                  -drive file=floppy/win95.img,format=raw,index=0,if=floppy \
                  -cpu pentium,kvm=off \
                  -m 128 \
                  -display sdl \
                  -vga cirrus \
                  -device sb16
Post install I am getting a windows protection error

Tried https://jeffpar.github.io/kbarchive/kb/150/Q150164/ and it did not help

Safemode works fine, it looks like there is some hardware that is causing issue. Note that 95 does not like when things have to much ram like a SCSI/IDE controller cache