Installing Linux on Mac: Everything You Need to Know

  • The processor determines the path: on Intel, dual boot is more straightforward; on Apple Silicon, Asahi and virtualization are the key options.
  • Variable compatibility: Check Wi-Fi support, graphics, ports, and firmware by model and distribution.
  • Safe alternatives: Virtualize or use Linux in the cloud to avoid touching partitions and test without risk.
  • Real value: Linux brings flexibility, development tools, and learning to great hardware.

Guide to installing Linux on Mac

If you use macOS for its stability but need tools and environments that live better on Linux, you have several ways to bring Penguin to your Mac. From classic dual-booting and virtualization to a native installation on Apple Silicon with Asahi Linux or using Linux in the cloud, each option has requirements, pros, and cons that you should be aware of before touching the disk.

The main factor that changes everything is the processor of your Mac (Intel or Apple Silicon), Because it determines whether you can use Boot Camp, which distributions are directly compatible, and whether you should turn to specific projects like Asahi. Here you'll find the steps, compatibility considerations, and practical tips to minimize risks and choose the path that's best for you.

What you need to know before starting

Make a full backup of your Mac before any changes, Preferably with Time Machine or whatever solution you usually use. Touching partitions and boot loaders always carries some risk, and a backup saves you time.

Choose a Linux distribution compatible with your hardware and download its ISO image. On Intel Macs, look for x86_64 images; on Apple Silicon, look for ARM64 images when virtualizing, or specific solutions like Asahi for native installation.

Create a bootable USB with the ISO of your distribution. On macOS, utilities like balenaEtcher, UNetbootin, or even Disk Utility work; if you're preparing the USB drive from Windows, you can also use Rufus. You'll need at least a 4GB drive (preferably 8GB or larger).

Reserve disk space if you plan to dual boot, Shrinking the macOS partition to make room for Linux. You can do this from Disk Utility or during the installer for some distributions that offer guided resizing.

Intel vs. Apple Silicon: Key Differences

MacBook Pro fraud

On Macs with Intel the process is more direct and flexible, since the Linux ecosystem has supported this architecture for years and Apple's bootloader allows booting from USB without too much friction.

On Apple Silicon (M family), Boot Camp is not available Linux compatibility depends on specific projects and drivers. For native, the reference is Asahi Linux; alternatively, ARM64 virtualization with Parallels Desktop, VMware Fusion, or VirtualBox.

Some guides for Intel Macs recommend using Boot Camp to create the partition, Install Windows and, on that partition, install Linux. This is a valid way to manage partitioning, although in many cases you can install Linux directly "alongside macOS" from its own installer.

Dual-booting Linux on Mac (General Method)

Dual boot lets you choose between macOS and Linux every time you turn on your computer, keeping your macOS installation intact and separate from your Linux installation.

Basic step by step: 1) Insert your distribution's bootable USB drive; 2) Turn on your Mac and hold down the Option (Alt) key to open the Boot Manager; 3) Select "EFI Boot" to launch the Linux installer.

During installation, choose the “Install alongside macOS” style option so as not to overwrite your current system. If you prefer, you can partition manually, but it's important not to touch the Apple Recovery or macOS partitions.

When finished, reboot and use Option (Alt) to select system again. on every boot. If you don't see Linux, check the boot order or reinstall the distro's boot loader.

Virtualize Linux on macOS

unpack pkg file on linux

Virtualization is the safest and most reversible way to use Linux without touching partitions, Ideal if you want to test distributions, do development, or run specific tools.

Choose virtualization software compatible with your Mac: Parallels Desktop, VMware Fusion, or VirtualBox. On Apple Silicon, use ARM64 images of your distribution for best performance and compatibility.

Create the virtual machine by assigning CPU, RAM and storage according to your usage, and mount the ISO for installation. For lightweight desktops, 2–4 GB of RAM may be sufficient; for full-featured environments and development, aim for 6–8 GB and more CPU.

Start the VM and complete the Linux installation wizard, Just like you would on a physical computer. Install Guest Additions or hypervisor integrations to enhance graphics, clipboard, and shared folders.

Native Linux on Apple Silicon with Asahi Linux

Asahi Linux is a reverse engineering project that has managed to bring native Linux to Apple's M chips, creating drivers and customizations without official documentation. Their goal isn't just to get things started, but to offer a functional and secure experience.

The Asahi installer takes advantage of the macOS partitioning scheme, allowing for dual booting without interfering with the main installation. The process is automated and guided from Terminal, reducing complexity for the user.

One of its milestones is the graphics driver for the Apple GPU, which enables fluid desktop environments. However, compatibility isn't complete across all models, and some features are still evolving.

Asahi Linux Requirements and Compatibility

MacOS Catalina now on Linux

Minimum requirements published by the project for Apple Silicon: macOS 12.3 or later (administrator session), internet connection, and, for a full desktop, at least 53 GB of free space.

Device and chip compatibility: Macs with M1, M1 Pro, and M1 Max are the primary focus. Mac Studio is not included in the process outlined by the Asahi team in its current support notes.

Hardware status: Many laptops support Wi-Fi and Thunderbolt/USB-C ports with varying limitations; in others, Bluetooth, DisplayPort, and Touch ID may not work. Coverage varies depending on the model, so it's a good idea to check the "Device Support" page.

Hands-on experience reported on M2 MacBook Air: almost everything working (screen, trackpad, speakers, Bluetooth, Wi‑Fi, camera and MagSafe), but without USB‑C video for external monitors, without Thunderbolt/USB4 and without Touch ID, among other details.

Installing Asahi Linux step by step

