XNU Linux boots macOS 27 desktop without a hypervisor
XNU Linux, an experimental project, has booted a complete macOS 27 desktop on an ARM64 Linux system. It modifies Apple’s open-source XNU kernel to run as a loadable Linux module, allowing macOS and Linux processes to share the same hardware without an intervening hypervisor.
Rather than translating macOS applications into a format Linux can execute, the project integrates Apple’s kernel into the host environment. The xnu.ko module runs the hosted XNU kernel, while fki.ko connects it to Linux resources, including memory, networking, timers, and storage. macOS processes execute natively on the host CPU.
Testing covered an NVIDIA DGX Spark running Ubuntu and an Apple Silicon Mac running Linux in a virtual machine. The system reached a working desktop with Finder, Dock, WindowServer, and loginwindow, alongside operational Safari and Chrome browsers. Spotlight and file-system operations remained functional during a brief 30-minute stress test. The approach offers another experimental route for enthusiasts interested in custom macOS desktops, commonly known as Hackintoshes.