How To Dual Boot Ubuntu & MacOS On MAC 2023 || Install Ubuntu On MAC (INTEL ONLY)

Ksk Royal www.youtube.com

Brief Summary

This video provides a comprehensive, step-by-step guide on how to dual-boot macOS and Ubuntu on Intel-based Macs. It covers creating free space for Ubuntu, downloading the necessary ISO file, installing Ubuntu, addressing potential performance issues like battery drain, and finally, how to delete Ubuntu if you wish to revert to macOS only.

  • Guide for dual-booting macOS and Ubuntu on Intel-based Macs.
  • Covers installation, performance optimization, and removal of Ubuntu.
  • Addresses potential issues like driver problems and battery drain.

Introduction

The video introduces a tutorial on dual-booting macOS and Ubuntu on Intel Macs. It specifies that the guide is for Intel Macs only, directing users with Apple Silicon Macs to another resource in the description for Linux installation on M1 or M2 Macs. The presenter highlights that Ubuntu, while functional on most Intel-based Macs, isn't officially supported by Apple, which may lead to driver-related issues like speaker, Bluetooth, and battery problems. The guide is designed for Macs without a T2 chip; those with a T2 chip need to disable a security feature in recovery mode to allow booting from external media. The presenter uses a 2017 MacBook Pro without a T2 chip for the demonstration.

Creating A Free Space For Ubuntu

To install Ubuntu, at least 30GB of free space needs to be reserved on the Mac's drive. The presenter instructs viewers to open the terminal and use a command to list all the Mac's partitions, advising them to take a screenshot for later reference. Next, the presenter guides the user to shrink the free space for the Linux system by opening Disk Utility via Spotlight. In Disk Utility, users should select "show all devices," choose the main drive (Apple SSD), and click "partition." A "+" button is used to add a partition, where the desired amount of free space for Linux is allocated using a slider (60GB is used in the tutorial). The partition is named "Linux" and formatted as "MS-DOS (FAT)." The presenter notes that the Mac may freeze during partition creation, and users should wait for the process to complete. After successful creation, the Linux partition will be visible in the sidebar.

Download ubuntu ISO

The next step involves downloading the Ubuntu ISO file. The presenter instructs viewers to open Safari and navigate to the Ubuntu website to download the ISO. They recommend using the LTS (Long Term Support) release, which is supported for 5 years, but also mention that users can opt for non-LTS versions like Ubuntu 22.10 for the latest Gnome desktop features. The installation process remains similar across different Ubuntu versions. While the ISO downloads, the presenter directs viewers to download and install Balena Etcher. Once installed, a USB drive with at least 8GB of free space should be connected, and Balena Etcher is used to create a bootable USB installer using the downloaded Ubuntu ISO. The presenter notes that this process may take a few minutes to complete.

Installing Ubuntu

After creating the bootable USB, the presenter instructs the viewer to connect the power adapter and restart the Mac. During restart, the option key should be held down to enter the boot menu, where the bootable USB drive (labeled "EFI Boot" in orange) will be visible. Using the arrow keys, this drive should be highlighted and selected to boot the Ubuntu installer. The presenter then walks through the initial steps of the Ubuntu installer, including choosing the keyboard language and connecting the Mac to the internet via Wi-Fi. The "normal installation" option should be selected, along with the options to download updates and install third-party software. The presenter emphasizes choosing the "something else" option for installation type to manually create partitions for Ubuntu, warning against the option to erase macOS.

The presenter guides the user through the partition page, emphasizing the need for caution. The "Fat 32" partition with the created free space should be identified (64GB in the example). The free space is then selected and made unallocated. Two partitions are created: a 1000MB EFI partition for the Ubuntu boot loader and a root partition using the remaining free space. The presenter notes the existing EFI partition related to macOS should not be touched. The newly created EFI partition is selected, and the installer is directed to install GRUB on it. After clicking "install," the changes to the disk are accepted, and the user is prompted to choose their country and create a user account. The installation process then begins, which the presenter notes will take a few minutes.

Performance

The presenter shares their positive experience with Ubuntu on Mac, noting a significant performance boost, especially for older Macs struggling with macOS. Most apps tested worked without issues. The presenter mentions facing problems with sound and battery drain, and suggests that any issues can be resolved through online searches on Google or Stack Overflow.

Fix Battery Draining

To address battery draining or overheating issues, the presenter provides a solution involving installing and configuring Auto CPU frequency scaling. The presenter instructs the user to copy and paste a line of code into the terminal to install the tool, then change the directory to Auto CPU and execute a script to set up Auto CPU frequency on Ubuntu. This tool monitors battery state, CPU usage, and temperatures to improve battery life. The presenter provides commands to check the status and view real-time statistics of system resources. The presenter notes the inability to fix speaker issues and asks for solutions in the comments.

