XNULinux runs macOS 27 apps on Linux without a virtual machine
A new project loads Apple's XNU kernel into an arm64 Linux kernel, letting macOS run beside Linux processes without virtualisation. It remains experimental and cannot yet boot on its own.

Key takeaways
- XNULinux loads Apple's XNU kernel into an arm64 Linux kernel, so macOS 27.2.1 runs without a virtual machine or hypervisor.
- Apps including Safari, Spotlight, Notes and Calculator reportedly work, with a functioning desktop and Dock.
- The system is not bootable and needs an arm64 Linux host with at least 16GB of memory, plus a Mac running Xcode to build components.
- Users must supply their own macOS installation, as the project does not distribute Apple's binaries.
In this article
MacOS runs directly inside Linux
A project called XNULinux can run macOS 27 on a Linux PC without using a virtual machine, according to AppleInsider. The team behind it reports that macOS runs inside Linux itself, so Mac applications can work on Linux hardware.
Virtual machines usually add a performance cost because a hypervisor sits between the operating system and the processor. XNULinux takes a different route and avoids that layer entirely.
How the kernel loading works

The project uses XNU, the open-source kernel that Apple publishes for macOS. XNULinux inserts this kernel into an unmodified arm64 Linux kernel as a loadable module.
Once loaded, the hosted XNU kernel drives the CPU and the memory management unit directly. AppleInsider reports that macOS processes therefore run alongside Linux processes on the same processor, with no hypervisor involved.
Linux supplies what XNU cannot provide on its own. A small interface module passes memory, timers, files, networking and GPU access from Linux to the macOS kernel.
What works and what does not
In its current state, the project can run macOS 27.2.1 with a working desktop and Dock. AppleInsider says apps such as Spotlight, Safari, Notes and Calculator also run.
The system is not bootable yet. Linux must load and host the macOS kernel, rather than the machine starting macOS directly.
Testing has covered only a few hardware setups. One machine is an Nvidia DGX Spark running Linux on bare metal. Another setup runs arm64 Linux in a virtual machine on an Apple Silicon Mac, which places macOS inside Linux inside macOS. The project has not yet managed to run its Linux layer directly on Mac hardware.
Requirements and limitations
The hardware demands are modest but specific. The host needs an arm64 Linux system with a minimum of 16GB of memory.
A Mac is still required in the workflow. AppleInsider notes that it provides access to Xcode, which the project needs to build the system disk and compile the GPU components.
Users must also supply their own macOS installation. XNULinux does not distribute Apple's binaries, so anyone trying it needs a licensed copy of the operating system.
Where XNULinux sits among Apple kernel projects
XNULinux joins a group of projects that reuse Apple's system software in unusual ways. Asahi Linux, the long-running effort to run Linux natively on Apple Silicon Macs, showed early signs of basic M4 chip support on 4 October.
A more recent effort appeared on 18 November. SiliconForest OS combines XNU with Darwin, the Unix-like core that underpins Apple's operating systems, and shares the goal of running Mac apps natively. Unlike XNULinux, it has run on Apple hardware, though only on an M1 13-inch MacBook Pro.
These projects show growing interest in Apple's open-source components. For Linux users, XNULinux points towards running Mac applications on ordinary arm64 hardware, but the project is young and has limited testing, so results may vary.
Sources
Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.


