Bringing a Pentium 100’s Windows 95 back to life in Proxmox (from its original backup)

Bringing a Pentium 100's Windows 95 back to life in Proxmox (from its original backup)

🌐 Leer en español

In a drawer there was a 2017 backup: the whole disk of a 100 MHz Pentium running Spanish Windows 95 OSR2, with CorelDRAW 5, PageMaker 6.5, Office, Acrobat 3, Total Commander and Norton AntiVirus. And an old Windows 95 boot floppy. With that and a Proxmox server we watched it boot again. Here is the recipe, including everything that went wrong along the way.

The virtual machine

A VM with hardware as close as possible to a 1996 PC:

  • i440FX chipset, 128 MB RAM, a Pentium II-class CPU, a single core;
  • a 2 GB IDE disk (the largest FAT16 partition);
  • Cirrus Logic video and a Sound Blaster 16 (QEMU emulates both);
  • no network card: programs come in on CD (one ISO per program) and nothing reaches the internet;
  • the floppy, as an image, through args in the VM configuration.
Windows 95 boot floppy menu
Windows 95 boot floppy menu

Floppy, FDISK and FORMAT, like in 1995

Boot the floppy without CD-ROM support, let fdisk create the largest primary partition and make it active, reboot, and format c: /s leaves the disk formatted with the system on it.

Windows 95 FDISK
Windows 95 FDISK
FORMAT C: /S finished
FORMAT C: /S finished

The floppy came from the first release of Windows 95 (1995) and the backup was OSR2 (1996). It doesn’t matter: copying the backup on top overwrites the system files and OSR2 boots.

Restoring the backup… without anyone’s personal data

Here we changed the usual method (a Linux rescue disc and everything by hand): we mounted the VM disk on the Proxmox host itself and restored it with a Python script that:

  • creates “Archivos de programa” first, so its short name is ARCHIV~1, as the registry expects;
  • keeps accents and the ñ intact (code page 850);
  • leaves personal data out: saved passwords (.PWL), e-mail, address book, My Documents, My Briefcase, recent files, cookies, history and the internet cache.

A fun detail: Norton had 30 viruses in quarantine, and there was a cleaner for the Byway virus with a COMMAND.COM that was probably infected. Those stayed out too.

The patch for modern CPUs

Windows 95 on a 3.5 GHz processor throws Windows protection error: a calibration loop (in NDIS.VXD and other files) was never meant for CPUs that fast. Today’s fix is patcher9x, which boots from its own floppy inside the VM and patches 7 files.

patcher9x applied
patcher9x applied

Before the first boot, a Proxmox snapshot. Those Windows versions were treacherous: if they didn’t like a driver, they never booted again.

First boot: the original owner's logon
First boot: the original owner's logon

The video driver: the hard part

Once in, Windows complains: “Your display adapter is not configured properly”. The original PC had a Trident card; the VM has a Cirrus Logic. What happened next is the most instructive part:

  1. The wizard asked for the Windows 95 CD. The CD’s CAB files we had were from a different build (950A) than the installed OSR2, so we extracted all of them (2,003 files) into C:\W95\WIN95. That way Windows finds any file no matter which CAB it looks in. For version conflicts, always “keep the existing file”.
  2. The Cirrus driver installed, but with a yellow exclamation mark, just like the “Plug and Play BIOS”. The reason: this Windows 95 can’t see the VM’s PCI bus, and QEMU’s Cirrus is a PCI card.
Device Manager with warnings
Device Manager with warnings
  1. Removing devices and detecting again didn’t help. The fix came from experience: open C:\WINDOWS\SYSTEM.INI and, in the [boot] section, change
display.drv=pnpdrvr.drv

to

display.drv=supervga.drv

pnpdrvr.drv tells Windows “use the driver of whatever device Plug and Play detected”, and since it detected none, it fell back to 16-colour VGA. Super VGA is Windows 95’s generic driver: it talks to the card through its VESA BIOS and doesn’t need the PCI bus. Result: 800×600 on the first try.

Windows 95 at 800×600 with Super VGA
Windows 95 at 800×600 with Super VGA

If more colour is ever needed, there is BearWindows’ VBEMP 9x (“Universal VESA/VBE Video Display Driver”), which does the same with 16- and 32-bit colour.

The CD drive works

With a test ISO in the VM’s CD drive, Notepad opens D:\LEEME.TXT. That’s how each program to be tested will get in.

The VM's CD-ROM, read from Windows 95
The VM's CD-ROM, read from Windows 95

Final tweaks and the template

  • Norton, the Office startup item and Find Fast taken out of startup (moved to a folder, not deleted).
  • Screen saver disabled.
  • A vzdump backup (323 MB compressed) and the VM turned into a template: test clones come from it with a limpio (clean) snapshot, and we return to that state before every program.

What we learned

  • An old backup can be restored into a modern VM, but Windows 95 has to be patched for today’s CPUs.
  • Loose CAB files on the disk avoid the eternal “insert the Windows CD”.
  • If Windows 95 can’t see PCI, Super VGA in SYSTEM.INI saves the day.
  • Always take a snapshot before touching drivers.

The scripts we used (restore without personal data, sending keys to the VM, screenshots and snapshot reset) can be downloaded at the end of the restore CD article.

Series "Reviving old PCs in Proxmox": MS-DOS + Windows 3.11 · Windows 95 · Windows 98 SE · Windows XP · Restore CD

Got an old PC, a backup or a question? Tell us in the blog's Telegram group: Telegram group

Enjoyed it? Follow us on social media

We post new things every week: don't miss them.

YouTubeFacebookXInstagramTelegram