diff --git a/docs/qemu.md b/docs/qemu.md index 2ce2055..dab35b5 100644 --- a/docs/qemu.md +++ b/docs/qemu.md @@ -6,23 +6,43 @@ around. Disk image creation ```sh -qemu-img create -f qcow2 win95.qcow2 1G +qemu-img create -f raw windows95_v4.raw 1G +``` + +ISO CD image creation + +```sh +hdiutil makehybrid -o output.iso /path/to/folder -iso -joliet ``` Installation ```sh -qemu-system-i386 -netdev user,id=mynet0 -device ne2k_isa,netdev=mynet0 -hda win95.qcow2 -soundhw sb16 -m 128 -cpu pentium -device cirrus-vga,vgamem_mb=64 -fda boot_floppy.img -cdrom Win95_OSR25.iso -boot a -soundhw pcspk +qemu-system-i386 \ + -cdrom Win95_OSR25.iso \ + -m 128 \ + -hda images/windows95_v4.raw \ + -device sb16 \ + -nic user,model=ne2k_pci \ + -fda Win95_boot.img \ + -boot a \ + -M pc,acpi=off \ + -cpu pentium ``` -Running +- Boot from floppy +- Run `fdisk` and `format c:` +- Run `D:\setup.exe` with `24796-OEM-0014736-66386` +- After completing setup and restarting your computer, you might get an IOS Windows protection error +- Use `fix95cpu.ima` as a bootable floppy to fix +- Use `vga-driver.iso` to install different video driver -With `ne2k_isa` ```sh -qemu-system-i386 -netdev user,id=mynet0 -device ne2k_isa,netdev=mynet0 -drive file=win95.img,format=raw,index=0,media=disk -soundhw sb16 -m 128 -cpu pentium -device cirrus-vga,vgamem_mb=16 -soundhw pcspk -cdrom Win95_OSR25.iso +qemu-system-i386 \ + -m 128 \ + -hda images/windows95_v4.raw \ + -device sb16 \ + -M pc,acpi=off \ + -cpu pentium \ + -netdev user,id=mynet0,net=192.168.76.0/24,dhcpstart=192.168.76.9 \ + -device ne2k_isa,netdev=mynet0,irq=10 ``` - -With `ne2k_pci` -```sh -qemu-system-i386 -net nic,model=ne2k_pci -net user -drive file=win95_ne2k_pci.img,format=raw,index=0,media=disk -soundhw sb16 -m 128 -cpu pentium -device cirrus-vga,vgamem_mb=16 -soundhw pcspk -cdrom Win95_OSR25.iso --enable-kvm -``` -