Linux is an open-source operating system that you can install on your computer for free. It offers several advantages over Windows and Mac, such as flexibility, privacy, better security, and easy customization. If you have a Mac, and you would like to explore a new, open-source OS, check out our guide on how to install Linux on a Mac.
If you want to dual boot Linux and macOS, you will need to create a space for your Linux OS to live. In order to do this, you will have to partition your main hard drive. Here’s how to do that:
How to Partition your Mac Hard Drive
- Open your Applications folder and click Utilities.
- Then open Disk Utility.
- Next, click View in the top left corner of the window.
- Then select Show All Devices.
- Select your macOS partition and then click Partition. You can find this button at the top of the window. If you are using a newer Mac, you might be asked to add a volume. You can click Partition on the pop-up.
- Set the partition size you need for your Linux OS. You can do this by dragging the little white circles on the edge of the larger circle, or you can enter the size in the box next to Size. The gray side of the pie will be your Mac space, while the blue space will be your new partition. It is recommended that you set aside at least 20GB for Linux. You can also add other information here as well, such as the partition name. Take note of the size of your partition, you will need this information later.
- Format the new partition as MS-DOS (FAT).
- Click Apply. This will cause your computer to become unresponsive as the partition is created.
- Click Partition and Continue when further prompted and wait for the partition process to finish.
How to Make a Bootable USB on a Mac
- Download a Linux distro. An ISO file is a disk image. Some of the top options are Ubuntu, Mint, or Deepin. They are free to download from each distribution’s main website. In this article, we are using Ubuntu.
- Open Disk Utility, select your USB drive, and click Erase.
- Then format your USB drive as MS-DOS (FAT) and the scheme as GUID Partition Map. You can do this in Disk Utility by selecting your drive and clicking Erase.
- Download the Etcher app. This will allow you to burn your Linux distro onto a USB flash drive. You can download Etcher for free here.
- Move the Etcher app to your Applications folder. If you get a warning saying that you are not able to open the application, you will have to go to System Preferences > Security and Privacy > General. Then click the lock, enter your password, and click Open Anyway.
- Open Etcher, click Select Image, and select your Linux ISO. This is the file you downloaded in step one.
- Click Select target and choose your USB drive.
- Then click Flash. If you get an error message, and you’re running a newer OS, go to Applications > Utilities and open the Terminal app. Then enter the following command and hit enter:
If you still get an error message that says the disk you inserted was not readable, click ignore.
How to Install Linux on a Mac
Once you’ve made a partition, you can then continue with the rest of the Linux installation setup below. But before you begin, you will need a USB mouse and keyboard. This is because Linux will not detect your drivers if you have a newer Mac.
- Switch off your Mac computer.
- Plug the bootable Linux USB drive into your Mac.
- Turn on your Mac while holding down the Option key. You will then see the boot manager with a list of available devices you can boot from.
- Select your USB stick and hit enter. This will be named EFI boot or EFI drive.
- Then select Install from the GRUB menu. You can also select Try Without Installing.
- Follow the on-screen installation instructions. Select Normal Installation.
- On the Installation Type window, choose Something else. This is an option that will let you choose the partition you made earlier for installing your new Linux OS. If you choose the other options, you risk installing Linux over your current operating system, which would also erase all your files and folders.
- Choose the partition you made. This is the partition that is the same size as the one that you made earlier.
- Then click Change. You will see this under the list of devices.
- In the Use as drop-down, select ext4 journaling file system.
- In the Mount Point drop-down, select forward slash and click OK.
- Click Continue when prompted.
- Then click Install Now.
- Next, click Continue on succeeding warning pop-ups.
- Enter your time zone, choose your keyboard layout, and click Continue.
- Set up your Linux account. Type in your name, computer name, username, and password.
- Click Continue.
- Wait for the installation process to start and finish.
- Restart your Mac and hold down the Option key while it does.
- Choose your Linux OS to start using it.
After installing the OS and exploring it, make sure that your applications are working properly.
Now that you know how to install Linux on your Mac, check out our guide on how to install Linux on a Windows 10 computer.
HelloTech editors choose the products and services we write about. When you buy through our links, we may earn a commission.