How To Register A Used Macbook
Got 1 of those shiny Mac laptops, simply Linux has you realising calculator freedom is best?
This is the definitive guide!
UPDATED FEBRUARY 2019
Using a Macintosh is (mainly) a please. The hardware is solid, fast, and beautiful, only over time, macOS has become dumbed downward and in some places, downright giddy. I long since realised that I could do exactly what I wanted to do with my macbook using Linux, rather than existence burdened by having to follow the 'Apple' way of doing things. I never looked dorsum. Hither's the definitive guide to installing Linux on a Mac.
DISCLAIMER:This is an advanced tutorial which sometimes works at the command line and tin can cause irreparable impairment to your information. If y'all do proceed, brand sure you take backed everything up with TimeMachine or such like tools. The Ultimate Linux Newbie Guide cannot be held responsible for any damage caused as a outcome of following this tutorial.
This tutorial has been tested on a late 2013 Macbook Pro Retina 15″, however information technology should work with whatever EFI based Mac (more than on that in a bit). The EFI based Macintosh started around 2008 (y'all can check the listing of the Apple EFI systems here). This should include Macbook Pros, Macbook Air, iMac and probably Mac Pro's…
Update: Apple'south new P2 'Secure kicking' chip
1. press and hold the Pick key while choosing Apple () carte du jour > System Information.
2. In the sidebar, select either Controller or iBridge, depending on the version of macOS in apply.
3. If you run across "Apple T2 chip" on the right, your Mac has the Apple tree T2 Security Scrap..
Unfortunately, from 2018, Apple tree decided to add together a new 'secure boot' T2 chip into their mac hardware. This basically means that you can't utilize anything other than macOS on Apple tree hardware, however it is possible to switch off secure boot. See the image to the correct to show y'all how to find out if your motorcar has the T2 fleck.
If you have said T2 chip, then you lot'll need to disable the secure boot selection in order to install Linux on your mac. Note that I haven't tested this (I don't have a new mac), and then please let me know in the comments if it works for y'all.
You'll need to offset your mac into the Recovery mode and launch the Startup Security Utility. To do this, just follow these steps:
- Plow on your Mac (or restart it if information technology'due south already on), then printing and hold Command (⌘)-R immediately afterward you see the Apple logo. Your Mac starts up from macOS Recovery.
- When you see the macOS Utilities window, choose Utilities > Startup Security Utility from the menu bar.
- When you're asked to authenticate, click Enter macOS Password, so cull an administrator account and enter its password.
- Now look at the options, at that place should exist an option for 'Secure Boot'. Switch it off by selecting 'No security'.
- There should also be an option about 'External Boot'. Ensure that this is fix to 'Allow booting from external media'.
Dual Booting with Mac Bone (yes, you tin can keep MacOS!)
I am writing this assuming that you want to keep Mac OS X on your hard bulldoze and that you wish to dual-boot it at any time. You should have enough of free space on your disk drive (the more the ameliorate), and then either delete some cruft or move some of your old information onto a split up external annal hard drive (considering I know you got i or ten of them lying effectually!).
I used MacOS Mojave, which is the latest version of macOS at the time of writing. Recently Apple tree introduced a 'security feature' called 'SIP' (System Integrity Protection) which you will additionally have to overcome if you are using El Capitan or newer. More on that in a bit. Nosotros will be installing Ubuntu. This tutorial was written with Ubuntu , only this should apply to whatever Linux distro more or less, although your mileage may vary with Video stuff particularly.
Note: You may have to install an EFI boot manager (rEFInd) and/or do a few gnarly things to become your hardware working before it is Linux gear up, so if you get stuck at whatever bespeak, read towards the stop role of this guide.
The tutorial you are nearly to read has 4 principal steps. These are:
- Downloading and 'called-for' your Linux distro of choice to a USB stick.
- Sectionalisation your hard drive
- Installing Linux
- Finishing up, which includes: Adding driver. Disabling SPI and enabling EFI. Nice to accept items, including being able to see your Macintosh files from Linux.
Footstep 1: Downloading and 'burning' your Linux distro image of choice to a USB stick.
Next, unless you haven't already downloaded the Linux distribution of your selection, it's time to go catch it. You'll notice that y'all'll download a .iso file, which we will need to 'burn' onto a USB stick. Make sure you lot have a 4GB or bigger USB stick that y'all don't care about deleting set for utilise.
For this detail tutorial, nosotros are using Ubuntu, however most other Linux distributions should piece of work. Using more than difficult-ass systems like Arch or Slackware, or even Debian, this will exist more challenging. This guide is challenging plenty, so do what you will, but I recommend you stick to the easier distros to brainstorm with like Ubuntu or Linux Mint.
Make sure yous download the x64 version of the distribution yous cull, if there is an EFI kicking version, choose that likewise.
Using Etcher to 'burn' your ISO prototype to a USB stick.
At that place is at present a snazzy tool chosen Etcher (y'all tin can download it for free from balena.io/etcher. This would now be my pick for downloading and burning a Linux distribution download to a USB stick because it's literally every bit piece of cake as popping in your USB stick and pressing go!
Now that yous've got your ISO file downloaded, and you've downloaded BalenaEtcher, Fire up Etcher, and follow these steps:
- Click 'Select Image'. Select the Linux ISO file that you but downloaded.
- Insert your USB stick that you desire to put the Linux distribution onto (note information technology will be completely wiped).
- Click 'Select Drive'. In many cases, this might not even be necessary (Etcher is clever enough to see the USB stick and select it for you).
- Click Flash!
Yep, that'due south it! If at that place is any reason why y'all can't get this to piece of work, then you tin can follow the 'old fashioned' fashion of doing it over on this short guide.
Step 2: Partition your Macintosh hard drive
This step chops your disk upward the mode you want it – some space for macOS, some space for Linux. This is chosen 'Partitioning'. Brand certain that y'all delete as much junk from your mac before you offset, that way yous can give equally much infinite as you can to Linux.
To modify your partition table in macOS simply look in your Utilities binder, you'll find Apple's Disk Utility. If you like, quickly scan your hard bulldoze for errors, just to make certain it's all sweet before we go down to business. Repair whatsoever errors you may find.
Once you are set, y'all will run into a listing of internal drives on the left hand side. Your Disk Utility may look different if you lot are using an older version of macOS, but it even so offers the power to resize a volume.
If you lot are using a recent version of MacOS, yous'll notice that macOS now uses a notion of disk containers. To see everything that'southward going on, you'll need to click the icon to the top left, it should show you 'Show Only Volumes' or 'Show All devices'. Select Testify All Devices. The screenshot below shows this activity.
On the hard bulldoze that your macOS sectionalisation exists on, click on the top drive, not any subsequent partitions listed below it. Click on the 'partition' button (it looks like a pie nautical chart in modernistic versions of the utility).
In newer versions of macOS, they prefer you lot to utilize these 'container volumes'. That's fine for macOS, simply you want a partition to put Linux on. If you encounter the above dialogue box appear, make sure you lot click 'Partition'.
Side by side, you'll see the partition pie chart. Yous volition see yous tin can move the slider around the pie to resize your division(s). Pull the size slider back for the Mac OS partition to release the gratuitous space on the disk. Make a blank partition until you accept enough infinite for your new Linux system. Arrive as much space as yous are willing to, I gave my Linux partition 100 GB.
Information technology's essential that y'all cull to format the partition as MS-DOS (FAT) format. I gave it the proper noun 'Linux' so that it's easy to tell what it is. Once you've washed that, click Utilise.
You'll see the box to the left. Apply the changes by clicking the Segmentation push button and permit the resize functioning complete. If you have an SSD, this should be relatively quick (a few minutes). For older hard drives, this is going to accept some time!
Notation: I also recommend besides making a swap partition, although this isn't completely necessary. To practise this, simply follow the steps you did in a higher place just brand a smaller partition, eg 8GB.
The below screenshots show the creation of a SWAP partition and the final 'moving picture' of what your macOS deejay should await like.
Stride iii: Installing Linux on that Mac!
Woo-hoo! This is the fun part! Now we go to install the operating organization that your Macintosh has been longing for.
Switch your Macintosh off completely. Connect your Ethernet to Thunderbolt adapter (or USB Ethernet Adapter) and your USB drive we made earlier. If you don't have i of those ethernet adapters, life is going to be catchy for you lot, yous are going to have to download the wireless drivers and install them manually to become things working. If you don't have one of the adapters, ask a friend for one, or buy i inexpensive from Ebay or such like. It will save your sanity.
Turn on your computer and agree down the option/alt key. You'll see a card pop upwardly which you can come across your Macintosh HD as well as the USB stick. It will exist named EFI Boot or something similar. Utilize the cursor keys or mouse to select that and striking render. PS: Make sure you lot revert to using your laptop's keyboard and mouse for the time being (your bluetooth keyboard, and probably your mouse won't piece of work until paired).
Shortly after, y'all'll come across the Ubuntu installer start up. Follow through the steps every bit usual. Yous'll become to a screen that says 'Updates and other software'. Make sure you tick the box that says Install tertiary-party software for graphics and Wi-Fi.
The next step, and arguably the about important step in the entire process is about installing Linux on the partitions you previously configured in the Disk Utility. You'll see a dialogue saying 'Installation type'. Make sure that yous choose the option 'Something else'. If you select the other options, these volition delete your installation of macOS and make you have a bad day (TM).
In the next dialogue, you'll see the partition table (and probably some empty partitions too). If you created a swap division as per my instance, yous'll see two FAT32 partitions. One volition be the small 8GB SWAP partition, the other 100GB (in my example) is the principal Linux division.
You'll probably see three FAT32 partitions. One of them will be near the start of the disk and won't resemble the capacity of the partitions you created. This is the EFI kick partition. It'south tiny (209.vii MB). Make sure you get out this partition well and truly alone, otherwise yous'll possibly not exist able to boot your mac!
If you didn't create a swap partition, don't worry, you lot can withal practice and so by locating the empty division you made and create 2 partitions out of it. Just make a big segmentation and a modest partition (roughly viii-16 GB in size). The big partition should be the rest of the free space. The big sectionalization should be ext4 in type, and should be formatted with the mount bespeak of "/". The modest partition should exist formatted equally swap.
It's time to set the partitions to apply Linux. To do that, I selected my beginning (smaller) segmentation, the one that'south viii.7GB. I'one thousand going to use that as the Swap partition. Select that segmentation past clicking on the entry for information technology in the listing of partitions. In my case, that's /dev/sda3. It must be of blazon fat32.
In one case you click on it, click the button that says 'Change'. A dialogue proverb 'Edit partition' volition appear. Go out the size equally it is, merely click on the drop down which will probably say 'practise not use'. Select 'swap area' from this listing. Press OK.
Next, you want to allocate the large partitioning to be the master Linux division (information technology's called /). Click on the big partition created in Disk Utility (in my example, /dev/sda4). It also has a blazon of fat32.
Clicking the 'Change' button volition bring up the now familiar Edit Partition dialogue box. Again, exit the size as is, and from the 'Utilise equally' drop-down, select ext4.
Click on 'Format this partition' if it isn't already ticked. By default, the mount point will exist / – leave that as is. Click OK.
If y'all've washed everything right, you lot'll now have ii partitions. One which is small, of blazon swap and the other, the larger of the two, will be formatted as Linux ext4. These partitions will lie in amongst the other 'unknown' partitions (these are your macOS partitions).
Once you are happy, click the Install Now button. You'll see a dialogue box request yous to confirm the changes are to exist written to disk. This is your last run a risk before Ubuntu goes off and does it'due south thing to your disk. Again, I tin can't stress how important it is that yous've taken that Time Machine backup with your mac before you exercise this. Anyway, I'grand sure you've backed everything up… right? 🙂 So click on 'Continue' and let the good times roll! Everything else should be pretty standard as per the normal Ubuntu installation.
One time the install has finished, the installer will tell yous to remove the installation medium. Remove the USB stick and it enter to restart the computer. In one case y'all hear the tell-tale Apple chime, hold down the alt/option central. Once over again, yous'll see your MacOS hard drive, besides equally the newly installed Linux system. Information technology'll probably exist called 'EFI Boot'. Make sure you select that.
That's it! With any luck, Ubuntu should start upward in a few moments and you lot're able to use your snazzy mac hardware with a better operating organisation! Withal, you may note that you probably won't accept a few things that work out of the box. Most of these will be exist covered off on the next step.
Step iv: Finishing upwards and fixing a few issues
CPU Running Hot?
If, similar me, you find that the mac starts running hot and the CPU fans are burning away then accept a look at the output of the CPU history in the resources view of the System Monitor app (or usingpeak at the last), you'll probably discover that a 'kworker' process is chewing up CPU. This is a well known bug, and then to fix this, run the following commands at the last:
$sudo -s grep . -r /sys/firmware/acpi/interrupts/ You'll see a list of probably 70 or so lines relating to the firmware that works with ACPI (Advanced Configuration and Power Interface). Most of these are doing their thing quite happily, but you'll find one (or mayhap even two) of them that has a number like gpexvi has a large number beside it. It'll look like this:
/sys/firmware/acpi/interrupts/gpe16: 225420 STS enabled unmasked When y'all think you've found it, you can simply disable information technology, but get-go, only back up the file, just in case you make the wrong change. Annotation I am using gpe16 every bit that's the one I plant the problem with, yours is probably dissimilar:
cp /sys/firmware/acpi/interrupts/gpe16 /root/gpe16.backup echo "disable" > /sys/firmware/acpi/interrupts/gpe16 If after a few seconds (say 30-sixty), the CPU fans cease whirring, and arrangement monitor/top starts showing normal usage statistics, then yous know it'southward the right one. If it isn't the right i simply echo "enable", rather than disable.
To make the alter permanent, practice the following tasks, again at the concluding, changing the value 'xvi' to the value you used:
# crontab -e --Add the below line to the crontab, then it will be executed every startup/reboot: @reboot echo "disable" > /sys/firmware/acpi/interrupts/gpe16 -- Save/exit. So, to make it work besides later on wakeup from suspend: # bear on /etc/pm/sleep.d/30_disable_gpe16 # chmod +x /etc/pm/slumber.d/30_disable_gpe16 # vim /etc/pm/sleep.d/30_disable_gpe16 -- Add this stuff: #!/bin/fustigate instance "$1" in thaw|resume) repeat disable > /sys/firmware/acpi/interrupts/gpe16 2>/dev/null ;; *) ;; esac exit $? Accessing your Macintosh files from Linux
Sponsored Link:
Tech Tip: Windows business organization applications including Office 365 can exist accessed from PCs/Macs/Android/iOS/Linux devices with virtual desktop hosting and other cloud servers and services with total back up from Apps4rent.com
Okay cokey. Now here's the matter. Apple can be real pains in the asses some times (read, all the time, at least these days). It is quite likely that you lot take what's called CoreStorage, if you have anything Bone X 10.10 or newer. This provides an encrypted, journaled file system; even if you haven't installed FileVault (if you have, turn that off!).
To requite full read/write access to your Mac OS Ten sectionalisation from Linux, y'all will need to revert information technology back to standard HFS+. To do this, y'all can pretty much enter one simple non-destructive control.
First up, at the terminal, upshot the command diskutil cs list. You will see something like the below. If you know LVM in Linux, this is pretty much the same matter. Your chief Mac Bone 10 sectionalization (Logical Volume) should be in Apple_HFS format.
As long equally the 'Revertible' flag is set to Yes, yous are adept to go. Simply enter the following command:
diskutil coreStorage revert [THAT LONG STRING OF TEXT]
The long string of stuff is that big long alphanumeric string of text highlighted in the ruby-red box, you want to apply copy and paste information technology to make sure you don't make a mistake!
The conversion took ages for me, however your mileage may vary, depending upon how much information is on your bulldoze, and how fast your drive is. If yous type diskutil cs list again, you'll come across how much % of the conversion has been accomplished. Don't reboot your machine until that's over and done with, simply after so, you lot can safely mountain your Bone X sectionalization with total read/write access.
Start, make sure that you have hfsprogs installed. Case installation command:
sudo apt-get install hfsprogsNext, mountain or remount the HFS+ bulldoze; commands need to exist as follows:
sudo mount -t hfsplus -o force,rw /dev/sdXY /media/mntpointor
sudo mount -t hfsplus -o remount,force,rw /dev/sdXY /mount/point
If y'all want it to mount each fourth dimension y'all get-go upwards your tux-ified Macintosh, you'll need to add the entry to the fstab (sudo half-dozen /etc/fstab):
/dev/sdXY /media/mntpoint hfsplus forcefulness,rw,gid=1000,umask=0002 0 0
Where your user gid is yard (utilise the id control to find out your gid)
FaceTime HD Camera:
Yous'll need the FaceTime Hard disk drive module for your kernel. Information technology's a bit of a pain in the butt to become going, but it does go in one case you've set it up. Full documentation is hither: https://github.com/patjak/bcwc_pcie/wiki/Get-Started#get-started-on-ubuntuRELATED: Howto: Facebook Messenger on the command line
Here are the steps I followed to get everything working on Ubuntu. Y'all need to exist running a fairly recent version of Ubuntu (xvi.04 onwards should be fine), and so 18.ten will be no worries. Y'all'll demand to run all the following commands from the Terminal.
$ indicates running the control as a normal user
$ indicates running the command as a normal user
# indicates equally root (use the sudo control), eg: $sudo apt-get install …
- Install the dependencies :
# apt-get install linux-headers-`uname -r` git kmod libssl-dev checkinstall curl xzcat cpio- (Note that xzcat is chosen xz-utils on Ubuntu 18.x).
- Extract and install the firmware file:
-
$ git clone https://github.com/patjak/bcwc_pcie.git -
$ cd bcwc_pcie/firmware -
brand -
sudo make install
-
- The output should say '
Copying firmware into '/usr/lib/firmware/facetimehd' - Now y'all demand to build the kernel module (driver). Change into that dir:
$ cd .. - (you should now be in the bcwc_pcie folder)
- Build the kernel module:
$ brand - Generate dkpg and install the kernel module, this is easy to uninstall later:
# checkinstall
Run depmod for the kernel to be able to find and load information technology:# depmod - Load kernel module:
# modprobe facetimehd - Try information technology out by installing like 'cheese' and seeing if your webcam works.
No video device, or /dev/video does not exist?
I had a problem with the driver at this betoken, where /dev/video was not there, which was hands fixed by performing the following steps:
In some scenarios, you'll have to unloadbdc_pci before inserting the kernel module, or/dev/video (or/dev/video0) won't be created. Do this withmodprobe -r bdc_pci. If you've already done a modprobe facetimehd, too do a modprobe -r facetimehd, before re-running modprobe facetimehd. This stock-still the issue for me.
Making the camera work on startup
If yous want the driver to be enabled on startup, extra steps may be required. On Ubuntu, the post-obit should work:
$sudo echo facetimehd >> /etc/modules
sudo gedit /lib/systemd/system-slumber/99facetimehd or if /lib/systemd/system-sleep does non be:sudo gedit /usr/lib/systemd/system-sleep/99facetimehd
Paste this in the empty file:
#!/bin/sh
example $ane/$2 in
pre/*)
echo "Going to $two..."
modprobe -r facetimehd
;;
post/*)
echo "Waking up from $2..."
modprobe -r bdc_pci
modprobe facetimehd
;;
esac
And save.
Brand it executable:sudo chmod a+x /lib/systemd/organisation-sleep/99facetimehd orsudo chmod a+10 /usr/lib/systemd/organisation-slumber/99facetimehd
Making sure when you lot update your system your facetimehd driver updates also
When you perform a arrangement update in Ubuntu, it frequently updates the Kernel also. When you update the kernel, the modules need to be upgraded to work with that Kernel version. Equally you've build a custom module, you'll need to ensure that the module is up to engagement likewise. Hither's how to do that:
You volition demand to verifydkms.conf that the module namefacetimehd and version number0.1 are right and either update thedkms.conf or adjust the instructions where-thou and-v are used.
- Install needed packages:
# apt install debhelper dkms - Remove old package if installed:
# dpkg -r bcwc-pcie - Brand a directory to work from:
# mkdir /usr/src/facetimehd-0.1 - Change into the git repo dir:
$ cd bcwc_pcie - Copy files over:
# cp -r * /usr/src/facetimehd-0.i/ - Change into that dir:
# cd /usr/src/facetimehd-0.ane/ - Remove whatsoever previous debs and backups:
# rm fill-in-*tgz bcwc-pcie_*deb - Clear out previous compile:
# make clean - Register the new module with DKMS:
# dkms add -m facetimehd -v 0.1 - Build the module:
# dkms build -k facetimehd -v 0.i - Build a Debian source package:
# dkms mkdsc -yard facetimehd -5 0.1 --source-but - Build a Debian binary packet:
# dkms mkdeb -k facetimehd -v 0.1 --source-only - Re-create deb locally:
# cp /var/lib/dkms/facetimehd/0.1/deb/facetimehd-dkms_0.1_all.deb /root/ - Get rid of the local build files:
# rm -r /var/lib/dkms/facetimehd/ - Install the new deb packet:
# dpkg -i /root/facetimehd-dkms_0.1_all.deb
If you have any problem, please read this guide on making a DKMS packet:http://www.xkyle.com/edifice-linux-packages-for-kernel-drivers/
Problems booting Linux? Fix it by installing the EFI boot manager and disabling SIP protection.
Hopefully the following section won't issues almost of you any more. With contempo versions of most Linux distros supporting EFI, this shouldn't be an issue. However, if you are having problems getting your distro to boot, then read on.
EFI stands for Extensible Firmware Interface and is now pretty much commonplace in Macs and PCs across the industry. It replaced the trusty old BIOS system that PCs had used since the 1980s. Installing Linux on a BIOS based automobile was piddling, merely now with Apple's take on EFI on their customised hardware, it can be a little challenging. No worries, this is the Ultimate Linux Newbie Guide. We got this!
Download rEFInd
rEFInd is a kicking-loader for EFI based machines. Recall of it like bootcamp, or GRUB for Chow 🙂 Yous'll want to download rEFInd from the rEFInd website:
- rEFInd Website
Now, if y'all take a await around the rEFInd website, you'll see it looks similar the guy that wrote information technology believes in punishing everyone that wants to use it. It took us near 20 minutes just to detect the frigging download link! Then the ULNG has taken the time to go through all the pertinent steps to brand it shit tons easier for you!
The version of rEFInd that we used is 0.10.0, and nosotros used the zip annal version. One time you download the binary, yous are going to need to start the rest of your work from the Terminal, and 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 control and head into the newly created refind-bin-0.11.0 folder:
$unzip refind-bin-0.xi.0.zip
$cd refind-bin-0.eleven.0
For the next step, accept a note of the total directory where you downloaded the refind tool into. For case /Users/bob/Downloads/refind-bin-0.eleven.0 (you can also type pwd at the control prompt to tell you which present working directory you are in).
Installing rEFInd by working effectually SIP
Before we can properly install rEFInd, we will need to accept intendance of a pesky thing that Apple put into their hardware called SIP (System Integrity Protection). There are a couple of ways to practise this, but I plant the easiest mode to exercise and so is to pop your system into recovery mode and outcome a command from the concluding there. At that place is a bit more information on this process over hither.
To enter recovery style on your Macintosh, close your car downward completely. Give the machine around 30 seconds and then switch dorsum on. At present quickly hold down the Command and R key at the same time until at least you hear the Apple 'chime' sound. Shortly yous volition enter recovery mode. I recommend plugging in an Ethernet cable to practise this, nonetheless it is possible to exercise with WiFi.
Once you are in the Recovery tool, enter the Utilities menu upward on the top bar, and click on Concluding.
Issue the following control:
csrutil disable
Note: Using macOS from Sierra onwards, the csrutil tool may have been removed. If csrutil is unavailable for whatever reason, don't despair, but go into the directory that you downloaded refind into and run refind-install. Before, yous noted down this folder, and then but cd to it, for instance:
$cd /Users/bob/Downloads/refind-bin-0.11.0/
Once you take done that, install rEFInd:
sudo ./refind-install
(if you are prompted for a password, notation that this is your own mac countersign).
NB: if you take problems and detect that rEFInd doesn't operate properly, you can also try the –alldrivers flag (simply utilize this with extreme caution!)$sudo ./refind-install --alldrivers
Once REFind is all installed, reboot the mac and you should be expert to become. All going well, you lot should be seeing the rEFInd menu. Use the cursor key to select your Linux installation and hit that return key. Fingers crossed, your system volition kickoff upwards without much of a hitch!
If you don't run into the rEFInd menu on startup, try starting up your mac whilst holding down the Command key (or if that doesn't work, the alt/option key).
—YOU PROBABLY NO LONGER NEED THE Beneath INFORMATION!—
The side by side bit of text was necessary for versions of rEFInd before 0.10.0. This guide has been updated for version 0.11.0, so you shouldn't need to exercise any of this. Isn't that nifty?! However, if things don't piece of work the way you expect, then you can do this whilst still in the recovery tool, and in the refind folder.
Now information technology's time to edit the EFI config file, just you will demand to mount that hidden EFI partition first. Thankfully, rEFInd has a lilliputian tool yous can utilise to mount the partitioning:
$sudo mountesp
Edit /Volumes/ESP/EFI/refind/refind.conf. Like me, yous may detect the refind.conf file is in /Volumes/ESP/EFI/BOOT, instead of a folder called refind.
$sudo nano /Volumes/ESP/EFI/refind/refind.conf (or use vi like me, if you are that way inclined. Just not emacs!).
locate the line that says scanfor and edit information technology to say:
scanfor internal
If no such line exists, add information technology into the file nearly the top.
Side by side, change the config file to load the advisable Linux file organization driver. Check for a line that starts fs0. If no such line exists, add information technology every bit below, otherwise edit it:
fs0: load ext4_x64.efi
fs0: map -r
Save the file and quit your editor. That's pretty much it for the rEFInd fleck. That is the hardest office over and done with. If yous desire to be sure it worked, y'all should power off your machine and ability on again. If you see a grey screen with the rEFInd logo, then it has worked. You should be able to chose the Mac OS X logo and striking return to start up OS X again.
Screen backlight, Keyboard Backlight and Volume control hotkeys
I haven't had whatsoever issues with the screen backlight, keyboard backlight and the volume control keys since Ubuntu 17.ten, still if you exercise, a parcel is at present available for Debian and Ubuntu called 'pommed', which handles the hotkeys found on the Apple MacBook Pro, MacBook and PowerBook laptops and adjusts the LCD backlight, sound volume, keyboard backlight or ejects the CD-ROM drive accordingly.
Installation is as simple as installing the package through apt-go:
sudo apt-get install pommed
sudo pommed
This will run pommed as a daemon (run in the background).
If that doesn't work for whatever reason run information technology in the foreground and check for any errors
sudo pommed -f. On my Belatedly 2013 Macbook Pro Retina 15″, pommed did not work for me. Check out Jessie'southward blog and accompanying script for a more manual solution if you face this problem too.
NB: I did detect that my keyboard backlight buttons now work out of the box on Ubuntu 17.10.
Nvidia Graphics & Retina Brandish
The graphics brandish should mostly work out of the box, even so there may exist 'interesting' graphical issues. Not all of these might be fixable, just give the NVidia drivers a try, and if y'all however don't have any luck, read the many forums until you become a solution that works for you.
sudo apt-become install nvidia-driver xserver-xorg-video-intel
Note if you are not using xorg, you'll need to make the appropriate changes here. Maybe all-time to stick with xorg for now!
On newer macs, they utilise AMD graphics rather than NVidia. They also have their ain gear up of unique bug in some cases. As I don't have a mac with AMD graphics, you'll demand to do a fiddling more googling on that.
Your Macbook Pro Retina brandish is as well known outside the Apple tree earth as an HiDPI display (loftier resolution graphics). Using the nvidia driver ensures that the maximum resolution of your brandish is achieved, however if you are used to seeing things extra pocket-size (therefore more screen real-estate, you can enable HiDPI scaling for GNOME via the post-obit Terminal command and log out and log back into GNOME:
gsettings prepare org.gnome.desktop.interface scaling-factor ane
Setting it to a value of 2 returns the display to how it was earlier. You can also edit this setting within the dconf editor (GUI application)
If you are using another window manager such as KDE or are having bug with other apps not playing nicely, accept a expect at the ArchWiki for hints on HiDPI.
Okay, that about wraps it up for this ditty, I hope it has worked for you. If it hasn't, or yous have some feedback to offer, we would honey to hear it! Drib it in the comments, y'all 🙂
Source: https://linuxnewbieguide.org/how-to-install-linux-on-a-macintosh-computer/
Posted by: mcmanusmexplace1942.blogspot.com

0 Response to "How To Register A Used Macbook"
Post a Comment