
A developer just found a way to run macOS as a module inside Linux
A developer has successfully loaded Apple's XNU kernel as a standard module inside an unmodified Linux system.
Two kernels, one computer
The project, called xnulinux, builds the open-source parts of macOS and runs them as a loadable module.
Instead of a heavy virtual machine, the macOS kernel drives the CPU directly. Linux acts as the host, lending its memory, files, and network to Apple's software through a small interface.
Apps run at full throttle
Because there is no hypervisor between the systems, macOS apps like Safari and Chrome run natively next to Linux processes.
From Finder to the Dock
- It boots a standard macOS 15.2.1 system disk to the full desktop.
- Users can access the Dock, Finder, and System Settings.
- Testing shows it reaches the desktop in 31 to 48 seconds.
- A 30-minute stress test with apps like Notes and Calculator ran without a single crash.
Graphics bridge for Metal
The system uses a custom bridge to let macOS apps access the Linux host's GPU for hardware acceleration.
Built for Apple Silicon
The project currently targets arm64 hardware, specifically Apple Silicon Macs running Linux.
While impressive, it is still experimental. It requires 16 GB of RAM, with half of that reserved exclusively for the macOS side, and certain security features like System Integrity Protection must be relaxed to work.
You've read all 6 cards
The full story has moreA developer just found a way to run macOS as a module inside Linux
- The complete story, start to finish
- 1 link to go deeper
- Comments and what to read next