Install Ubuntu on Mac [Dual Boot]

LINUX
FUNDAMENTALS
A Complete Guide for Beginners Enroll Course Now

Installing Ubuntu on a Mac is a transformative step for users seeking to blend the power of Linux with the sleek hardware of Apple. Ubuntu, a popular and user-friendly Linux distribution, opens up a world of customization, versatility, and access to a vast array of open-source software. In this guide, I’ll demonstrate the seamless process of installing Ubuntu on Mac step by step.

Requirements to Install Ubuntu on Mac

The minimum requirements for installing Ubuntu as dual boot on Mac are:

  • RAM: 4 GB
  • Processor: 2 GHz dual-core
  • Free Storage: 30 GB
  • USB Drive: 4 GB
  • VGA capable of 1024×768 screen resolution
  • Internet access is helpful

11 Steps for Dual Boot Installation of Ubuntu on Mac

Follow the below steps one by one to dual-boot macOS Sonoma and Ubuntu in the easiest way:

1. Download the Ubuntu ISO File

After backing up data, the first step of installing Ubuntu is to download Ubuntu’s ISO file. I’m downloading a 64-bit installer of Ubuntu 22.04.3 LTS.Download page of Ubuntu ISO

2. Create a Bootable USB Drive

To create a bootable USB drive of the ISO file, use “Etcher”. It is a free and open-source application. First, install Etcher on Mac. After installing, follow the steps:

  1. Open Etcher and select “Flash from File”.Click on flash from file to select ISO file
  2. Select the ISO file from the location where you’ve downloaded it.Select the ISO file of ubuntu from the downloaded location
  3. Plug in a USB pen drive to the PC and click on “Select target”.Click on select target to select USB drive
  4. Select your USB drive from the list.Select your USB drive from the list
  5. Finally, click on “Flash” to start flashing the ISO file into the USB drive.Click on flash to start flashing the ISO into the USBAfter that, Etcher will flash the ISO file into your USB drive and make it bootable.

3. Create Disk Partition

To create a disk partition on Mac, follow the below steps:

  1. Open Spotlight by pressing COMMAND (⌘) + SPACE.
  2. Search and open Disk Utility.
  3. Click on View and select “Show All Devices”.Selecting show all devices from the view pane.
  4. Select the topmost device and click on “Partition”.Partitioning the Hard drive of Mac
  5. Click on the + icon.Clicking on the plus icon on partitioning
  6. Click on Add Partition.Clicking on Add partition
  7. Allocate space for Ubuntu and set the format as MS-DOS (FAT). Then click on “Apply”.Allocating space for Ubuntu
  8. Click on “Done” when the partition is created successfully.Confirming partitioning
Back up your important files to prevent data loss before proceeding to the next steps.

4. Boot Ubuntu from USB Drive

To boot Ubuntu from the USB drive, follow these steps:

  1. Plug the bootable USB drive into the PC.
  2. Restart and hold the OPTION (⌥) key.
  3. Select “EFI boot” using the arrow keys and press ENTER.Selecting EFI boot
  4. Select the option “Try or Install Ubuntu” and press ENTER.Boot screen of Ubuntu installation
  5. Click on Install Ubuntu.Selecting install Ubuntu

5. Select the Keyboard Layout

Select the keyboard layout and click on Continue.Select keyboard layout English US

6. Connect to Network

Select your WiFi, enter the password, and click on Connect.Connecting to WiFi network

7. Installation Setup

Select “Normal installation” and click on Continue. It’ll install web browsers, utility software, games, and media players during the installation.Selecting normal installation

8. Installation Type

To set the installation type for dual boot Ubuntu on Mac, follow the steps:

  1. Select  “Something else” for manual partitioning.Selecting "something else" for manual partitioning
  2. Select the partitioned space (62 GB) for Ubuntu and click on to unallocate it.unallocating the partitined space
  3. Now, select the free space and click on the + icon.Selected free space for EFI partition
  4. Allocate size 1000 MB, set the partition type as “Primary”, and select file system as EFI System Partition. Then click OK.Setting EFI partition of 1000 MB
  5. Again, select the free space and click on the + icon.Selecting free space for root partitioning
  6. Allocate the remaining space, set the partition type as “Primary”, select the file system as Ext4, and set the mount point to /. Then click OK.Allocating space for root partition
  7. Select the newly created EFI partition from the dropdown list of “Device for boot loader installation”.Setting ubuntu EFI as bootloader
  8. Finally, click on “Install Now”.

