Installing Linux on Apple hardware differs significantly depending on whether your Mac uses an older Intel processor or a modern Apple Silicon chip (M1, M2, M3 series). This guide provides direct instructions for both types of hardware.
Running Arch Linux natively on Apple Silicon is made possible by the Asahi Linux project. Rather than using standard live USB flashing, Asahi provides a automated installer that runs safely inside macOS.
- Operating System: Ensure macOS is fully updated to the latest minor version.
- Disk Space: You need at least 40 GB of free SSD space (the script will resize macOS containers dynamically).
- Accounts: You will need your macOS Administrator account name and password, plus your Apple ID/Device password if requested by FileVault.
You do not flash an ISO or use a USB drive.
- Open the macOS Terminal application.
- Paste and run the official Asahi Linux bootstrap command:
curl https://alx.sh | sh - The script will explain each action. Press
Enterto download the bootstrap loader.
- Resize macOS Container: The installer will show your disk structure. Choose to shrink macOS to make room for Linux. Select the amount of space to give Linux.
- Select OS to Install:
- Choose Arch Linux ARM (Asahi Minimal) for a clean terminal installation, or
- Choose Arch Linux ARM (Asahi Desktop) which comes pre-configured with KDE Plasma or GNOME and all audio/Wi-Fi drivers functional out of the box.
- Set Username and Password: Provide administrative credentials for the new Arch setup.
- Confirm and Proceed: The script will create partition spaces, install the custom bootloader (
m1n1andU-Boot), and request confirmation.
Before final booting, Apple hardware requires secure OS enrollment:
- When prompted by the installer, shut down your Mac.
- Press and hold the Power Button (Touch ID button) to boot into macOS Recovery / Startup Options. Keep holding until you see "Loading startup options...".
- Select Install Asahi Linux and click Continue.
- Follow the on-screen terminal prompt inside macOS Recovery. It will ask for your administrator credentials to authorize the new custom kernel as an allowed Boot OS.
- Once complete, reboot your Mac. You will boot directly into Arch Linux ARM!
To switch back to macOS at any time, shut down your Mac, hold the power button to open Startup Options, and select your macOS drive as default.
Intel Macs behave similarly to standard x86 UEFI PCs, but have quirky boot behavior, proprietary keyboards, and specific Wi-Fi chipsets (Broadcom).
- Open Disk Utility in macOS.
- Select your internal SSD, click Partition, and create an unallocated partition of at least 40GB formatted as MS-DOS (FAT) or ExFAT (we will overwrite it in Linux).
- Do not modify the existing EFI partition.
- Download the standard
x86_64Arch Linux ISO. - Flash it using BalenaEtcher or CLI
dd. - Shut down your Mac.
- Insert your USB, hold the Option (Alt) key on your keyboard, and press the power button.
- Hold the key until a list of drives appears. Select EFI Boot (with the orange USB icon).
- Press enter to boot into the Arch command line.
Most Intel Macs use Broadcom Wi-Fi chips which are not supported by the default open-source kernel modules during live boot.
- Solution 1 (Tethering): Connect an Android phone via USB and enable USB Tethering, or connect an iPhone via Lightning cable and use Personal Hotspot (USB). Arch will automatically configure this as an ethernet interface (
enp0s20u1etc.). - Solution 2 (Ethernet): Use a USB-C to Ethernet adapter.
Once connected to internet, install the system following the standard Windows/PC guide.
Before finalizing your chroot, you must install the proprietary broadcom drivers to ensure Wi-Fi works after reboot:
- Enable the
multilibrepository if you want 32-bit apps:nano /etc/pacman.conf # Uncomment: # [multilib] # Include = /etc/pacman.d/mirrorlist
- Install Mac-specific packages and Broadcom Wi-Fi support:
# Add AUR helper (or install manual package 'broadcom-wl-dkms') pacman -S linux-headers broadcom-wl-dkms - Sound Fixes: If your MacBook has no sound output through built-in speakers, you may need the
snd-hda-inteloptions:echo "options snd-hda-intel model=mbp15" >> /etc/modprobe.d/alsa-base.conf
Configure GRUB as follows:
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --removable
grub-mkconfig -o /boot/grub/grub.cfgAdding the --removable flag ensures the Mac firmware successfully registers the bootloader even if nvram boot variables are cleared.