Plus, it’s not compatible with M3 Macs yet.

For everyone else, we’ll explain how to dual-boot Linux on Intel-based Macs below.

Use an Ethernet adapter to connect your Mac to the internet.

A MacBook on a desk running Ubuntu

Raghav Sethi/MakeUseOf

This is important because your Wi-Fi may not work in Ubuntu without third-party drivers.

Finally,make a backup of your Mac.

You won’t lose data by installing Linux in a dual boot partition.

macOS System Settings menu showing the Storage section

However, if something goes wrong, you may need to erase your entire Mac to fix it.

This will make it far easier to revert to macOS again in the future.

If you don’t want to create a dual boot system, skip to the next section.

macOS Disk Utility

Ideally, you should set the swap partition to about half the RAM your Mac has.

Go toSystem configs > web link > FileVaultto turn it off.

Therefore, your next step is todownload rEFInd, which is the boot manager we recommend.

macOS Disk Utility Create Partitions Menu

To install rEFInd, it’s crucial that you temporarilydisable System Integrity Protection in macOS.

This is an important security feature, so verify you re-enable it after.

But if it doesn’t, holdOptionwhile booting up to load your boot manager.

macOS terminal running the rEFInd setup

you gotta use a third-party app to create a USB installer from the Ubuntu disk image.

One of the simplest apps for this isEtcher, but you’re able to use anything you like.

This can cause problems when booting from a USB drive.

balenaEtcher window ready to create an Ubuntu USB installer

To solve this, you’ll need to take some extra steps.

you’re able to ignore this part if your Mac doesn’t have a T2 chip.

An Ubuntu loading screen appears, followed by the Ubuntu desktop.

macOS Startup Security Utility

Use this opportunity to test Ubuntu on your Mac.

Note that because Ubuntu is running from your USB flash drive, it may be slow.

If prompted, choose to keep your partitions mounted.

rEFInd Boot Manager With Options to boot from Windows or Ubuntu

Option 1: Dual Boot Ubuntu With macOS

From theInstallation typescreen, selectSomething Elseand clickContinue.

On the next screen, you’re gonna wanna identify and select theUBUNTUpartition you created.

Double-click to select it and chooseUse as: Ext4 journaling file system.

Ubuntu Desktop

Set theMount pointto/and check the box toFormat the partition.

In the popup alert, clickContinueto write previous changes to the disk.

Now, identify your SWAP partition, which should also havefat32in the name.

Ubuntu Installer Installation Type Menu

Double-click it and choose toUse as: swap area, then clickOK.

Open theDevice for boot loader installationdropdown menu and select your UBUNTU partition again.

The name should match what you selected for it from the table above.

Ubuntu Installer Disk Partitions Menu

Take a moment to ensure you selected the correct partitions, then clickInstall Now.

ClickContinuein the popup alert to confirm you want to write changes to those disks.

Option 2: Replace macOS With Ubuntu

From theInstallation typescreen, selectErase disk and install Ubuntu.

Installation type for Ubuntu

This erases everything from your Mac, including the operating system and the recovery partition!

You’ve now installed Linux on your Mac successfully!