Delete Ubuntu

As a bonus, the presenter demonstrates how to delete Ubuntu and revert to macOS only. The process begins by booting back into macOS and opening the Terminal. The command diskutil list is used to identify the Ubuntu partitions (partitions 3 and 4 in the example), comparing them with the screenshot taken during installation. The Ubuntu EFI partition is located (disk0s3 in the example), and the command sudo diskutil eraseVolume JHFS+ empty /dev/{partition identifier} is used to erase it. In Disk Utility, "Show All Devices" is selected, and the Apple SSD is chosen. The two Ubuntu partitions are selected and erased. The presenter warns against touching the recovery partition. The Ubuntu partitions are then deleted, adding the free space back to macOS. Finally, the Startup Disk settings are opened to change the boot order, selecting macOS to boot automatically.

Summarize any YouTube video in seconds

Get summaries like this one for any video, in your language, with the free Summ app.

Download on the App Store
Get it on Google Play

Transcript

Full transcript of “How To Dual Boot Ubuntu & MacOS On MAC 2023 || Install Ubuntu On MAC (INTEL ONLY)”. Click a timestamp to open the video at that moment. Need another video? Use the YouTube transcript generator.

0:00 In this video, I am going to show you how to dual-boot macOS & Ubuntu On Your Mac in a few minutes. This is a step-by-step installation guide that helps you to run Ubuntu Natively On Older Macs. Keep in mind, this guide is only for intel Macs if your Mac is powered by apple silicon check out the link in the description for detailed information on installing Linux on M1 or M2 Mac. That being said, let’s get this video started. Before installing Ubuntu alongside macOS on your Mac, it's important to understand a few things. Ubuntu is an open-source operating system that can run on most Intel-based Macs, but it is not officially supported by Apple. This means that you may encounter some issues

0:46 with drivers, such as problems with speakers, Bluetooth, and battery drain. While there are some workarounds available, it's important to be aware of these potential issues before you begin the installation process. Additionally, it's important to note that this guide is intended for Macs that do not have a T2 chip. If your Mac does have a T2 chip, you will need to take an additional step before installing Ubuntu. Specifically, you will need to disable a feature that prevents the Ubuntu installer from booting from external media. To enable external booting on a Mac with T2 Chip, first, restart your Mac and hold the Command + R keys to boot into recovery mode.

1:38 From the menu bar, choose Utilities, then Startup Security Utility. In the Startup Utility, select the option to allow booting from external media to successfully install Ubuntu on your Mac. To demonstrate this video, I will be using My MacBook Pro 2017. This device does not have a T2 security chip, so I can easily boot from external media without any additional steps. Now let’s get into installing Ubuntu on MacBook. First things first, to install Ubuntu on your Mac, you need to reserve at least 30GB of free space on your drive. This is crucial for the Linux system to function properly. Then, open the terminal on your MacBook

2:24 and type a command that will list out all the partitions of your Mac. Take a screenshot of all the partitions as we will be referring to this later on. Next, we're going to shrink the free space for the Linux system. To do this, open Spotlight by pressing command + space bar, type "disk utility" and open. From the menu bar, choose "show all devices" and select the main drive (Apple SSD). Then Click on "partition," and click on the "+" button to “add a partition." Allocate the desired amount of free space for Linux using the slider.

3:11 I'm going to stick to 60GB for this tutorial. You can name the partition "Linux" or any desired name and select "ms-dos fat" as the format. While creating the partition, your Mac may freeze for a while, but don't interrupt anything until it completes.

3:57 Once the operation is successful, you'll be able to see the Linux partition on the sidebar. It's time to download the Ubuntu ISO. Open Safari and head over to the Ubuntu website and click on the download button. The latest versions of Ubuntu at the time of this recording are 22.04 and 22.10. I always recommend using the LTS release which is meant to be supported for 5 years. But if you want to experience the latest features of the Gnome desktop, choose Ubuntu 22.10 or any non-LTS release. The installation process will be similar for any version of Ubuntu. While the ISO is downloading in the background,

4:42 head over to this website and download and install Balena Etcher on your Mac. Once you've done that, connect your USB drive with at least 8GB of free space and use Balena Etcher to create a bootable USB installer with the Ubuntu ISO. It may take a few minutes for this process to complete.

5:40 Once it's done, connect your power adapter and restart your Mac. While it's restarting, hold the option key until you enter the boot menu. Here you'll see the Bootable USB Drive, which will be in orange color and named EFI Boot. Using the arrow keys, highlight this drive and press enter to boot the Ubuntu installer. Now go ahead and click on 'install Ubuntu'.

6:31 Next, choose your keyboard language, and connect your Mac to the internet using WIFI. Once it's connected to the WIFI network, click on 'continue’. Now, choose the 'normal installation' option, and make sure you tick these two options and continue. The installation type will show two options. The first one will erase macOS and install Ubuntu, so do not attempt to use this option. Instead, we'll stick to the second option, which lets

