Guide to Installing Linux on a Mac

29/12/2020
Chưa phân loại
The following article is a guide to installing Linux on a Mac PC. Most of the time we opt for Linux operating systems but are confused about the hardware requirements. The tutorial will help you run Linux system on your Mac which will completely replace the original OS. Read on below to find out:

Selecting your Linux Distribution

Before you begin, you’ll first need to select the distribution you want to work on. Whichever you choose will determine the kind of working environment you want. Some of them include:

  • Ubuntu: One of the most popular operating systems built on Unity. It is great for new users and offers a very similar environment as macOS does.
  • Linux Mint: Released in 2006, this type is more Window- like and comes in with a range of desktops (Cinnamon, Mate etc.) for Users.
  • Debian: This is perfect for people working on the server side. Although, Debian is a little complicated to set up and use, but offers a lot more features than Ubuntu and Mint.
  • Fedora Linux: This distro is based on various packages such as DNF, RPM and GNOME. It is not recommended for beginners because of the complex working environment.

Try to get familiar with the distribution you want to install so you don’t have any issues later. We recommend starting with Ubuntu since it is the most used and offers plenty of community support in case if you get stuck somewhere.

Installing Linux on a Mac

Yes, there is an option to run Linux temporarily on a Mac through the virtual box but if you’re looking for a permanent solution, you might want to completely replace the present operating system with a Linux distro.

To install Linux on a Mac, you’ll need a formatted USB drive with storage up to 8GB. Remember this process will wipe out your current macOS/OS X installation and there is probably a very hard chance to recover it back. Also, don’t try to run macOS and Linux on dual boot because that won’t work too.

Follow the steps for installation below:

  1. Download Ubuntu or any other Linux distro you want to the Mac. Save it in your Downloads folder.
  2. Now download and install Etcher, an app that will help copy the Linux installation file to your USB drive. (https://www.balena.io/etcher/)
  3. Open the app and click on the Settings icon. Tick on the Unsafe Mode and click on Yes, Continue.
  4. Now Click on Select Image. Choose the name of the .iso file you downloaded in Step 1.
  5. Insert your USB Drive
  6. Under the Select Drive option, Click Change. Pick the drive option that matches with your USB drive in size. If you have inserted one drive in your Mac, the option will show /dev/disk1. If there are two drives attached, there will be an option for /dev/disk2 and so on. Note that /dev/disk0 is your Mac’s hard drive. Do not select that option.
  7. Now click Flash to start copying.
  8. Remove the USB Flash Drive and Shut down your Mac.
  9. Now attach the USB drive on the Mac again or to any other PC you want to install it to.
  10. Power up the PC while constantly holding the Option key
  11. From the start up screen, select the EFI Boot Option
  12. You will see a screen with Ubuntu Installation Options that will ask you to either Try Ubuntu or Install Ubuntu. Press the letter ‘e’ to go the boot entry.
  13. Here, you will have to edit the boot entry. Change the line starting with Linux and add the word ‘nomodeset’ after ‘quiet splash’. It should be like this:
  14. Now, Press F10
  15. Ubuntu will start booting into trial mode
  16. Click on the option, ‘Install Ubuntu’
  17. Select your Language and Continue
  18. Now, select the option ‘Install this third party software’ and click continue
  19. Click Yes to the alert option for /dev/sdb
  20. Now select ‘Erase Disk and Install Ubuntu’ and click on continue
  21. Make sure you select the main hard drive and click on Install Now.
  22. Select your location and then click on continue
  23. Choose your keyboard layout and click on Continue
  24. Add a name and Password that you want to use
  25. Click on Continue and your Linux Distro will start installing
  26. Once the installation is finished, you will be asked to restart your Mac 
  27. Now, login with your name and password to start using Ubuntu.

Note: During the installation process, we used the entire hard disk for Ubuntu in step 20, which means your MacOS will be permanently deleted. If you want to keep the MacOS, you will have to make disk partitions, a small 8GB partition and a larger 1000GB for Linux. You can also go to Disk Utility to create proper partitions before you start installing Linux. Have a look here (https://linuxnewbieguide.org/how-to-install-linux-on-a-macintosh-computer/)

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Using scp Command on Linux

SCP means “secure copy” and it is an alternative way to FTP/SFTP to transfer files from a device to an other device....
29/12/2020

GNOME – How to control the start sequence

Which is the most popular desktop?What makes it start? What GNOME needs to get started, values you want to supply… From...
29/12/2020

Hướng dẫn cách sử dụng câu lệnh History trong Linux

Trong bài viết này, Onet sẽ giúp các bạn tìm hiểu làm thế nào bạn có thể sử dụng lệnh history...
30/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Huớng dẫn dùng proxy cho ios, iphone 2023
23/09/2023

Cách gắn set proxy cho điện thoại android, oppo, giả lập android, Ldplayer Bằng Proxydroid
20/09/2023

Mua Proxy Socks5 VN Chơi Game Gia Lập Tăng Cường Trải Nghiệm Chơi Game
22/06/2023

Mua Proxy Mỹ, Us Nuôi Tài Khoản Etsy, eBay Tìm Hiểu Về Mua Proxy Mỹ tại Onet.com.vn
22/06/2023

Mua Proxy Game – Giải pháp tuyệt vời cho việc chơi game trên mạng mà không bị giới hạn về vị trí địa lý
03/06/2023