Install and Dual Boot Linux on a Mac - - Windows Tips and Tricks with Geek

Sunday, August 15, 2021

Install and Dual Boot Linux on a Mac


Install rEFInd

rEFInd is a boot manager that will allow you to choose between Mac OS X, Linux, Windows, and other operating systems when you boot your computer. Installing rEFInd makes the dual-boot process easier. (Some older how-to’s will instruct you to use rEFIt, but it’s no longer maintained. rEFInd is a currently maintained boot manager based on rEFIt.)

Full-disk encryption causes problems with rEFIt, so you’ll need to disable full-disk encryption or do some extra work before installing rEFInd.

First, visit the rEFInd page on SourceForge and click the Download button to download the latest refind-bin-[version].zip file. Open a Terminal window by pressing Command + Space and, typing Terminal, and pressing Enter. Drag and drop the file from the downloaded zip file into the terminal window and press Enter to run it.

Shut down your Mac — a full shut down, not a restart — and boot it back up again. You should see the rEFInd boot manager screen.

Partition Your Mac

You’ll now need to resize your Mac OS X system partition to make room for your Linux distribution of choice. From within Mac OS X, press Command + Space, type Disk Utility, and press Enter to open the Disk Utility. Select your Mac’s hard drive in the list on the left and select Partition on the right.

Shrink the current Mac OS X partition to make space for your Linux system. How much space you want for Linux is up to you. Ubuntu’s system requirements say it requires at least 5 GB of space, but something like 20 GB is much more reasonable. Drag and drop the handle on the partition volume or enter a final size for the partition and click Partition to partition it.

Don’t create a new partition after shrinking your current partition — just leave the space empty for now.

Boot and Install Linux

You’ll need Linux installation media to continue. For example, if you’re using Ubuntu, you’ll need to download an Ubuntu ISO file — download the “64-bit Mac” version. Burn the ISO to disc or follow Ubuntu’s official instructions to create a bootable USB drive from the ISO file.

Restart your computer and rEFInd will appear. Select the USB or disc drive containing the Linux system and boot it on your Mac.

Launch your Linux distribution’s installer and go through the installation process. On Ubuntu, launch the Install Ubuntu application from the desktop and install Ubuntu as you normally would. Be sure to select the “Install Ubuntu alongside Mac OS X” option instead of overwriting your Mac OS X system with Ubuntu. The installation process should otherwise be normal.

Whenever you boot your computer, you’ll have the ability to choose between Mac OS X and Linux on the rEFInd boot manager screen.

Depending on your Mac, some hardware components may not work perfectly on Linux. This depends on the version of Linux you use, how recent it is, and what Mac hardware you’re using. If something doesn’t work, you may have to perform some Google searches with the model and year of your Mac as well as the name and version of the Linux distribution you’re using. Other users have probably dealt with the same problems before you, and they’ve probably written guides to making everything work.

No comments:

Post a Comment