9. Set Your Location

Select your location from the drop-down menu on the map screen. However, this information will be detected automatically if the computer is connected to the internet. Then, click on Continue.Set your location

10. Create User Credentials

On this screen, type your name, computer name, and username. Then type and re-type a strong password. Finally, select “Require my password to log in”. Selecting this option will ask for the password every time you power on your PC. Click on Continue.Setting up username and passwordNow, installation will start. It may take a few minutes.Ubuntu installation progress

11. Restart the PC

An “Installation Complete” prompt appears on the screen at the end of the installation. Plug out the USB flash drive (installation media) from the computer and click on Restart Now.Click on restart now

Note: Default startup is set to Ubuntu now. Press and hold the OPTION (⌥) key to choose between Mac and Ubuntu.

Choose ubuntu or mac from startup menu

Conclusion

In conclusion, embarking on the journey to install Ubuntu on your Mac not only expands the horizons of your device but also harmonizes the robust features of Linux with the sophisticated ecosystem of Apple. This step-by-step guide provides a comprehensive walkthrough for a seamless installation process, ensuring that both novice and experienced users can harness the strengths of Ubuntu on their Macs.

People Also Ask

Is Ubuntu supported on Mac?

Yes, it is possible to install Ubuntu on a Mac. You can easily install it on any Mac with an Intel processor. For M1/M2 processors, the installation process may seem advanced for common users. However, there are different ways to install Ubuntu on a Mac, such as using Bootcamp or running it via USB.

Can I install Ubuntu on an old iMac?

Yes, you can install Ubuntu on an old iMac. The installation process may vary depending on the model of your iMac. For example, if you have an iMac with an Intel processor, you can use Bootcamp or run it via USB. However, some older iMacs may not recognize the bootable items list when you try to boot from a flash drive or DVD. This could be because of the file formats that are not recognizable by MacOS.

Is Ubuntu better than macOS?

If you’re looking for an open-source operating system that is highly customizable and has a wide range of online support, Ubuntu might be the right choice. But if you’re looking for a user-friendly operating system that is optimized for Apple hardware and has built-in tools for creative professionals, macOS might be the better choice for you. Ultimately, the choice between Ubuntu and macOS depends on your personal preferences and needs.

Which Linux is best on an old Mac?

There are several Linux distributions that you can install on an old Mac. The best distribution depends on the preferences and needs. Some popular Linux distributions that are known to work well on older Macs are Ubuntu, Xubuntu, Linux Mint, Elementary OS, PsychOS, etc.

Can I dual-boot Ubuntu and MacOSX?

Yes, follow the steps below to dual-boot Ubuntu and MacOSX on a Mac:

  1. Download the current Ubuntu LTS installer.
  2. Create a bootable USB drive with the Ubuntu installer.
  3. Install rEFInd’s binary package.
  4. Resize the boot partition with Disk Utility.
  5. Restart your Mac and boot from the USB drive.
  6. Follow the Ubuntu installer prompts to install Ubuntu alongside macOS.

Related Articles


<< Go Back to Dual Boot Installation | Linux OS Installation Guide | Learn Linux Basics

5/5 - (1 vote)
Ashikur Rahman

Hello, I’m Ashikur Rahman, currently working as a Linux Content Developer Executive at SOFTEKO. I have completed my graduation in Computer Science and Engineering from Khulna University of Engineering & Technology (KUET). Also, I’m pursuing my master’s in the same department at Bangladesh University of Engineering & Technology (BUET). I like to learn new technologies, contribute, and share those with others. Here my goal is to provide beneficial and user-friendly articles on Linux distribution for everyone. Read Full Bio

3 thoughts on “Install Ubuntu on Mac [Dual Boot]”

    • Hi Loren Ray Zimmerman,
      You’re very welcome! I’m glad you found the information helpful. If you have any more questions or need further assistance, feel free to ask. Happy Ubuntu installing!

      Reply
  1. Hi. Thank you for the very well presented instructions.
    Will this work for a MacBook with silicon chip? ie m1, m2, m3?

    I would also like to set up a directory that Ubuntu & Mac could share. Ie both OS access the same folders for documents, photos, videos etc.
    Is this possible?

    Elfo.

    Reply

Leave a Comment