Can I install Linux and Windows on a Mac to triple boot the hardware?
Solution 1:
It's possible to install them in multiple partitions and multiboot. But the resulting setup will be a little "rigid".
Doing OS X and Windows is easy. Adding Linux to the mix is a little more complicated.
I suggest you do not multiboot and only install OS X as the main OS and then use a virtualization solution, like Parallels Desktop or VMware Fusion. With those you can basically run a whole operating system, like Windows or your favorite Linux distribution, as if they were OS X applications.
Solution 2:
I recommend that you check out rEFIt for your Partition boot manager on Mac. It works great for triple booting a mac, with robust documentation.
http://refit.sourceforge.net/doc/
First install refit, then install Windows via BootCamp Assistant in Mac. You will need to partition your Mac drive again and install Linux (settings depend on the distro). It should work out of the box. If you need more help, post on www.superuser.com
Solution 3:
A fairly easy way to do this is to install Windows through Bootcamp, then Ubuntu Linux using Wubi. This negates the need to install a boot loader. There's a writeup on it at lowendmac.
If you want to get a little more technical, or use a different Linux distro, a little familiarity with boot loaders might help. Here's a good triple boot guide that goes over the process, step by step.
Solution 4:
Technically, it's possible using Apple's default boot manager utility, Boot Camp. You'll need to make some extra effort to install Linux however, as Boot Camp supports Windows only officially (but, as I said, some people have already done it).
Solution 5:
I have a triple boot MacBook Pro (late 2013) with OS Sierra, Windows 10 and Ubuntu 16.04.
I install macOS first, then Ubuntu, then Windows 10
Format the SSD in Recovery Mode and do a clean install of Mac OS. Boot into mac os and use UNetbootin to make a bootable Ubuntu thumb drive. Boot into macOS and make 3 more partitions. I have a 500 GB SSD. partition 1 mac os 210 GB. partition 2 Windows 10 (fat 32) 117GB. partition 3 Linux 67.4 GB. partition 4 linux swap area 5GB.
- Shut down. Boot into macOS and install rEFInd.
- Shut down, insert Linux usb boot drive and Boot into Linux (ubuntu 16.04 LTS) thumb drive and install linux into linux partition (mount point /). Install swap area to swap area partition.
- Shut down and remove linux thumb drive. Make sure Linux boots.
- Shut down.
- Boot into macOS and configure rEFInd the way you want it (or leave it stock).
- Insert blank 8GB thumb drive for Bootcamp and boot into macOS. Using Bootcamp, install Windows 10 to windows 10 partition- making sure to format the windows 10 partition during installation.
- Make sure to stay at computer during install and restarting of windows during installation making sure to boot into the Windows drive and not the thumb drive. Bootcamp drivers will install and restart. Make sure the computer boots to the Windows hard drive icon and not the thumb drive.
- When done remove Windows usb drive created by bootcamp. This is now a bootable windows installation disk for later installs.
Done.
The only problem is when you have a mac os major update or you reload the mac os as the boot files will be changes to the standard mac boot loader.
I clone the EFI boot drive and re-copy it over when mac os messes everything up. Otherwise, you have to redo the whole process when a major os update to mac is installed.
I bought an 8GB usb thumb drive for bootcamp bootable windows disk, a 4 GB usb thumb drive for gparted boot disk, a 8GB thumb drive for linux boot disk, 128 GB JetDrive lite SDXC card for time machine mac os backup. a 128GB thumb drive for windows 10 backup and a 64 GB for linux backup.
(Make sure you have UNetbootin, Windows 10.iso, Ubuntu.iso, gparted and rEFInd somewhere on your Mac partition before you backup macOS. That way you don't have to re-download all these files and all files will be there for you to re-install everything in case of problems.)
My partitions are:
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS OS Sierra 310.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data WINDOWS 10 117.0 GB disk0s4
5: Linux Filesystem LINUX 67.4 GB disk0s5
6: Linux Swap 5.0 GB disk0s6