An experimental open-source project released on 20 November does something that sounds like a Hackintosh in reverse: it loads Apple's macOS kernel as a module inside a stock Linux kernel, so macOS processes run directly alongside Linux ones on the same CPUs — with no hypervisor in between.

Developed by Heyang Zhou and contributors and called xnulinux, the project builds XNU — the Darwin kernel inside macOS, iOS, iPadOS, watchOS, tvOS and visionOS — from Apple's published source code, and loads the result as `xnu.ko` into an unmodified ARM64 Linux kernel.

In tests using an Ubuntu kernel, the project's GitHub page reports 31 to 48 seconds from module load to a macOS 27 desktop appearing.

What it needs, and what it breaks

Testing has been done mainly on a Mac with Apple Silicon running Linux in a virtual machine. You also need a Mac with Xcode and your own macOS 27 installation. Graphics acceleration is on by default if a virtio-gpu render device is present, falling back to CPU rendering otherwise; the developers have patched Apple's AMFI (Apple Mobile File Integrity) checks and loosened the SIP system-integrity protection.

There's also a demo running on Nvidia's DGX Spark mini-PC, reported by TweakTown, where macOS 27.2 reportedly runs beside Linux without its own VM — using CPU rendering, since the Blackwell GPU has no macOS graphics acceleration support.

Legally and practically, a curiosity

Apple's licence only permits macOS on Apple hardware, and Apple Silicon Macs verify a chain of signed components from the boot ROM upward. xnulinux does not touch that boot chain: the Mac boots normally, and the kernel is loaded as a module only inside the Linux guest.

Until now the best-known way to run Mac software under Linux was Darling, a free compatibility layer often described as the counterpart to Wine. The project is explicit that it is an experiment — anyone trying it should note that macOS security protections are being modified, and that this is not suitable for productive use.