Install Linux On Mac

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.

To install some Linux apps on macOS with MacPorts, we will first need to search for the relevant programs. To see a gigantic list of all available packages, open Terminal, type port list and press Enter. Furthermore, Ubuntu, a popular variety of the open-source OS, works well on a Mac, and best of all, it can be booted natively. Read on to find out how. Running Ubuntu on your Mac will require a few things: an EFI boot menu called rEFInd, a Linux Live CD or USB, and some spare time. On my Mac Pro 1,1 I installed an Apple/ATI HD4870 (RV770?) video card and it works fine with most newer distros (but I didn't want to go through the Debian Net install gyrations. Fully how the Debian Jessie distro can't get the HD4870 working but Ubuntu and others got it to work right out of the box. If your Mac still refuses to boot off your USB stick you may find it easier to boot and install off an Ubuntu DVD instead. See our How to burn a DVD on macOS for further details. Alternatively, if you feel confident using the macOS command line, see the community documentation on How to install Ubuntu on MacBook using USB Stick for a more.

If you want to dualboot Linux and macOS, you will need to create a space for your Linux OS tolive. In order to do this, you will have to partition your main hard drive.Here’s how to do that:

Install Linux From Usb

Install Linux On Mac

How to Partition yourMac Hard Drive

  1. Open your Applications folder and click Utilities.
  2. Then open Disk Utility.
  3. Next, click View in the top left corner of the window.
  4. Then select Show All Devices.
  5. 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.
  6. 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.
  7. Format the new partition as MS-DOS (FAT).
  8. Click Apply. This will cause your computer to become unresponsive as the partition is created.
  9. Click Partition and Continue when further prompted and wait for the partition process to finish.

How to Make a BootableUSB on a Mac

  1. 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.
  2. Open Disk Utility, select your USB drive, and click Erase.
  3. 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.
  4. 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.
  5. 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.
  6. Open Etcher, click Select Image, and select your Linux ISO. This is the file you downloaded in step one.
  7. Click Select target and choose your USB drive.
  8. 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 thedisk you inserted was not readable, click ignore.

How to Install Linux on a Mac

Once you’ve made a partition, you can thencontinue with the rest of the Linux installation setup below. But beforeyou begin, you will need a USB mouse and keyboard. This is because Linux willnot detect your drivers if you have a newer Mac.

Mac
  1. Switch off your Mac computer.
  2. Plug the bootable Linux USB drive into your Mac.
  3. 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.
  4. Select your USB stick and hit enter. This will be named EFI boot or EFI drive.
  5. Then select Install from the GRUB menu. You can also select Try Without Installing.
  6. Follow the on-screen installation instructions. Select Normal Installation.
  7. 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.
  8. Choose the partition you made. This is the partition that is the same size as the one that you made earlier.
  9. Then click Change. You will see this under the list of devices.
  10. In the Use as drop-down, select ext4 journaling file system.
  11. In the Mount Point drop-down, select forward slash and click OK.
  12. Click Continue when prompted.
  13. Then click Install Now.
  14. Next, click Continue on succeeding warning pop-ups.
  15. Enter your time zone, choose your keyboard layout, and click Continue.
  16. Set up your Linux account. Type in your name, computer name, username, and password.
  17. Click Continue.
  18. Wait for the installation process to start and finish.
  19. Restart your Mac and hold down the Option key while it does.
  20. Choose your Linux OS to start using it.

After installing the OS and exploring it, makesure 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.

Download Linux On Mac

Updated on January 29, 2020

Was this article helpful?

Install Linux On Mac With Bootcamp

Related Articles