惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tailwind CSS Blog
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
L
LangChain Blog
博客园_首页
Recent Announcements
Recent Announcements
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Hackread – Cybersecurity News, Data Breaches, AI and More
爱范儿
爱范儿
博客园 - 叶小钗
博客园 - 【当耐特】
The Cloudflare Blog
J
Java Code Geeks
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans

The Register - Software: OSes

Fedora: Microsoft is all aboard, but Deepin is dumped Microsoft promises to do better, but it has a long way to go First big Microsoft update after vow to 'win back fans' Who needs ghost train scares when Windows is such a fright? Microsoft boss tells investors the company is working to 'win back fans' Microsoft boss says company is working to 'win back fans' Linux cryptographic code flaw offers fast route to root Fedora 44 is out – countless versions of it Microsoft sets its sights on the past with 86-DOS and PC-DOS Microsoft updates the Windows Update Experience Windows second-chance setup hurts IT, productivity Ubuntu Resolute Raccoon drops Xorg, keeps X11 apps alive More ancient Linux device support facing the ax UK tribunal sends £2B claim accusing Microsoft of overcharging for licensing to trial Zorin OS 18.1 released - and the Lite edition reappears Task Manager's CPU%: an obituary for the recent past Linux 7.1 will have an optional new NTFS driver Microsoft releases Windows Server update to fix April update 20-year-old Enlightenment E16 bug finally gets patched 20-year-old Enlightenment E16 bug finally gets patched Raspberry Pi OS ends open-door policy for sudo Firefox Nightly adds Web Serial after years of saying no Windows Update: Torture chamber for seldom-used PCs Windows Update: Torture chamber for seldom-used PCs Notepad loses Copilot icon as Microsoft gives subtlety a try Notepad loses Copilot icon as Microsoft gives subtlety a try Microsoft attempts to untangle Windows Insider program Adobe finally patches PDF pest after months of abuse NHS pays £46K to prep next Microsoft licensing round Linux 7.0 debuts as Linus Torvalds ponders AI's impact
WSL9x hacks Linux into ancient Windows 9x systems
Brandon Vigliarolo Brandon Vigliarolo · 2026-04-22 · via The Register - Software: OSes

OSes

You can now run WSL on Windows 95, in case you're crazy, too

'I think this might be one of my greatest hacks of all time,' says dev behind unholy abomination

The Windows Subsystem for Linux is an invaluable tool, but anyone wanting to run it on a Windows 9x system would find themselves out of luck until now.

A self-described computer tinkerer and hacker calling herself Hailey presented what she called "one of my greatest hacks of all time" in a Mastodon post on Wednesday: The Windows 9x Subsystem for Linux, or WSL9x. 

According to Hailey's upload on Codeberg, WSL9x runs the 6.19 Linux kernel cooperatively within Windows 9x, allowing users to interact with it just like they would a WSL instance in a modern Windows system. Minus the GUI, naturally - if you're dead-set on running Linux in Windows 95, you're going to have to use the terminal like a grown-up. Sorry. 

The question of why one would want to do this came to mind quite quickly; we contacted Hailey to learn why she undertook this rather niche project, but didn't hear back before publication. Luckily for us, Hailey did explain the how on Codeberg. 

According to the WSL9x readme, the system is made up of three components: a Linux kernel patched to call Windows 9x APIs instead of POSIX ones, a VxD (virtual device) driver, and a WSL client itself. 

The VxD driver does a lot of the heavy lifting and is responsible for initializing WSL9x as well as handling userspace events that have to be relayed to the kernel (i.e., page faults and syscalls), which it does in a rather interesting way due to limitations in the Win9x architecture.

"Syscalls are handled via the general protection fault handler, as Win9x does not have an interrupt descriptor table long enough to install a proper handler for int 0x80," which is the i386 syscall interrupt for Linux, Hailey explained. 

The GPF handler in WSL9x keeps an eye on faulting instructions, and when it sees int 0x80 pop up, it "advances the instruction pointer as if the interrupt succeeded and dispatches as a syscall to Linux," Hailey continued. 

As for the client itself, Hailey describes it as nothing but a small 16-bit DOS program that exists to allow WSL9x to pass DOS prompts to the Linux kernel as TTY instead of a fully-fledged custom client. 

Be warned, however: Per Hailey's own comments on a Hacker News thread, the Linux kernel ends up with the same ring 0 CPU privileges that the Windows kernel gets when WSL9x is running. Not only does that mean security issues may result, but things might get a bit unstable, too.

"They are supposed to cooperate, but if either crashes then both go down," Hailey said in the thread.

If you simply refuse to (or can't because of some ancient-but-necessary application running in a server room somewhere) get rid of that ancient Windows 95, 98, or ME machine that you're still using, and need to get a Linux kernel running on it, Hailey provides instructions on her Codeberg page for the project. ®