Asahi Linux: Taking Linux to Mac with Chip Apple Silicon

Introduction

In recent years, Apple's transition to its own Apple Silicon processors has opened up new possibilities for open source software. While macOS remains the default operating system, a growing community of developers has worked to bring a complete Linux experience to these teams. The most important project in this area isAsahi Linux, an initiative that seeks to provide a fully free kernel and set of drivers for ARM-based Mac.

What is Asahi Linux?

Asahi Linux is not a traditional distribution, but a reverse engineering and driver development effort that allows the Linux kernel to run on Apple Silicon hardware. The name «Asahi» comes from the Japanese word that means «Sunbeam», symbolizing the hope of illuminating the future of free software on Mac.

Main characteristics

  • Support for M1, M1 Pro, M1 Max, M1 Ultra and M2 chips.
  • Project-based graphic controllersAsahi GPUwhich offer OpenGL and Vulkan acceleration.
  • Advanced energy management, including suspension and resumption.
  • Compatibility with input devices such as keyboard, track and Touch Bar.
  • Support for audio, Wi-Fi and Bluetooth using reverse-engineering drivers.
  • Integration with the standard Linux boot manager (GRUB or systemd-boot) and with Apple firmware through a pre-boot phase.

Current status and roadmap

The project is in an active development phase. The first boot versions («bootloaders») already allow to start a Linux kernel on a Mac M1 with a basic desktop experience. The most recent milestones include:

  • Complete implementation of the screen controller (DRM) for the Apple GPU.
  • Support for video acceleration via VA-API and VDPAU.
  • Improvements in the management of unified memory, allowing Linux to take advantage of Apple Silicon's UMA architecture.
  • Work in progress for support of Thunderbolt and advanced USB-C ports.

Developers regularly publish ready-to-use disk images and installation guides on the official siteasahilinux.org. In addition, the code is housed in public repositories of GitLab and GitHub, which facilitates collaboration and security audit.

How to install Asahi Linux on your Mac

  1. Check that your Mac is compatible (M1, M2 or Pro / Max / Ultra variants).
  2. Download the latest installation image from the section «Download» of the website.
  3. Create a USB boot medium using a tool likeddor BalenaEtcher.
  4. Enter Apple's recovery mode (holding the ignition button pressed) and select «Utilities» → «Security terminal».
  5. From the terminal, run the installation script that prepares the Linux partition and writes the bootloader.
  6. Reboot the computer and hold the option key (∞) to choose the Linux boot.
  7. Follow the configuration assistant of your favorite distribution (e.g. Ubuntu, Fedora or Arch) within the Asahi environment.

It is recommended to back up your data before proceeding, as the process involves redimensioning the internal partition of macOS.

Community and future

Asahi Linux has a vibrant community of developers, enthusiasts and users who contribute through bug reports, patches and documentation. The main communication channels are the Discord server, the mailing list and monthly online meetings. The long-term objective is to make Linux a first-level alternative on Mac, offering the same performance and stability as macOS, but with the freedom and flexibility of open software.

In short, Asahi Linux represents one of the most ambitious and successful efforts to bring Linux power to the Apple Silicon architecture. If you are a developer, a free or simply curious software lover about what can be achieved with reverse engineering and open collaboration, it is worth following this project closely and testing it on your own hardware.

This work is under aCreative Commons License Attribution 4.0 International for Francesc Roig francesc @ vivaldi.net.

EnglishenEnglishEnglish