We will be installing Ubuntu. This tutorial was written with Ubuntu , but this should apply to any Linux distro more or less, although your mileage may vary with Video stuff particularly. Using more hard-ass systems like Arch or Slackware, or even Debian, this will be more challenging. This guide is challenging enough, so do what you will, but I recommend you stick to the easier distros to begin with like Ubuntu or Linux Mint. Make sure you download the x64 version of the distribution you choose, if there is an EFI boot version, choose that also. This step chops your disk up the way you want it — some space for macOS, some space for Linux.
Make sure that you delete as much junk from your mac before you start, that way you can give as much space as you can to Linux. Repair any errors you may find. Once you are ready, you will see a list of internal drives on the left hand side.
Your Disk Utility may look different if you are using an older version of macOS, but it still offers the ability to resize a volume. Select Show All Devices.
The screenshot below shows this action. On the hard drive that your macOS partition exists on, click on the top drive, not any subsequent partitions listed below it. You will see you can move the slider around the pie to resize your partition s. Pull the size slider back for the Mac OS partition to release the free space on the disk. Make a blank partition until you have enough space for your new Linux system. Make it as much space as you are willing to, I gave my Linux partition GB. Apply the changes by clicking the Partition button and let the resize operation complete.
If you have an SSD, this should be relatively quick a few minutes.
For older hard drives, this is going to take some time! To do this, simply follow the steps you did above but make a smaller partition, eg 8GB. This is the fun part! It will save your sanity. It will be named EFI Boot or something similar. Use the cursor keys or mouse to select that and hit return. Follow through the steps as usual. Make sure you tick the box that says Install third-party software for graphics and Wi-Fi. The next step, and arguably the most important step in the entire process is about installing Linux on the partitions you previously configured in the Disk Utility.
If you select the other options, these will delete your installation of macOS and make you have a bad day TM. This is the EFI boot partition. Simply make a big partition and a small partition roughly GB in size.
The big partition should be the remainder of the free space. The small partition should be formatted as swap. Select that partition by clicking on the entry for it in the list of partitions. It must be of type fat Press OK. It also has a type of fat Click OK. One which is small, of type swap and the other, the larger of the two, will be formatted as Linux ext4. Once you are happy, click the Install Now button.
Everything else should be pretty standard as per the normal Ubuntu installation.
https://zhuypilarsiamur.ga Once the install has finished, the installer will tell you to remove the installation medium. Remove the USB stick and it enter to restart the computer. Make sure you select that. Most of these will be be covered off on the next step. Okay cokey. Apple can be real pains in the asses some times read, all the time, at least these days.
To do this, you can pretty much enter one simple non-destructive command. First up, at the terminal, issue the command diskutil cs list. You will see something like the below. If you know LVM in Linux, this is pretty much the same thing. The conversion took ages for me, however your mileage may vary, depending upon how much data is on your drive, and how fast your drive is. Here are the steps I followed to get everything working on Ubuntu.
You need to be running a fairly recent version of Ubuntu This fixed the issue for me. If you want the driver to be enabled on startup, extra steps may be required. On Ubuntu, the following should work:. When you perform a system update in Ubuntu, it often updates the Kernel too. When you update the kernel, the modules need to be upgraded to work with that Kernel version.
However, if you are having issues getting your distro to boot, then read on. No worries, this is the Ultimate Linux Newbie Guide. We got this! It took us about 20 minutes just to find the frigging download link! So the ULNG has taken the time to go through all the pertinent steps to make it shit tons easier for you! The version of rEFInd that we used is 0. Once you download the binary, you are going to need to start the rest of your work from the Terminal, so open up the Terminal from the Utilities folder on your Macintosh and head over to your Downloads folder where you saved rEFInd to.
If the zip archive is not already unzipped, unzip it using the unzip command and head into the newly created refind-bin For the next step, take a note of the full directory where you downloaded the refind tool into.
I am going to have a look now at their github page and follow this app's progress. Jun 4, 0 11, It's a very nice piece of software. Kali is bootable but only able to use MB of storage. If you are using a wireless network, you'll most likely have to click on the Airport looking icon in the menu bar as you would in OS X to connect to the net. Kali Linux running perfectly on my Mac computer. Thanks for the help.
There are a couple of ways to do this, but I found the easiest way to do so is to pop your system into recovery mode and issue a command from the terminal there. There is a bit more information on this process over here. To enter recovery mode on your Macintosh, shut your machine down completely.
How to Boot a Linux Live USB Drive on Your Mac While you can connect an external CD/DVD drive to your Mac and boot from standard Linux live CDs USB Loader application to your Applications folder before running it. There are a few ways to get a create a live Linux USB drive that will boot on Launch Terminal and take note of where your Linux disc image is stored in Finder. Assuming all went well, you now have Linux running on your Mac and you can.
Give the machine around 30 seconds and then switch back on. Shortly you will enter recovery mode. I recommend plugging in an Ethernet cable to do this, however it is possible to do with WiFi. Once you are in the Recovery tool, enter the Utilities menu up on the top bar, and click on Terminal. Earlier, you noted down this folder, so just cd to it, for example:.
Once REFind is all installed, reboot the mac and you should be good to go. All going well, you should be seeing the rEFInd menu. Use the cursor key to select your Linux installation and hit that return key. Fingers crossed, your system will start up without much of a hitch!
The next bit of text was necessary for versions of rEFInd before 0. This guide has been updated for version 0. Thankfully, rEFInd has a little tool you can use to mount the partition:. Like me, you may find the refind. Just not emacs! Next, change the config file to load the appropriate Linux file system driver. Check for a line that starts fs0. If no such line exists, add it as below, otherwise edit it:. Save the file and quit your editor. That is the hardest part over and done with. If you want to be sure it worked, you should power off your machine and power on again.
If you see a grey screen with the rEFInd logo, then it has worked. Installation is as simple as installing the package through apt-get: sudo apt-get install pommed sudo pommed This will run pommed as a daemon run in the background. NB: I did find that my keyboard backlight buttons now work out of the box on Ubuntu Maybe best to stick with xorg for now!