WSL9x Brings Windows 98 Inside Modern Linux

Key Takeaways

- WSL9x reverses the typical WSL concept by running Windows 9x inside Linux rather than Linux inside Windows
- The project requires multiple dependencies including a patched Linux kernel, VxD driver, and Busybox binary
- Setup involves significant manual work including kernel compilation and proper PATH configuration
Reversing the WSL Formula
Windows and Linux have a complicated relationship. Projects like Wine let Linux users run Windows applications. Microsoft's Windows Subsystem for Linux (WSL) does the opposite, bringing Linux environments to Windows machines. Both use compatibility layers to bridge the gap between the two operating systems.
Developer Hailey took a different approach. WSL9x brings Windows 9x, the operating system family that includes Windows 95, 98, and ME, inside Linux. Think of it as WSL in reverse, but for vintage Microsoft software.
The project lives on Codeberg and consists of three main components: a VxD driver for initialization, a patched Linux kernel, and a wsl.com client file. Getting all three pieces working together takes real effort.
The Setup Process Is Not Simple
WSL9x requires several dependencies before you can even start. You'll need standard kernel development tools and linux-headers. The first step is cloning the repo to a local directory.
Before moving forward, you must clone and install i386-linux-musl from the musl-cross-make GitHub repository. After building it, export the PATH to that location. This step is mandatory. Without it, the project won't compile.

You'll also need Open Watcom V2 and a Busybox 1.36.1 binary in the bin folder. The project documentation doesn't make this obvious, but it's essential. Copy the Busybox source, build it, and move it to /wsl9x/bin/. Without these binaries, nothing works.
Fastfetch appears in the dependency list, but you can skip it. Comment out the relevant line in the win9x_cpio_list file under /wsl9x/linux/ if you want to avoid this requirement. Just remember to update the same file when tweaking other dependencies.
Building the Patched Kernel
The next phase involves building a patched Linux kernel. Set the WATCOM environment variable and run the second command from the repo instructions.
Cloning the Linux repository sometimes fails. If you hit this problem, download the repo as a .zip file from GitHub instead. Extract the contents into the Linux folder and continue from there.

You may need to generate a config file before compiling. This step takes time, so be patient. Once compilation finishes, import a Windows 9x image file. The file must be named exactly hdd.base.img. Grab a Windows 98 ISO and prepare it according to the project's specifications.
Why Run Ancient Windows on Linux?
The obvious question: why bother? Legacy software is one answer. Some older applications and games only run on Windows 9x. Researchers, historians, and hobbyists sometimes need access to these systems.
The project also demonstrates what's technically possible when developers push platform boundaries. Running a 25-year-old operating system inside a modern Linux environment requires solving interesting compatibility problems.

Logicity's Take
Another guide for technical users wanting more control over their systems
Frequently Asked Questions
What is WSL9x?
WSL9x is a project that runs Windows 9x operating systems (Windows 95, 98, ME) inside Linux, reversing the typical Windows Subsystem for Linux approach.
Who created WSL9x?
A developer named Hailey built WSL9x. The project is hosted on Codeberg.
What dependencies does WSL9x require?
WSL9x needs kernel development tools, linux-headers, i386-linux-musl, Open Watcom V2, and a Busybox 1.36.1 binary. Optional dependencies include Fastfetch.
Is WSL9x easy to set up?
No. The setup involves multiple compilation steps, PATH configuration, and building a patched Linux kernel. It requires significant technical knowledge.
Why would someone want to run Windows 98 on Linux?
Use cases include running legacy software that only works on Windows 9x, historical research, and hobbyist experimentation with vintage operating systems.
Need Help Implementing This?
Source: MakeUseOf
Huma Shazia
Senior AI & Tech Writer
Related Articles
Browse all
How to Jailbreak Your Kindle: Escape Amazon's Control Before They Brick Your E-Reader
Amazon is cutting off support for older Kindles starting May 2026, but you don't have to buy a new device. Jailbreaking your Kindle lets you install custom software like KOReader, read ePub files natively, and keep your e-reader alive for years to come.

X-Sense Smoke and CO Detectors at Home Depot: UL-Certified Alarms You Can Actually Trust
X-Sense just made their UL-certified smoke and carbon monoxide detectors available at Home Depot stores nationwide. The lineup includes wireless interconnected models that can link up to 24 units, 10-year sealed batteries, and smart features designed to cut down on those annoying false alarms that make people disable their detectors entirely.

How to Change Your Browser's DNS Settings for Faster, Private Browsing in 2026
Your browser's default DNS settings are probably slowing you down and leaking your browsing history to your ISP. Here's why changing this one setting should be the first thing you do on any new device, and how to pick the right DNS provider for your needs.

Raspberry Pi at 15: Why the King of Single-Board Computers Is Losing Its Crown
After 15 years of dominating the hobbyist computing scene, the Raspberry Pi faces serious competition from cheaper alternatives, supply chain headaches, and a market that's evolved past its original mission. Here's what's happening and what it means for your next project.
Also Read

Silent Whispers Announcement Sparks Love and Deepspace Comparisons
Archosaur Games announced Silent Whispers, a new 3D romance game that has the otome gaming community buzzing over its striking resemblance to Love and Deepspace. While fans point out the similarities between character designs, others are intrigued by the game's non-gacha model and action-focused gameplay.

FF14 Patch 7.5 Lets You Consolidate 105 Dyes Into 3 Slots
Final Fantasy 14's latest update introduces a dye consolidation system that lets players trade in their hoarded pigments for new spectrum dyes. The change frees up massive inventory space for glamour enthusiasts who've been drowning in color options.

10 Slack Shortcuts That Cut Through Notification Overload
Slack's built-in features go far beyond chat. From custom sidebar sections to slash commands and VIP contacts, these shortcuts help you manage message volume and stay focused on what matters.