The Asahi installer is launched from Terminal with a single command and guides you through the entire process, including disk resizing and partitioning for Linux.

  1. Launch the installer with administrator privileges: Open Terminal on macOS and run curl https://alx.sh | shYou will be prompted for the administrator password to continue.
  2. Resize macOS partition: When prompted by the installer, press "r" to reduce the size and free up space for Asahi. You can specify GB or percentage. If you prefer, use Disk Utility to do this first and return to the installer.
  3. Don't be alarmed if your computer seems to freeze during the resize, This is a normal part of the resizing process. Confirm with “y” when prompted and wait until you see “Resize complete.”
  4. Start the installation: Press “f” and choose the edition. You’ll see options based on Fedora (for example, “Fedora Asahi Remix 42 with KDE Plasma”). Enter the number of your choice when prompted.
  5. Allocate the space: Type “max” to use all the free space, “min” to use the minimum required space, or specify a specific amount in GB. Then, give your installation a name to identify it at startup.
  6. Finish preparation and turn off: The wizard will download everything you need and show you instructions. When you press Enter, your Mac will shut down; wait about 25 seconds.
  7. Boot by selecting the Asahi partition: Turn on your Mac by holding down the power button and, when the options appear, choose the partition with the name you gave Asahi.
  8. Complete the deployment: Follow the on-screen steps. You'll see a Terminal that automates the setup; at some point, it may ask you for your macOS password again and if you want to send an installation report to the Asahi team.
  9. First boot into Linux: Upon completion, your Mac will restart and load Asahi Linux. Note that by default, your computer may boot into Asahi; to boot into macOS, hold down the power button during startup and select macOS.

linux

First impressions and practical limitations

  • Performance: Overall fluidity is very good, with a solid desktop experience. In some intensive sessions (for example, playing YouTube videos while the system updates packages), greater heat buildup was observed compared to macOS.
  • Connectivity and peripherals: Wi‑Fi and Bluetooth work correctly on well-supported models, although in certain situations the Wi‑Fi signal seems slightly weaker than on macOS.
  • Interface and shortcuts: Trackpad gestures are well-behaved, and the function keys allow for brightness, volume, and media control. On devices with a notch, some interfaces may leave a black bar at the top.
  • Browser: Firefox comes pre-installed and works great. Chrome doesn't have an official ARM version for Linux; you can use Chromium, although it doesn't fully sync with your Google account.
  • Keyboard: Many combinations that in macOS use Command in Linux go to the Control key, so it is advisable to adapt or remap if it is more comfortable for you.

Common problems and how to deal with them

Hardware Compatibility: Depending on the model (Intel or Apple Silicon) and distribution, you may experience issues with Wi-Fi, graphics, audio, or ports. Check your distro's wiki and Asahi's Device Support to confirm the support status.

Firmware updates: Apple's may not be a 100% match for Linux on Mac. Stay up to date with your distribution's release notes and the Asahi project's release notes to avoid surprises after updating macOS or firmware.

Bootloader and Partitions: If Linux doesn't appear on boot after installation, check the boot manager (GRUB/systemd-boot) and make sure the partitions aren't marked as hidden. On Apple Silicon, always use the Asahi script.

Mac-friendly Linux distributions

ubuntu

  • Ubuntu: Very popular, with extensive documentation and hardware support. Its intuitive experience makes the transition from macOS easy.
  • Linux Mint: Based on Ubuntu, it prioritizes usability; its Cinnamon environment is somewhat reminiscent of macOS workflows, which helps those coming from the Apple ecosystem.
  • elementary OS: It focuses on a careful, minimalist design and a clean interface with a dock, which is familiar to Mac users who value aesthetics and visual coherence.
  • ZorinOS: includes appearance profiles, including one that closely mimics the macOS experience, providing a smooth landing for those migrating or switching.

Linux in the cloud from your Mac

If you want to use Linux without installing anything locally, Cloud computing is a very convenient alternative. Everything runs on remote servers, and you access it from your browser.

With modern browsers (Safari, Chrome or Firefox) you can pull up remote environments and use them as if they were local, with the advantage of not touching the Mac's SSD. Many platforms make it easy to create Linux machines in the cloud and connect via the web.

In practice, Chrome often offers the most polished experience for these types of scenarios, especially when you integrate remote desktops and advanced web services for development and testing.

Advantages of using Linux on a Mac

linux

  • Flexibility and customization: Linux allows for fine-tuning everything from the interface to kernel parameters, enabling customized environments for each task or project.
  • Development tools: The Unix foundation of macOS already facilitates scripts and utilities, and with Linux you have full access to the ecosystem, package managers, and repositories. On macOS, Homebrew is a great complement if you're switching between the two systems.
  • Native performance and good hardware: Retina displays, trackpads, and the Mac's entire suite of components are put to good use when support is mature across each model.
  • Security, stability and free software: The open source ecosystem offers powerful and affordable solutions. You can harden security to your needs and audit what you install.
  • Cross-platform learning and testing: Switching between macOS and Linux is ideal for expanding your knowledge, testing software in different environments, and improving the compatibility of your projects.

How to uninstall Asahi Linux and recover space

If Asahi doesn't fit into your daily routine, removing it is easy with Disk Utility, Reclaiming space for macOS without reinstalling the entire system.

Open Disk Utility, go to “Partition” and locate the partition created for Asahi, usually the one that appears right after “Macintosh HD” (check the name in the right column).

Select that partition and press the “–” button to delete it; Repeat with the other Asahi-associated characters after “Macintosh HD.” Don’t delete the one just before “Macintosh HD.”

Apply the changes and wait for the process to finish; The space will return to the primary partition. The next time you restart, your Mac will boot into macOS. You may need to enter your password and unlock the drive.

These options allow you to easily manage and remove Asahi Linux, reclaiming space and keeping your Mac in its original configuration.