While live booting I used gparted to create a SWAP area of 1GB and formatted the remaining free space as EXT4. I installed rEFIt and live booted from a CD with Ubuntu 13.04 on it. I used the Disk Utility app on Mac OS to create a new 50GB free space partition to install Ubuntu on.Thank goodness for good backups.Insert your USB and go to Applications > Utilities and launch Disk Utility. Needless to say, I failed miserably when I opted to have Kali install Grub and it overwrote my primary Boot Manager on the Mac and rendered the system unbootable (and eventually unrecoverable). So, I set about working on a dual-boot scenario. I originally thought I'd just build it into a Virtual Machine (using Parallels), but was concerned that I might not have the control over the hardware that I'd need in order to make Kali effective as a learning environment.Triple Boot the Right WayTo install Ubuntu Linux 12.04 on an Intel-based Mac, follow these directions: If necessary, install Mac OS X. I use a combination of Time Machine, CrashPlan, and Arq to back up my system, you should too. Everything I'm doing has the potential to trash all of the data on your computer, requiring a clean installation of macOS and subsequent data recovery from backups. There are two ways to make it: using Disk Management or a disk management tool.WARNING: Do not proceed with any of these steps unless you have the ability to restore a bare-metal backup. The minimum recommended by Ubuntu is 5GB though you'll be left with very little space for files and applications.To remove Ubuntu from dual boot, you need to delete the Linux partition first. Use the + button in the lower left-hand corner of the partition map to add some space for your Linux partition.However, several of the steps in that guide I didn't have to use at all, so I'm documenting my process here. Install rEFInd as a Boot Manager for all 3 OSesTo be fair, a lot of my instructions and the guide I initially followed, can be found here. Install Linux (I used Kali) into the newly freed space Use Windows 10 to shrink the Bootcamp partition, freeing up space to install Linux Install Apple's Bootcamp and use it to install Windows 10 Note that resizing partitions is inherently dangerous, so back up your data before beginningIf you're interested in triple booting your MacBook Pro, and Windows is going to be one of the Operating Systems you're going to boot, then take my word for it, this is the only way you want to accomplish this feat.START Start by turning on the mac Click on the Magnifying glass in the top right hand corner type in disk utility and open it In the Left Hand Corner.At a high level, the process goes like this:
Disk Utility Partition For Ubuntu Linux Drivers For TheThere is no way to install an earlier version of Windows using Boot Camp on newer hardware. Adjust if you wish, I used a 196GB partition for Windows 10, then split it into 128GB for Windows and 64GB for Linux (FYI, a Windows 10 installation with Office 365 installed takes up 68GB, so give yourself enough room under Windows).Note: Apple only supports Windows 8.1, or newer, for hardware released after 2014. You will have supported ways to control the Windows and macOS boot process on your MacBook from within Windows (via the Boot Camp Control Panel)Apple's official documentation for Boot Camp is found here.Follow Apple's instructions for installing Windows, but make sure you create the Windows partition approximately 64GB larger than what you want to end up with for Windows, that space will end up being given to Linux. Apple provides native drivers for the hardware under Windows Apple supports this as a way to boot Windows There are several advantages to using Apple's process: Enter the size, in megabytes, by which to shrink the volume. Select the BOOTCAMP partition, right-click and select Shrink Volume Right-click on the Start Menu and select Disk Management Create Partition for LinuxFor the purposes of this article, I'm going to install Kali Linux, that's what I used, but installation with ANY version of Linux should work the same way.The first step is to shrink the Windows partition to make some space for Linux: In order to install rEFInd you will have to boot into Recovery. That means that you cannot install rEFInd directly on drives where SIP is enabled. This security feature of macOS prevents changes to various areas of the Operating System including System-owned files. Install rEFIndFor all macOS versions starting with El Capitan (10.11) Apple has enabled System Integrity Protection (SIP). Kali Linux, 64-bit, can be downloaded herePlace all of the rEFInd files (after unzipping) on a removable volume (SD Card, USB drive, or even a secondary HFS+ volume) so you can use it in the next step. I also have an SD card mounted.The shrinking process took a LONG time (~30 minutes), don't worry about it, let it run to completion and do not interrupt.After the Volume shrinking process is completed, it's time to download some files to perform the installation however, you probably want to do this under macOS, so first boot back to your macOS volume and the download them both: Change into the rEFInd directory and run. Find the volume where you have rEFInd stored (start with ls /Volumes) Once in Recovery mode select Terminal from the Utilities menu Reboot the computer and hold down Command-R ![]() Change the directory to where you downloaded the ISO for your Linux installation, e.g. Run the Terminal from the Utilities folder under Applications 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: You can then configure rEFInd to ignore some volumes, but save that for after you have everything working properly. They probably all won't be bootable, through trial-and-error you should be able to find the correct macOS and Windows 10 volumes. Just reboot and you should be taken to the rEFInd boot menu, from there you should be able to boot into either macOS or Windows 10.Note: rEFInd will automatically find what it believes to be bootable volumes. Ricoh pcl6 driver for macThe above command will take a long time to run, as it is imaging the ISO onto the USB drive. Run the command: dd -if=kali-linux-2016.1-amd64.iso -of=/dev/disk2 bs=1m Find your USB key by running: diskutil list, note the drive name, e.g. You can then insert your USB drive, then hit ESC to refresh the volumes and you should see the Linux installation drive appear. However, if you reboot now, you'll see the rEFInd boot menu. 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. Just follow the instructions and re-install rEFInd again and it should come back and allow you to boot again. Using rEFInd you can select the appropriate OS and it should boot cleanly on your hardware.In the event that rEFInd gets clobbered (you'll know, because a power-cycle takes you to the built-in macOS boot manager) you should still be able to boot into Windows, but you'll probably lose the ability to boot into Linux. CompletedYou should now have a triple-booting MacBook Pro.
0 Comments
Leave a Reply. |
AuthorDaqwan ArchivesCategories |