How can I triple boot MacOS Catalina , Ubuntu 18.04, and Windows 10

Further issues

Linux Drivers

  • Version 8.24.6 or later of ATI’s notebook linux drivers support the X1600 card found the MacBook Pro. They are available on ATI’s website.
  • wstein has a working xorg.conf using Ati’s drivers and lilo+bootcamp for triple boot. This xorg.conf file is written for a Macbook Pro, but has also been tested successfully on a 20″ iMac. (Simply change all occurances of “1440×900” with “1680×1050”)

Step Three: Install Linux

For the purposes of this guide, we're going to install Ubuntu 10.04, but you can use another version of Ubuntu if you want, or another distro altogether (like the super awesome Arch Linux). Just make sure you install Linux to the correct partition and make extra sure that you install Grub to the same partition to which you installed Linux, as described below.

Advertisement

Advertisement

Boot up from your Ubuntu CD and head into the installation. The first few steps are pretty self-explanatory, it's when you get to the partition window that you want to pay attention. Hit "Specify Partitions Manually" and click Next. Double click your Linux partition's entry in the table (at this point, it should be the only FAT32 formatted partition on your drive). Under "Use As", choose your desired filesystem (If you aren't sure, use Ext4, which seems to be the new standard). Check the "Format the Partition" box and choose / as the Mount Point. Hit OK. Before moving on, note the name of your Linux partition—the name will be something like /dev/sda4—and hit the Forward button to continue.

Advertisement

In the last window, where it says "Ready to Install", hit the Advanced button. Under "Device for boot loader installation", it should say something like /dev/sda. Change this to /dev/sda4, or whatever the name of your Linux partition is. Ordinarily, Grub will install itself to the Master Boot Record of the drive, because it wants to be your primary bootloader. In this case, we're already using Chameleon, so we're just going to stick this on Linux's partition, since we won't be using it to get into Windows or OS X. When you're ready, hit the Install button and let Ubuntu do its thing. When you're done, restart your computer.

Advertisement

Video

2. Troubleshooting

1. The fact that the Mac Mini’s superdrive doesn’t have an eject button can be a bit annoying, as the inserted disk can only be ejected through an operating system command. To eject the disk from the superdrive when running Linux, remember that you need to open a console and type ‘eject cdrom’. In Windows you can open a ‘Computer’ window and right-click on the drive icon and select the ‘Eject’ option.

2. If something goes wrong with the rEFIt installation (or if you try to install the operating systems before rEFIt, as I did in my first attempt) you may find a black screen saying ‘No bootable device — insert boot disk and press any key’. In this case, I was able to boot from the Mac OS X Install DVD again after pressing ‘Alt+Windows+P+R’ in my Windows keyboard (Apple keyboards should support the use of the ‘C’ key to boot from the drive as well as the use of the Option key to display a menu of boot options, but I have found that things get much trickier with non-Apple keyboards). When I got that nasty ‘No bootable device’ problem, I got the idea to try Alt+Windows+P+R from a few web sites (in particular, the last message in this discussion and also this one). This key combination forces a PRAM reset (see this Apple support article for information on what PRAM is).

Installing Windows

Installing Windows is really easy, just because our PCs natively support it. Shutdown your hackintosh and now, insert your Windows installer disk into the DVD drive. Instead of messing with the partitions, just install windows to the second partition in the partition list. Just select that and proceed with the install. This installation will take almost 15 minutes.

After installing Windows, you can’t access Mavericks, because Windows installs its bootloader on top of the Chameleon bootloader which is required to boot Mavericks. Don’t worry though, we will fix that after installing Ubuntu. After I got to the desktop, I had installed my drivers before proceeding with the Ubuntu installation. If you doesn’t need Ubuntu, then you can simply skip it’s installation.

Preparing myHack USB

For this part, you need access to a real mac or an existing hackintosh, since myHack was a mac program. Open up the Mac App Store and download Mavericks, it’s free. If your os x is already using Mavericks, then click this app-store link from your mac to download. After downloading, you can see Install OS X Mavericks.app in the Launchpad. (Don’t click on that yet).

Now insert your USB (should be 8 GB or more in capacity). Then from the Disk Utility, erase the entire drive using Mac OS Extended (Journaled) and erase it. You can name the USB anything, it will be changed automatically by the myHack. Now start myHack application and enter your password. Your screen should now look like this.

myHack opens and shows you with a set of options to do. Select Create OS X Installer from the drop-down menu and select Create OS X 10.9 Install Disk. It now asks for the location of the installer you downloaded from the appstore. Here, select Browse Manually and select the file /Applications/Install OS X Mavericks.app. Now, myHack starts working and creates a modified bootable version of the installer on the USB we’ve inserted.

Make sure you patch the installer for MBR support, that is what we will be using to install to make triple booting easy (It didn’t work out when I tried with GUID. So I selected MBR). That process takes around half-an-hour to complete. Now, the actual process begins.

Step One: Partition Your Drive

Advertisement

Right now, you should have a drive with just one partition containing Snow Leopard (plus your 200MB EFI partition, which won't be visible in Disk Utility). Start up Disk Utility and click on the drive containing OS X in the left sidebar. Head over to the Partition tab, and click on your Mac OS X partition. Hit the plus sign at the bottom of the window twice, so you have a total of three partitions. Head to the upper right-hand corner of the window and name the second partition WINDOWS and the third one LINUX, formatting them both as FAT32 for now. If you need swap space for Linux, you can add a fourth partition, but nowadays this seems pretty unnecessary, so three partitions should be just fine. Hit the Apply button and let it work its magic.

When you're done, insert your Windows 7 installation disc and restart your computer.

Advertisement

Installing Windows without Using the Boot Camp Assistant

Note: If you can use the Boot Camp Assistant application to install Windows, I would suggest you do so. These instructions are mainly for those who have a special configuration which prohibits the use of the Boot Camp Assistant application to install Windows.

  1. Use the Disk Utility application to erase a 16 GB or larger flash drive. Choose the ExFAT format and the Master Boot Record scheme.

  2. Mount the Windows ISO file, the copy the files to the flash drive. The current Windows 10 ISO can be downloaded from the Microsoft website Download Windows 10 Disc Image (ISO File).

  3. Copy the Windows Support Software designed for your Mac to the flash drive. The Windows Support Software can be downloaded by using the Boot Camp Assistant application. Select Action->Download Window Support Software from menu bar.

    Below is the contents of Windows installation flash drive as viewed in the Finder application. The AutoUnattend.xml file and both the $WinPEDriver$ and BootCamp folders came from the Windows Support Software downloaded from Apple for an iMac (21.5-inch, Late 2013). The remaining files and folders were from the Win10_1909_English_x64.iso file downloaded from Microsoft.

  4. Create free space to be used by Windows. In this example, 400 GB will be reserved for Windows on a 1.1 TB drive. Before allocating the free space, the output from the command diskutil list disk0 is shown below.

    To make 300 GB of free space available, the command shown below was used.

    The new output from the command diskutil list disk0 is shown below. Notice, the 300 GB block of free space created directly below disk0s2 is not shown.

  5. Restart the Mac and immediately hold down the option key until the Startup Manager icons appear. Choose the EFI Boot label below the flash drive icon.

  6. When the image below appears, press the shift+F10 key combination. The Command Prompt window shown below should appear.

  7. Enter the following command to create the Windows partitions. There commands are based on the instructions found at the Microsoft website .

    The output from the list partition command for this example is given below.

    Enter the command exit to close the Command Prompt window.

  8. Proceed and finish the installation of Windows.

    Note: If the Mac boots back to macOS before the installation of Windows completes, open the Startup Disk pane of the System Preferences application. After unlocking, highlight the icon labeled Windows and then click on the Restart button. The installation of Windows should proceed.

  9. If after Windows finishes installing, the Windows Support Software does not automatically starting installing, run the Setup application in the BootCamp folder on the flash drive.

Install Linux##

Boot into macOS and have a USB key available to be reformatted, it can be pretty small (small works better), an 8GB drive is perfect.

In order to create a bootable USB drive, you can use the Terminal:

  1. Run the Terminal from the Utilities folder under Applications
  2. Change the directory to where you downloaded the ISO for your Linux installation, e.g. kali-linux-2016.1-amd64.iso
  3. Find your USB key by running: diskutil list, note the drive name, e.g. disk2
  4. Run the command: dd -if=kali-linux-2016.1-amd64.iso -of=/dev/disk2 bs=1m
  5. The above command will take a long time to run, as it is imaging the ISO onto the USB drive. Once it finishes you should have a bootable USB key for Kali Linux (or whatever)

Alternatively, if you want a graphical imaging process, you can use UNetbootin as documented here for Ubuntu (just use Kali or whatever image you want).

You’re now ready to install Linux. The reason you had to install rEFInd before installing Linux was that, in my experience, I could not get the standard macOS boot manager to recognize the USB drive I had prepared with Kali Linux. However, if you reboot now, you’ll see the rEFInd boot menu. You can then insert your USB drive, then hit ESC to refresh the volumes and you should see the Linux installation drive appear. Select it for booting.

Follow the instructions for installing Linux, making sure to select the correct partition that you created while you were under Windows 10 earlier.

2. GNU/Linux

Download

Download your favorite GNU/Linux .iso from its official link

  1. Xubuntu
  2. Ubuntu
  3. Kubuntu

Bootable USB

Create a bootable USB from downloaded image using Rufus with these configs:

  1. Partition Schema: GPT
  2. Target System: UEFI

Installation

Follow these steps:

  1. Open installer

  2. Open installer parititioner

  3. Create paritions for your GNU/Linux (swap, root, boot and etc)

  4. Install OS

  5. Add macOS Clover Bootloader chainloader item to GRUB2 using these steps:

    1. Boot your GNU/Linux OS

    2. Edit the file /etc/grub.d/40_custom and add these lines at the end of file:

      menuentry ‘Mac’ { insmod fat insmod part_gpt insmod search_fs_uuid search –file –no-floppy –set=root /EFI/CLOVER/CLOVERX64.efi chainloader /EFI/CLOVER/CLOVERX64.efi }

    3. Run the command sudo update-grub to update your grub

Proxy

Use Chisel as a proxy for tunneling your traffic through a server:

Customization

  1. Install drivers by command sudo ubuntu-drivers autoinstall

  2. Run chmod 0777 /opt to change permissions of opt folder (It will use as a path for installing some applications)

  3. Install my favorite apps by following these steps:

    1. Run commands bellow:

      sudo apt-add-repository ppa:fixnix/netspeed -y sudo apt-add-repository ppa:tista/adapta -y sudo apt-add-repository ppa:papirus/papirus -y sudo apt install curl sudo curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash sudo apt update sudo apt upgrade nvm install node sudo snap install docker code drawio firefox chromium sudo apt install unrar uget mpv \ git git-flow guake audacious redshift \ apt-transport-https ca-certificates software-properties-common \ indicator-multiload adapta-gtk-theme papirus-icon-theme git clone –depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it ~/.bash_it/install.sh # edit .bashrc => change Theme

    2. Config autostart, quake style for guake

    3. Download your VSCode settings using Settings Sync pluggin (If you have save them before)

Tags

Leave a Reply

Your email address will not be published.