7:16 you create partitions manually for Ubuntu. Go ahead, choose 'something else', and continue. This will take you to the partition page. Here, you can see all of the internal and external drives. You need to be very careful at this point. On the top, look for the partition that says 'Fat 32' with the free space you created. In my case, it's the blue one with 64GB of free space. Under the main NVME drive, this is the free space we're going to use to create two partitions. In your case, it may say /dev/sda or NVME. Go ahead, select the free space, and click on '-' to make it unallocated.

8:06 Now, select the free space, click on '+' and enter the size of 1000MB. This could be the first partition, known as the EFI partition, where the Ubuntu boot loader is going to be installed. Then, again, select the free space, click on the '+' button, and use the entire free space to create a root partition. We can create a swap partition the same way, but for now, I don't need it because my Mac is having a decent amount of RAM. That's it! We've done creating two partitions which are EFI and ROOT.

8:51 If you notice, the first EFI partition is already there, which is related to macOS. Don't touch this one at any point. Now, go ahead, select the EFI partition that we created, and choose the bootloader installation. Tell the installer to install grub on the newly created EFI partition. Once it's done, click on 'install' and accept the changes to the disk and continue. Now go ahead, choose your country and create a user account. Once it's done, click on 'continue' to start installing Ubuntu. This will

9:40 take a couple of minutes, so sit back, relax, and grab some drinks. Once the installation is complete, click on 'restart'. While it's restarting, remove the USB drive. It should boot into Ubuntu automatically. Keep in mind, after setting up dual-boot on your Mac, the startup disk is set to Ubuntu.

10:34 Voila, now can see we have successfully installed ubuntu on Mac. Go ahead and enter your password to log in. I just wanna say in one word Ubuntu On Mac is very impressive. If your Mac is older and can't handle macOS anymore, switching to Ubuntu can give you a top-notch performance boost. Most of the apps I've tried work fantastically without any issues. The only problem I'm facing on my Mac is with the

11:19 sound and battery draining. You may also run into issues with drivers. But don't worry, any issues you have can be easily solved by searching on Google or Stack Overflow. If you're having battery draining or overheating issues, I'll show you how to fix that. First, head over to this link, and copy and paste this line of code into the terminal. Once it's installed, change your directory to auto CPU and execute this script to set up auto CPU frequency on Ubuntu. This is a very useful tool that actively monitors the battery state,

12:08 CPU usage, and temperatures, ultimately allowing you to improve battery life without making any compromises. Once it's installed, you can type this line to learn the usage of the command. Now, let's go ahead and activate it to run as a daemon service by running this command. You can check the status of this service by running this command and also run this command to see the real-time statistics of the system resources. Unfortunately, I couldn't make the speakers work, so if anyone of you finds a solution,

12:57 please let me know in the comments down below. If you decide to switch back to macOS, first turn off Ubuntu. Then press and hold the option key until you see the boot menu. This is where you can see both macOS and Ubuntu entries. You can choose Macintosh to boot into it. This is a perfect dual-boot setup on an Intel Mac with Ubuntu and macOS. As a bonus for this video, I'll show you how to delete Ubuntu Linux from the dual-boot

13:45 setup and return to just using macOS. First, boot back into macOS and open the Terminal. Type diskutil list and take a look at the internal drive. Partitions 3 and 4 are the main volumes for Ubuntu Linux. Compare these partitions with the screenshot you took during the Ubuntu installation process to ensure you're identifying the correct partitions. Next, look for the Ubuntu EFI partition. In my case, disk0s3 is the identifier of this partition. In your case, it may be different, so make sure to note down the correct identifier. Keep in mind, don't use the first EFI partition, which is related to macOS. In my case,

14:34 disk0s3 is the Ubuntu EFI partition, and this is the one we need to erase. To do so, type sudo diskutil eraseVolume JHFS+ empty which is going to name the volume then /dev/ with the correct partition identifier for your setup. Press enter to erase this volume. Now head over to the Disk Utility. From the menu bar, choose View and click on Show All Devices.

15:20 From the sidebar, choose Apple SSD and click on the partition. If you see two partitions that were created for Ubuntu, select them and click on Erase. If you see a last partition named recovery, don't touch it. Go ahead select this partition and click on -. Then select the main one and choose to delete. Once they're deleted, the free space will be added back to the macOS. Finally, open the Startup Disk settings and change the boot order. You can choose macOS

16:07 to boot automatically whenever you reboot your system. That's it! Now you know how to properly set up a dual-boot with Ubuntu and macOS on your Mac. Let me know what you think about it in the comments section below. Thanks for watching, this is KSK ROYAL, and I'll see you in the next one.

Share

More video summaries