Getting Linux running on a Mac M1 chip means selecting an ARM-compatible distribution like Ubuntu or Fedora. If you’ve been searching for how to install linux on mac m1, you’re in the right place. This guide walks you through every step, from preparation to final setup, so you can dual-boot or run Linux virtually on your Apple Silicon Mac.
Apple’s M1 chips are powerful, but they don’t natively support traditional x86 Linux distributions. You need ARM64 versions of Linux. The process is straightforward once you know the tools and steps. Let’s get started.
Prerequisites For Installing Linux On Mac M1
Before you begin, gather the necessary items. You’ll need a Mac with an M1, M1 Pro, M1 Max, or M1 Ultra chip. Also, ensure you have at least 50GB of free disk space for the Linux partition.
- A Mac with Apple Silicon (M1 or later)
- A USB drive (16GB or larger) for bootable media
- An ARM64 Linux ISO (Ubuntu 22.04 LTS or Fedora 37+ recommended)
- Balena Etcher or another disk imaging tool
- Patience and a backup of your data
Backup your Mac before proceeding. Installing Linux involves partitioning your drive, which can risk data loss if something goes wrong. Use Time Machine or another backup solution.
How To Install Linux On Mac M1
This section covers the core steps for a dual-boot setup using UTM or Asahi Linux. The most popular method for beginners is using UTM, a virtualization tool that runs Linux alongside macOS. For a native install, Asahi Linux is the best option.
Method 1: Using UTM Virtual Machine
UTM is a free, open-source virtualization app for Apple Silicon. It’s the easiest way to run Linux without partitioning your drive. Here’s how to set it up.
- Download and install UTM from the official website or the Mac App Store.
- Open UTM and click “Create a New Virtual Machine.”
- Select “Virtualize” and then choose “Linux.”
- Browse to your downloaded ARM64 Linux ISO file.
- Allocate system resources: at least 4GB RAM and 2 CPU cores.
- Create a virtual disk (20GB minimum, 40GB recommended).
- Click “Save” and then start the virtual machine.
- Follow the on-screen installer prompts for your Linux distribution.
- Once installation completes, reboot the virtual machine.
UTM runs Linux in a window alongside macOS. You can copy-paste between systems and access files easily. This method is ideal for testing or light development work.
Method 2: Native Install With Asahi Linux
Asahi Linux provides a native ARM64 Linux experience on M1 Macs. It installs directly onto your hardware, offering full performance. This method requires more steps but delivers better speed and integration.
- Visit the Asahi Linux website and download the installer script.
- Open Terminal on your Mac and run the installer command:
curl -sL https://alx.sh | sh - The script will analyze your disk and ask for confirmation. Type “y” to proceed.
- Select how much space to allocate for Linux (minimum 25GB).
- The installer will download and prepare the Linux environment.
- Reboot your Mac and hold the power button to enter startup options.
- Select the “Asahi Linux” option from the boot menu.
- Complete the graphical installer for your chosen distribution.
- After installation, you can choose between macOS and Linux at boot.
Asahi Linux supports most M1 hardware, including Wi-Fi, Bluetooth, and USB-C. However, GPU acceleration is still in development, so some graphical applications may be slower than on macOS.
Choosing The Right Linux Distribution For M1
Not all Linux distributions work well on Apple Silicon. Stick to ARM64 versions of popular distros. Ubuntu 22.04 LTS is the most stable choice for beginners. Fedora 37+ offers newer packages and better M1 support out of the box.
- Ubuntu 22.04 LTS – Great for beginners, long-term support, large community
- Fedora 37+ – Cutting-edge software, good M1 hardware support
- Arch Linux ARM – For advanced users who want full control
- Debian – Stable but requires more manual configuration
Each distribution has its own package manager and default desktop environment. Ubuntu uses GNOME, while Fedora offers a cleaner GNOME experience. Test a few in UTM before committing to a native install.
Preparing Your Mac For Linux Installation
Proper preparation prevents problems. Start by updating macOS to the latest version. Then, disable FileVault encryption temporarily, as it can interfere with partitioning.
- Go to System Settings > Privacy & Security > FileVault and turn it off.
- Open Disk Utility and check your drive for errors.
- Create a bootable USB drive if you’re using UTM (not needed for Asahi).
- Download the ARM64 ISO from the official distribution website.
- Use Balena Etcher to write the ISO to your USB drive.
For Asahi Linux, you don’t need a USB drive. The installer script handles everything from within macOS. Just ensure you have a stable internet connection and enough free space.
Step-By-Step Guide: Installing Ubuntu On M1 Mac With UTM
Let’s walk through a complete Ubuntu installation using UTM. This is the most beginner-friendly approach.
Download And Install UTM
Go to the UTM website and download the latest version. Drag the app to your Applications folder. Open UTM from Launchpad or Spotlight.
Create A New Virtual Machine
Click the “+” button in the UTM toolbar. Select “Virtualize” and then “Linux.” UTM will ask for your ISO file. Browse to your downloaded Ubuntu ARM64 ISO.
Configure System Resources
Allocate at least 4GB of RAM and 2 CPU cores. For better performance, use 8GB RAM and 4 cores if your Mac has enough memory. Set the virtual disk size to 40GB.
Start The Installation
Click “Save” and then press the play button. The virtual machine will boot from the ISO. Select “Try or Install Ubuntu” from the GRUB menu.
Follow the on-screen prompts: choose your language, keyboard layout, and time zone. Select “Erase disk and install Ubuntu” (this only affects the virtual disk, not your Mac).
Complete Setup
Create a username and password. Wait for the installation to finish. When prompted, restart the virtual machine. Remove the ISO from the virtual CD drive by going to UTM settings.
After reboot, you’ll see the Ubuntu login screen. Enter your credentials and enjoy Linux on your M1 Mac.
Troubleshooting Common Issues
Even with careful preparation, you might encounter problems. Here are solutions to frequent issues.
Virtual Machine Won’t Boot
Ensure you downloaded the ARM64 version of the ISO. x86 ISOs won’t work on M1. Also, check that UTM is up to date. Older versions may have compatibility issues.
No Wi-Fi Or Bluetooth
In UTM, Wi-Fi and Bluetooth are not passed through to the virtual machine. Use a USB Ethernet adapter or share your Mac’s internet connection via network settings.
Asahi Linux Fails To Install
Make sure your Mac is running macOS 12.3 or later. The installer requires a recent version of macOS to work correctly. Also, disable any VPN or firewall temporarily.
Slow Performance In UTM
Allocate more RAM and CPU cores to the virtual machine. Also, enable hardware acceleration in UTM settings. For graphics-heavy tasks, consider a native Asahi install.
Optimizing Linux Performance On M1 Mac
Once Linux is installed, you can tweak settings for better performance. For UTM, enable the SPICE display driver for smoother graphics. Install the UTM guest tools for clipboard sharing and file drag-and-drop.
- Update your Linux system regularly:
sudo apt update && sudo apt upgrade - Install proprietary drivers if available (for Asahi, this is handled automatically)
- Use lightweight desktop environments like XFCE or LXDE for older hardware
- Monitor resource usage with
htopor the system monitor app
For Asahi Linux, you can install additional firmware for better hardware support. Check the Asahi Linux documentation for specific instructions.
Dual-Booting Vs Virtualization: Which Is Better?
Your choice depends on your needs. Dual-booting with Asahi Linux gives you full hardware access and better performance. Virtualization with UTM is safer and easier to set up.
- Dual-booting – Best for developers, power users, and those needing native performance
- Virtualization – Ideal for beginners, testing, or running Linux alongside macOS
Consider using both: run UTM for quick tasks and Asahi for heavy workloads. This gives you flexibility without committing to a single setup.
Frequently Asked Questions
Can I Install Linux On An M1 Mac Without Losing MacOS?
Yes, both UTM and Asahi Linux allow you to keep macOS intact. UTM runs Linux in a virtual machine, while Asahi creates a separate partition for dual-booting.
Is It Safe To Install Linux On My M1 Mac?
Yes, as long as you backup your data and follow instructions carefully. Virtualization is the safest method since it doesn’t modify your system partition.
Which Linux Distribution Works Best On M1 Macs?
Ubuntu 22.04 LTS and Fedora 37+ are the most reliable. Both have active ARM64 support and large communities for troubleshooting.
Do I Need A USB Drive To Install Linux On M1 Mac?
For UTM, you can use an ISO file directly without a USB drive. For Asahi Linux, the installer runs from within macOS, so no USB is needed.
Can I Run Windows On M1 Mac Using Similar Methods?
Windows for ARM can run in UTM, but it’s not officially supported. Parallels Desktop offers better Windows virtualization on M1 Macs.
Final Tips For A Smooth Installation
Take your time with each step. Rushing can lead to mistakes. Read the documentation for your chosen distribution and tool. Join online communities like Reddit’s r/AsahiLinux or the Ubuntu forums for help.
Keep your Mac plugged in during installation to avoid power loss. If you’re using Asahi, ensure you have a stable internet connection for the installer script.
Test your setup with basic tasks first: browsing the web, running terminal commands, and installing software. Gradually move to more complex projects as you become comfortable.
Remember that Linux on M1 is still evolving. Some features may not work perfectly, especially in Asahi. Check the project’s GitHub page for known issues and updates.
With patience and the right approach, you’ll have a fully functional Linux system on your M1 Mac. Whether you choose virtualization or native install, the experience is rewarding and opens up new possibilities for development, learning, and customization.
Now you know exactly how to install linux on mac m1. Follow this guide step by step, and you’ll be running Linux on your Apple Silicon Mac in no time. Enjoy the flexibility and power of open-source software on your modern hardware.