Osegi
Software·1 min read

xnulinux loads the macOS kernel as a module inside Linux

The open-source project xnulinux loads Apple's macOS kernel into Linux as a module, so macOS processes can run beside Linux apps. For now it is only an experiment.

A laptop showing a Linux terminal next to the macOS logo, illustrating a macOS kernel running inside Linux.
Image: Mac & i

A Linux machine that runs macOS processes next to its normal programs sounds like a prank. xnulinux is an open-source project that tries to do exactly that, by loading the macOS kernel into Linux as a module.

What is xnulinux?

The core of macOS is a kernel called XNU. xnulinux takes that kernel and loads it as a module into a running Linux system. A module is a piece of code the Linux kernel can pick up at runtime without being rebuilt. The result, according to the project, is that macOS processes run alongside Linux applications on the same machine.

That is different from a virtual machine, where a whole second operating system sits in a sealed box. Here the two worlds share one running system.

Can you use it today?

Not in any serious way. The project is so far an experiment, and nothing in the available material suggests it is ready for everyday work or for running your Mac software on a Linux laptop.

Still, it is a curious piece of engineering. Running one operating system's kernel inside another is rarely attempted, and it shows how far open-source developers will go to blur the line between platforms. Whether xnulinux grows into something people can rely on depends on how much of macOS it can actually run, and that is not yet clear from what has been published.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:xnulinuxmacoslinuxkernelopen source

More from this day

See all →

More in: Software

See all →