Thanks to this article, you can install Linux on a Mac computer and run two operating systems at the same time without damaging macOS.
Mac computers, which first appeared in 1984, quickly gained fame and became an ecosystem that spread from generation to generation. These devices, which are compatible with Apple’s phones and tablets, use their own operating system macOS. But sometimes Apple device users wonder if the software in it can be changed.
Just as Linux can be installed on a Windows-based computer, Linux can be installed on a macOS-based computer. However, some regulations need to be made for this. 2018 in the year incoming one with hardware update It was attempted to prevent a different operating system from being loaded together. T2 chip If you do not disable this feature that comes with it, you cannot start the Linux installation process. In this guide, we will not only disable the T2 security chip, we will show you how to retain your current macOS version while installing Linux. So you will have dual operating systems installed on your computer.
Steps to install Linux on a Mac computer
To start the process, you need to start your Mac in recovery mode. To do this, you must follow the steps below;
- Turn on your Mac or restart it if it’s on.
- Immediately after seeing the Apple logo, hold down the (⌘) + R “Command + R” keys.
- Then your Mac will switch to Mac Recovery Mode.
- After the macOS Utilities window appears, continue by selecting Utilities → Startup Security Utility via the menu bar.
- If prompted for authentication, select the Enter macOS password option, select your account with administrator status and enter its password.
Then from the screen that appears Safe Preloading authorization options will be released. You can disable the Secure Boot feature by selecting the option at the bottom.
Note: In case your data is deleted after installation Technopat.net will not accept any responsibility.
Step 1: Downloading the Linux ISO file and burning it to a USB stick
First, we need to download the operating system and write it to a USB stick.
Note: We recommend that you use a USB memory of at least 16 GB in order to avoid problems during the process. Make sure you download the x64 version and select an EFI boot version if available. Let’s get to the writing process. If you drop the file directly into it, you may get an error during the process and even not be able to start uploading. You can download the Balena Etcher software from the link here.
After starting the software, insert your USB memory to the computer for printing and select “Select Image” in the program and go to the directory where you downloaded the ISO file and select your file.
Note: During the process, your data will be deleted from your USB memory, and only the Linux ISO file will remain. If the software does not see your USB memory stick, select “Select Driver” before starting the process. But usually it selects automatically. Finally, click “Finish” to start the burning process.
Step 2: Partition the disk
Installing Linux on a Mac computer One of the most important details in the process is to prepare your hard disk space. The phrase here means to cut your disk into slices. For example, you can use a 256 GB storage unit as 50 GB + 206 GB if you wish. This process is mandatory for dual operating systems and we recommend you install this way. If you install incorrectly, remaining macOS means you can still access your computer.
To change your partition table on macOS, simply look in your Utilities folder and you’ll find Apple’s Disk Utility. If you want, quickly scan your hard drive for errors to make sure everything is fine before getting started. The software will repair any errors it can find.
When you start the process, you will see a list of internal drives on the left. If you are using an older version of macOS Disk Utilityyour may look different. However, it will allow you to do the disc partition in the same way.
If you are using a new version of macOS, you will see that macOS now has a feature called disk containers. In this context, by clicking on the icon at the top left “Show All Devices ”/ Show Units Only” options will appear before you. “All Devices ShowCheck the ”option; You can control it from the screenshot below.
On the hard drive where your macOS partition is located, click the “Partition” button on the top drive, not the next partitions listed below it (you’ll see it looks like a pie chart in modern versions of the utility).
It is important that you choose to format the partition as MS-DOS (FAT) format. You can assign any name to the area to be divided. As an example, Linux is preferred. We recommend that you divide at least 100 – 150 GB of space.
If the disk you divided is an SSD, the process will be completed in a few minutes. However, it may take a while if you are using a HDD. At the same time, the screen may appear to be frozen, let the process finish by waiting.
Right after the disk partitioning process, you will see a visual just like the one below. This means that the transaction was successful.
NOTE: In cases where the memory is insufficient in Linux systems, the feeding from disk feature works slightly differently. You have to separate this area with the SWAP feature. Make an extra partition with a minimum of 8 GB and a maximum of 16 GB. This will be required during the installation phase. Windows based on on devices This process is different from the one provided by a file. your application not necessary.
Step 3: Linux installation process on Mac computer
Now we come to the difficult part: the Linux installation process, in other words; to the dual operating system boot step. After that, you will have to follow the technical information, so you will need to take careful steps.
First, turn Maciontosh completely off. Then complete the necessary actions; Connect the Ethernet cable to Thunderbolt adapter or USB Ethernet adapter. If you don’t have them, you’ll have to manually download and install drivers for wireless functionality.
Then restart your computer and hold down the Option / Alt key. You will also see your “run” USB memory on the screen that you can boot, except for macOS. We can say it has EFI Boot or a similar name. Use the keyboard or mouse to select your USB stick, and when you select the memory, press enter.
Note: If you have a Bluetooth mouse or keyboard, it may not work as pairing may not occur during the installation step during the process.
You will soon see the Ubuntu installer launch. A screen will open that says “Updates and other software” and proceed by making sure you check the box that says Install third party software for Graphics and Wi-Fi.
From the window that appears after you move forward Something else Select the option. This will allow you to install by selecting the disk you split earlier. If you choose other options, macOS will be deleted and Linux will be installed instead.
You will probably see three FAT32 partitions. One of them will help start the disk and will be different from the size of the partitions you created. This partition in question is the EFI boot partition (209.7 MB). Be sure to leave this section blank, otherwise your device will not turn on after the procedure.
The big partition must be in ext4 format and must be formatted with the mount point “/”. The part with small partition (8-16 GB) should be formatted as swap (SWAP) type. Now we come to an important part: the beginning of the installation.
For the first transaction we will need to select the small partition reserved for SWAP (swap). By selecting whichever disk space you see on the screen is the volume you reserved for swap swap area Continue the process.
We will do a small operation in the unit where we will install Linux. Select the part with a name like sda4-fat32 in the example image and then Ext4 journaling file systemby selecting Format the partitionYou can also tick u and continue.
If you did everything right after the process, these partitions will be among the other “unknown” partitions (these are your macOS partitions).
NOTE: Do not forget to back up your computer before proceeding. Next Install Now You can start the installation process by saying.
Choose which country you are in Contiune continue by saying.
By filling in information such as computer name, account name and password as you can see in the image below Continue proceed by saying.
After the installation complete warning appears and after removing your USB memory Restart Now Restart your system saying. Then hold down the Alt / Option key after seeing the Apple icon. You will be presented with two options, Macintosh and Linux. It will probably come with the name EFI Boot. Click it to continue.
Yes, a Linux operating system is now installed on your macOS. After this stage, you can switch and use between the two systems at any time.