Restoring a 2004 Windows 98 SE PC in Proxmox: drivers, CD and the shutdown that wouldn’t shut down

Restoring a 2004 Windows 98 SE PC in Proxmox: drivers, CD and the shutdown that wouldn't shut down

🌐 Leer en español

After the Pentium 100’s Windows 95 came the next backup: an August 2004 PC with a SiS motherboard, Accton network card, PCTel modem, C-Media sound and Spanish Windows 98 Second Edition (4.10.2222). It had Mozilla, Nero ImageDrive, Java Web Start, Acrobat Reader 5 and Total Commander: a typical PC of those years.

The VM and the Windows 98 startup disk

Same as with Windows 95: i440FX chipset, 256 MB, a Pentium III-class CPU, a 4 GB IDE disk, Cirrus Logic, Sound Blaster 16, CD-ROM and no network. We booted the Windows 98 SE startup disk, which unpacks FORMAT and SYS onto a RAM disk.

Windows 98’s FDISK asks about large disk support: “Yes” means FAT32, without FAT16’s 2 GB limit.

Windows 98 FDISK: large disk support
Windows 98 FDISK: large disk support
FORMAT C: /S, 4 GB in FAT32
FORMAT C: /S, 4 GB in FAT32

Restore, now with cp1252 file names

The restore script is the same as for Windows 95, with two differences that took a while:

  • the 2004 zip stored its file names in cp1252 (Windows ANSI), not UTF-8;
  • mounted from Linux with iocharset=utf8, a FAT partition becomes case-sensitive, so the zip’s io.sys clashed with FORMAT’s IO.SYS. The fix: delete FORMAT’s four system files before restoring (the zip brings its own).

Besides the usual (.PWL passwords, cookies, history, favourites, My Documents), the Mozilla profile, Flash cookies and InterTrust receipts stayed out too. Then patcher9x for modern CPUs (3 files) and a snapshot.

First boot: Safe Mode

Windows 98 started in Safe Mode on its own: the backup had been taken while the system was running. After a couple of warnings about system files replaced by programs (Nero installs its own WINASPI.DLL), we rebooted normally.

Safe Mode
Safe Mode

Drivers: Windows 98 does see PCI

Unlike Windows 95, this one does detect the VM’s PCI bus, and with it everything else: the ACPI bus, PCI IRQ routing and the Cirrus Logic 5446 PCI video card, which Windows 98 supports out of the box. The “Unknown device” entries are QEMU internals with no driver: just finish without installing anything.

Building the driver database
Building the driver database
The Cirrus Logic 5446 PCI recognised
The Cirrus Logic 5446 PCI recognised

With the right driver, all it takes is High Color (16 bit) and 800×600. Windows 95’s Super VGA trick wasn’t needed: that one is for when Windows can’t see PCI.

Windows 98 SE at 800×600, 16-bit colour
Windows 98 SE at 800×600, 16-bit colour

The CD drive works too: the test ISO shows up as drive D:.

The CD-ROM read from Windows 98
The CD-ROM read from Windows 98

Hunting down the hanging shutdown

The longest part was shutting down. Every time, “This program is not responding” appeared, in a window with no title. This is what we found, in order:

  1. load=ptsnoop.exe in WIN.INI, from the PCTel modem that no longer exists → removed.
  2. Windows 98 fast shutdown disabled (FastReboot=1), a classic remedy.
  3. In the registry, programs for hardware the VM doesn’t have: the C-Media mixer, the modem’s country selector (pctptt.exe), a power-profile Rundll32 and Office’s Machine Debug Manager. We blanked them with a .reg file on CD (Windows 98’s regedit can’t delete values, but it can empty them).
  4. Neither Systray, nor the exit sound, nor the Task Scheduler was the culprit.
The task list at shutdown
The task list at shutdown
"This program is not responding"
"This program is not responding"

The practical conclusion: after those fixes, clicking “End Task” on that warning lets Windows finish shutting down cleanly, and our scripts do it on their own. At the end the screen shows text-mode “garbage”: it’s the It’s now safe to turn off your computer sign, which Windows 98 can’t draw properly in this VM because it doesn’t know how to power off QEMU.

A gift from the era

A stray Enter opened Total Commander 6.01 with its shareware screen: “Please press button No. 2 to start Totalcmd”. It was a member of the Association of Shareware Professionals. It is still sold today, by the same author, with a lifetime licence.

Unregistered Total Commander 6.01
Unregistered Total Commander 6.01

Template and production

  • A vzdump backup (819 MB compressed).
  • A v2 template with all the fixes, and a production VM cloned from it, booted, shut down and given its rollback snapshot, which we return to before every program.

The scripts can be downloaded from 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