QEMU/Guests/Windows 98: Difference between revisions

Jump to navigation Jump to search
improved (needs screenshots!!)
No edit summary
(improved (needs screenshots!!))
===QEMU===
====Pre-installation====
This guide recommends you to use the [https://github.com/oerg866/win98-quickinstall|Windows 98 QuickInstall Project]. ([https://archive.org/details/win98qi_v0.9.3|example built ISOs are available here at archive.org]). Download either win98qi_v0.9.3_ALL.iso, if you want to have 98lite variants alongside stock 98SE or just download win98qi_v0.9.3_stock.iso for only stock 98SE. The ISO comes with utilities inside for you to install if needed.
 
Make a qcow2 image (or a raw image if you want) by typing
<pre>qemu-img create -f qcow2 win98.img 1G4G</pre>
 
'''1G4G''' can be replaced with however big you want the hard drive to be (with G standing for Gigabytes). Windows 98 is a very old OS and does not take up a lot of space.
 
When that's done, run the following command:
 
<pre>qemu-system-i386 -hda win98.img -cdrom win98_iso_name.iso -bootcpu dhost -cpuaccel pentium2kvm -m 128M pc-vga cirrusi440fx-2.0,hpet=off -net nic,model=pcnet -net user -localtime</pre>
 
The machine argument is set to pc-i440fx-2.0, this is to get around the PCI Bus bug that persists within QEMU.
Windows 98 works on some machines with KVM, some it doesn't. To be safe, we'll just disable it, you don't really need it anyways. We also use an emulated Pentium II instead of a Pentium although it works on an emulated Pentium just fine.
 
You can also use VMWare graphics adapter instead of Cirrus if you have the drivers available.
 
We set the memory to 128 MB, but it can run on as low as 8 MB of RAM, although this isn't recommended if you want to be running any programs.
 
====After installation====
 
Upon booting the ISO of your choice, if you are using the win98qi_v0.9.3_ALL iso image, then select whichever variant of 98 (or ME) would you like to install and then proceed to format a single FAT32 partition taking up all of available space and mark it as bootable, make sure to write changes to the disk and exit. Once prompted to install integrated device drivers, select Yes and continue. By any circumstances do NOT select slow PnP detection as this will hinder the installation process, let it install and reboot.
<pre>qemu-system-i386 -hda win98.img -boot c -cpu pentium2 -m 128 -vga cirrus -net nic,model=pcnet -net user -localtime</pre>
 
Once you make it to the Desktop, Open System Properties and head to the Device Manager, Open the Disk Drives selection and open the properties of the "QEMU HAR DDISK" drive and enable DMA on the Settings tab, after this let it restart and you're good to go.
 
[[Category:Windows installation guides]]

Navigation menu