XNU Linux Runs macOS Kernel Inside Linux

An experimental project embeds Apple's open-source XNU kernel into an arm64 Linux kernel so macOS and Linux processes can run side by side.

Updated on Nov. 24, 2026 in Software

XNU Linux Runs macOS Kernel Inside Linux

XNU Linux is an experimental project that takes Apple's open-source XNU kernel and embeds it into an arm64 Linux kernel. Its creator, Heyang Zhou, booted macOS 27.2.1 to the desktop on a stock Ubuntu install.

Why it matters

The project aims to make it easier to run macOS apps on Linux machines, and it does so without translation or hypervisor technology. Because macOS and Linux processes run natively next to one another on the same CPU, the approach differs from typical virtualization.

The project requires ARM64 devices with Pointer Authentication (PAC) and 4K pages, and has been tested on bare-metal Nvidia DGX Spark hardware and on Apple Silicon Macs that are M1 or newer. Performance figures and the full range of supported hardware were not included in the available information.

The players

Heyang Zhou

Heyang Zhou is the developer who created XNU Linux and booted macOS 27.2.1 to the desktop on a stock Ubuntu install.

Apple

Apple is the company that develops the XNU kernel, which it has released as open-source software and which is used at the core of macOS.

The details

XNU Linux takes the XNU kernel and embeds it into an arm64 Linux kernel, letting macOS and Linux processes run natively together on the same CPU. Running it requires the user's own copy of macOS, and on Apple Silicon Macs it runs inside a VM via krunkit or tart.

Timeline

  1. Article on XNU Linux published on XDA-Developers on November 24, 2026.

The Tech Race

XNU Linux extends Apple's open-source XNU kernel into a Linux environment, departing from the translation and hypervisor layers that cross-platform macOS workloads typically rely on. Its native coexistence of macOS and Linux processes on one CPU positions it as an alternative to virtualization for running macOS software on Linux hardware.

For Linux users who need specific macOS apps, XNU Linux offers a possible path that avoids translation layers and hypervisors. The project is experimental and requires ARM64 hardware with Pointer Authentication and 4K pages, along with the user's own copy of macOS.

The takeaway

Running XNU Linux requires your own copy of macOS and compatible ARM64 hardware, so check those requirements before trying the experimental project. Treat it as a research-stage option rather than a finished replacement for standard virtualization tools.

Further reading

For more on the tools and platforms behind projects like this, explore the Software section.

Source note: This article includes information reported by XDA-Developers.