Project XNU Linux boots macOS kernel as a module inside Linux
A project called xnulinux compiles Apple's open-source XNU kernel and loads it as a kernel module (xnu.ko) into a stock arm64 Linux kernel, alongside a separate interface module (fki.ko) that gives XNU access to Linux's memory, timers, files, network and GPU. Running 'insmod xnu.ko' on a standard Ubuntu kernel boots a macOS system disk to a full desktop, including loginwindow, WindowServer, Dock, Finder, Safari and Chrome, running directly on the CPU without a hypervisor.
GoKawiil's interpretation of the reporting above, not reported fact.
By running XNU as a loaded kernel rather than inside a virtual machine, the project suggests it is possible to run macOS's full graphical userspace natively alongside Linux processes on identical hardware, which could appeal to developers wanting tighter integration between the two systems than virtualization allows. The approach also demonstrates, in practice, how much of macOS's user-facing behavior depends on Apple's published open-source kernel components versus closed proprietary layers.
- xnulinux loads Apple's open-source XNU kernel as a Linux kernel module, not a VM
- A macOS 27 desktop with Dock, Finder, Safari and Chrome boots on an unmodified arm64 Ubuntu kernel
- A separate GPL interface module (fki.ko) bridges Linux resources like memory, network and GPU to the hosted XNU kernel
Source: github.com, 2026-11-23
Published there as: “XNU Linux: Full OS X GUI Userspace on Linux”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.