Ever wanted to use macOS apps on a Linux PC without the lag or overhead of a virtual machine? A new open-source project called XNULinux makes this possible by running macOS 27 (and its applications) directly on Linux — no virtualization required — though it isn’t bootable on its own yet. An experimental stage setup shows it operating macOS 27.2.1 with a working desktop, Dock, and apps like Spotlight, Safari, Notes, and Calculator.
How It Works: Kernels, Modules, and Native Execution
The trick lies in XNULinux loading Apple’s open-source XNU kernel as a loadable module inside an unmodified Arm64 Linux kernel. Essentially, XNU becomes part of Linux itself, allowing macOS processes to run side by side with Linux processes without relying on a hypervisor. Core services like CPU, memory, timers, file system, network, and GPU are proxied through Linux via a small interface.
Current Status & Requirements
Right now, the project needs an Arm64 Linux host with at least 16 GB of RAM. Sweetening the deal? Part of the development happens in a VM on Apple Silicon Macs; but the main path is running it on bare‐metal Linux hardware. To build GPU portions or work with Xcode, having access to a Mac is required. Also, you’ll need to supply your own macOS installation — the project doesn’t ship Apple’s proprietary components.
Tests so far include deployment on an NVIDIA DGX Spark rig, showing the desktop environment in action alongside Linux. Another experiment ran XNULinux inside an Arm64 Linux VM on an Apple Silicon Mac, effectively nesting macOS atop Linux inside macOS.
Where This Fits in the OS Reverse-Engineering Landscape
XNULinux isn’t the only project exploring ways to bridge macOS and Linux. Asahi Linux, for example, focuses on bringing full Linux support to Apple Silicon Macs — including recent work on M4 chips. Meanwhile, the recently surfaced SiliconForest OS similarly aims to run Mac apps natively by combining XNU and Darwin, and has shown results on an M1 13-inch MacBook Pro. But those projects differ in hardware targets and how far along they are toward eliminating virtualization.
This is still early-stage code. Users may expect bugs, limited compatibility, and missing features. Performance, especially graphics, is likely to vary depending on hardware and driver support. There’s also ambiguity over legal implications of using Apple’s proprietary bits without redistribution. But the concept is promising: native app compatibility without virtual machines could redefine what’s possible for cross-platform workflows.