The XNU Linux project has achieved running the complete macOS GUI userspace on an unmodified ARM64 Linux kernel. This is accomplished by compiling XNU, the open-source kernel of macOS, from Apple's sources and loading it as a kernel module (xnu.ko) within the Linux environment.
The hosted XNU kernel directly manages the CPU and Memory Management Unit (MMU), allowing macOS processes to run natively alongside Linux processes on the same CPUs. This architecture eliminates the need for a hypervisor. Linux provides XNU with essential resources such as memory, timers, files, network, and GPU access through a small interface module (fki.ko).
With a standard Ubuntu kernel, loading xnu.ko successfully boots a macOS 27 system disk created by Apple's installer. This includes core macOS components like loginwindow, WindowServer, Dock, Finder, Safari, and Chrome. The system demonstrates a dual-userspace environment where a macOS Terminal can SSH into the underlying Linux system, confirming both operating environments are active simultaneously.
Each hosted CPU in XNU is a Linux kernel thread pinned to a Linux CPU. XNU runs on it until it requires host services. Linux maintains its own exception vectors, and fki.ko forwards faults and user exceptions from XNU code to XNU's handlers. For memory, XNU receives a physically contiguous block from Linux and manages it with its own pmap, sharing the user half of the address space layout with Linux. Devices are handled via kexts, providing macOS with disk access (a file on Linux), a display (a Linux framebuffer), input devices, network connectivity (a Linux network interface), a keystore, and a GPU bridge.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
The XNU Linux project allows the full macOS GUI userspace to run on an unmodified ARM64 Linux kernel by loading the open-source XNU kernel as a loadable module. This setup enables macOS processes to execute natively alongside Linux processes, sharing CPU and memory resources without a hypervisor. The project uses a small interface module to provide macOS with access to Linux's memory, timers, files, network, and GPU.