Running a Full Windows 98 SE Environment in QEMU/KVM Using QCOW2
Windows 98 Second Edition (SE) was designed for physical hardware from the late 1990s. Running it inside a QCOW2 image requires specific configurations to bypass CPU timing bugs, lack of modern driver support, and disk size limitations.
The VM will reboot. Let it boot from the CD-ROM again to format the newly partitioned C: drive.
Are you aiming for a specific use case, like or running legacy database software ?
Running Windows 98 SE in 2026: The Ultimate Guide to qcow2 Full Virtualization windows 98 qcow2 full
Go to Network Properties, ensure is bound to the AMD PCnet adapter, and set it to obtain an IP address automatically (DHCP via QEMU’s internal NAT engine). Step 6: Optimizing the QCOW2 VM for Modern Systems
Windows 98 SE has hard architectural limits built into its 16/32-bit hybrid kernel. Exceeding these limits causes immediate boot failures (such as "Windows Protection Error" or "Out of Memory" loops).
| Component | Requirement | |-----------|-------------| | | -cpu pentium3 or -cpu host,kvm=off (no KVM for Win9x stability) | | Chipset | -machine pc-i440fx-2.1 or older | | Sound | SB16 ( -device sb16 ) | | VGA | Cirrus Logic ( -vga cirrus ) or -device cirrus-vga | | IDE | -device piix3-ide (no AHCI) | | Network | -device ne2k_pci (Realtek 8029 works with NDIS driver) | | ACPI | Disable or use acpi=off (Win98 crashes otherwise) |
Create a primary DOS partition using the maximum available space. Reboot the VM when prompted, keeping the CD-ROM attached. Running a Full Windows 98 SE Environment in
Windows 98 is notoriously unstable. QCOW2 supports native, internal snapshots. You can save the clean state of your OS and instantly roll back if a bad driver or old virus corrupts the system.
-boot order=a : Forces the system to boot from the floppy drive first to initiate partitioning. Step 3: Partitioning and Formatting (FDISK)
-cpu pentium3 : Emulates a Pentium III processor, ensuring maximum instruction-set compatibility.
A image—a QEMU Copy On Write file—offers a portable, efficient, and versatile "full" installation, allowing you to run a complete Windows 98 environment inside modern Windows, Linux, or macOS. What is a Windows 98 qcow2 Full Image? Let it boot from the CD-ROM again to
-m 512 : Windows 98 will crash during installation or throw an "Out of Memory" error if it detects more than 512MB–1GB of RAM due to VCACHE size limitations.
This is usually caused by allocating too many CPU cores or too much RAM. Ensure your hypervisor settings are strictly limited to and a maximum of 512 MB of RAM . There is No Sound
While the default Cirrus Logic driver provides basic functionality, the driver is a much better choice. It is a universal VESA VBE video driver that unlocks 32-bit true color and custom resolutions (like 1024x768 or 1280x1024). Go to Device Manager -> Display Adapters -> Update Driver. Point the installer to the unzipped VBEMP folder.