← Work

xnulinux (cloud ARM fork)

November 2026 to now · fork, work in progress · source on GitHub
Carm64 LinuxXNUVulkan (lavapipe)shell

Why it exists

xnulinux is not mine. AFK-surf wrote it, and all credit for the idea and the code goes to them. It builds XNU from Apple’s published sources and runs it as a kernel module (xnu.ko) inside an unmodified arm64 Linux kernel, so macOS processes run next to Linux ones on the same CPUs with no hypervisor between them. With a stock Ubuntu kernel it boots a macOS 27 disk to the desktop.

Upstream expects a Mac with Xcode to make the disk and build the GPU parts. I wanted to know how far it gets on a rented cloud ARM VM (Google Cloud C4A) with neither.

What my branch adds

On the cloud-arm branch:

macOS-DroidVM, a fork of Droid-VM/macOS-DroidVM, is one of the projects this work leans on, along with UniXNU and metal2vulkan.

What it is not

Not a product and not my kernel work. The desktop renders on the CPU, with no GPU. Upstream lists what is still a stopgap, including a patched AMFI, relaxed SIP and slower memory access than a native VM.