Skip to content
Tech News
← Back to articles

Project XNU Linux boots macOS kernel as a module inside Linux

read original more articles
GoKawiil Brief

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.

Why It Matters

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.

Key Takeaways

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.