Asahi Linux

On this page 8

Asahi Linux is a community project that ports the Linux kernel and a full desktop stack to Apple silicon Macs, so that Linux runs natively on the bare metal of M1 and M2 machines instead of inside a virtual machine. Within macOS and the wider topic of Apple silicon & compatibility, it is the main route for running a native non-Apple operating system on Macs that no longer offer Boot Camp.

Because Apple publishes no hardware documentation for its chips, the project builds its drivers through clean-room reverse engineering, then upstreams the work into the mainline kernel, Mesa and other open-source components. Its flagship distribution today is Fedora Asahi Remix, maintained jointly with the Fedora project.

How Asahi Linux boots on Apple silicon

Asahi Linux boots through Apple’s own per-volume boot policy, which lets each installed operating system carry its own security level. The installer, launched from a Terminal command in macOS, shrinks the APFS container, creates a small stub macOS volume and sets that volume to Permissive Security, while the main macOS installation keeps Full Security unchanged.

From that stub, the Apple boot ROM and iBoot load m1n1, a project-written bootloader that initializes hardware and hands a device tree to the next stage. The chain then continues through U-Boot and GRUB to the Linux kernel, which gives Linux a conventional UEFI-style boot environment on hardware that has no UEFI firmware.

The following table summarizes the boot stages and the role each one plays.

StageProvided byMain job
Boot ROM and iBootAppleVerify and load the selected boot object
m1n1Asahi LinuxSet up hardware and pass the device tree
U-BootOpen sourceOffer a standard UEFI interface
GRUBDistributionSelect and start the Linux kernel
Linux kernelMainline plus Asahi patchesRun drivers and the user space
Boot chain of an Asahi Linux installation

Because the stub volume holds the boot objects, removing Asahi Linux means deleting its partitions and the stub volume, then growing the APFS container back. The macOS side never needs to be erased, which makes the setup a true dual boot rather than a replacement.

Hardware support and driver status

Hardware support in Asahi Linux is broad on M1 and M2 Macs and limited or absent on later generations. Each new Apple chip changes many hardware blocks, so support for M3 and newer families requires substantial new reverse engineering and has arrived far more slowly than for the first two generations.

The graphics driver is the project’s best-known achievement. Its Apple GPU driver pairs a kernel driver written in Rust with Mesa user-space drivers, and it has reached conformant OpenGL 4.6, OpenGL ES 3.2 and Vulkan support on supported chips. Audio required a separate speaker safety daemon that models voice-coil temperature, because driving MacBook speakers without Apple’s protection logic can physically damage them.

The table below gives a general picture; exact status changes with every release and differs by model.

ComponentGeneral statusNotes
GPU accelerationSupportedOpenGL, OpenGL ES and Vulkan
Wi-Fi and BluetoothSupportedBroadcom firmware copied from macOS
Speakers and headphone jackSupportedSpeakers protected by a safety daemon
Internal display and keyboardSupportedIncludes backlight and brightness control
Touch IDNot supportedSecure Enclave access is unavailable
Thunderbolt and USB4 tunnelingLimitedBasic USB works on most ports
Typical feature status on supported M1 and M2 Macs

Asahi Linux compared with other ways to run Linux on a Mac

Asahi Linux is the only option that runs Linux directly on Apple silicon hardware; the alternatives all run Linux as a guest under macOS. Virtualization through the Apple Virtualization framework or products such as Parallels Desktop is easier to install and fully supported by Apple, but the guest sees virtual devices and cannot use the GPU natively.

This comparison shows where each approach fits.

ApproachRuns onGPU accessMain trade-off
Asahi LinuxBare metalNative driverReboot needed and some hardware missing
Apple Virtualization frameworkmacOS hostParavirtualized or noneConvenient but shares resources with macOS
Parallels DesktopmacOS hostVirtual graphics adapterCommercial license and guest overhead
Boot CampIntel-based Mac onlyNativeUnavailable on Apple silicon
Native Linux versus virtualized Linux on Apple silicon

Asahi Linux also differs from compatibility layers such as Rosetta 2 or CrossOver. Those tools translate or adapt individual applications inside macOS, whereas Asahi Linux replaces the whole running system with a different kernel and user space.

Software compatibility and the 16K page size

The most common compatibility issue on Asahi Linux is the 16 KiB memory page size that Apple silicon uses, compared with the 4 KiB pages most Linux software on x86 assumes. Programs that hardcode a 4 KiB page, or that ship custom memory allocators built for it, can crash or refuse to start.

The project addresses this in layers. Most distribution packages are simply rebuilt for ARM64 with page-size-agnostic code, while x86 applications and games run through FEX, an x86 emulator, inside a lightweight microVM with 4 KiB pages. This arrangement allows many Windows games to start through Steam and Proton, although with clear performance overhead compared with native ARM64 code.

  • Native ARM64 packages run at full speed and form the bulk of a normal desktop.
  • x86 binaries need FEX emulation and run noticeably slower.
  • Software with 4 KiB assumptions may need patches or the microVM.
  • Proprietary ARM64 builds from vendors may still lack 16 KiB support.

Installing, choosing and maintaining Asahi Linux

Installation starts from inside macOS, not from a USB stick, because the boot policy can only be created by macOS recovery tooling. A user should back up the Mac first, keep at least several tens of gigabytes free, and follow the prompts that reboot into recovery to confirm the new security policy.

The decision table below helps match the situation to an approach.

SituationRecommended approachReason
Daily Linux development on an M1 or M2 laptopAsahi LinuxNative speed and full GPU use
Occasional Linux tools or containersVirtual machineNo reboot and no partitioning
Mac with an M4 or newer chipVirtual machineNative support is not yet available
Work that needs Thunderbolt docksStay on macOS or verify firstSupport remains incomplete
When Asahi Linux is a sensible choice

Updates arrive through the normal package manager of the distribution. Firmware is not redistributed; the installer copies required firmware from macOS, so keeping the macOS installation present is part of normal maintenance.

Limitations and common misconceptions

A frequent misconception is that installing Asahi Linux weakens the security of macOS. In fact, the reduced security setting applies only to the Asahi boot volume, and macOS continues to run with its own Full Security policy and verified boot.

  • It is not an Apple product, and Apple provides no support or guarantees for it.
  • It is not a virtual machine; only one operating system runs at a time.
  • Battery life and sleep usually trail macOS on the same hardware.
  • New Mac models are not supported on launch day and may wait years.

In plain words

Apple builds its own chips for modern Macs and only designs macOS to run on them. Asahi Linux is a volunteer-built way to run Linux on those Macs as a second, fully independent operating system.

Think of the Mac as a house with only Apple’s furniture inside. Asahi Linux adds a second room with its own furniture and its own front door, and you choose which room to enter each time you turn the computer on. The original macOS room stays untouched, so you can keep using macOS whenever you need it.

A real-world example

A backend developer works on a MacBook Air with an M2 chip and deploys services to ARM64 Linux servers. Running containers in a virtual machine works, but builds compete with macOS for memory and battery.

The developer frees about 120 GB in the APFS container, runs the installer from Terminal, and sets up Fedora Asahi Remix beside macOS. Linux now compiles the project natively with the full CPU and 8 GB of unified memory available, and GPU acceleration keeps the desktop smooth on the built-in Retina display.

The result is faster builds and a test environment closer to production. For video calls that need tight integration with Apple services, the developer simply reboots into macOS, which remains fully intact.