Open Source Developer Brings Linux to Windows 95, Windows 98, and Windows ME

Microsoft released the “Windows Subsystem for Linux” in 2016, adding an optional Linux environment into every operating system since Windows 10. But now an open source developer has brought Linux to Windows 95, Windows 98, and Windows Me, reports the blog It’s FOSS, “with Linux kernel 6.19 running alongside the Windows 9x kernel, letting both operate on the same machine at the same time.”

A virtual device driver handles initialization, loads the kernel off disk and manages the event loop for page faults and syscalls. Since Win9x lacks the right interrupt table support for the standard Linux syscall interrupt, WSL9x reroutes those calls through the fault handler instead. Rounding it all out is wsl.com, a small 16-bit DOS program that pipes the terminal output from Linux back to whatever MS-DOS prompt window you ran it from.

The end result is that WSL9x requires no hardware virtualization, and can run on hardware as old as the i486, the article points out. On Mastodon the developer says they “really got this one in right under the wire, before they start removing 486 support from Linux.”

The source code for WSL9x is released under the GPL-3 license, and was “proudly written without AI.”

Read more of this story at Slashdot.