Building a hackintosh — that is, installing Mac OS X on non-Apple hardware — used to require extremely restricted hardware choices and quite a bit of know-how. Now your options are vast and the installation process is fairly simple. With that in mind, this is our complete guide to building a hackintosh that will walk you through purchasing compatible parts, building your machine and installing OS X all on your own.
Currently Up-to-Date Version: Mac OS X 10.8.4 (UniBeast Method) This guide is all about installing Mountain Lion on your hackintosh. We're using a sample build to offer hardware that is Mountain Lion-specific. While it may work with Lion, we're not sure and we make no promises. Plan accordingly.
Wait, wait! Before you jump right in, know that 10.8.2 brought some hackintosh-related issues that are likely to still be present in 10.8.4. Although updating your hackintosh is generally pretty straightforward, and if you're updating from 10.8.2 to 10.8.4 you shouldn't have any issues, 10.8.2 caused more issues than the average update. If you're starting from scratch, 10.8.4 will potentially cause those issues as well. If you're building for the first time, or updating from 10.8.1 or earlier, be sure to read the update section carefully so you don't mess up your computer. And, as always, back up first!
Table of Contents
- About Hackintoshes And This Guide
- How To Choose The Best Hardware
- Pre-Tested Hackintosh Builds
- How to Install OS X On Your Hackintosh
- How to Troubleshoot Your Hackintosh
About Hackintoshes And This Guide
First Things First: What Is a Hackintosh, Exactly?
A hackintosh is simply any non-Apple hardware that has been built or "hacked" to run Mac OS X. This could apply to any hardware, whether it's a manufacturer-made model or something you built yourself. For the purposes of this guide, we're only discussing a tried-and-true method for building a hackintosh that you build.
That means you'll need to be comfortable with the idea of building your own machine and providing your own technical support when you run into problems. While this can be a scary prospect if you're new to building a hackintosh, it comes with the advantage of saving you a lot of money while still providing you with an incredibly powerful, fully customisable machine. We'll also point you to several resources we've put together to help you learn everything you need to know about building a computer.
Building a hackintosh from scratch is not a project for beginners, but it is something that anyone can learn to do. We think it's a rewarding challenge and a wonderful alternative to purchasing an official Apple product. Now that you know what to expect, let's get to work.
How Does This Guide Work?
It may seem strange to have a "complete" guide to building a hackintosh, because the process changes based on the hardware choices you make. Although this is true, it doesn't change that much. We'll be discussing the process of building a hackintosh on a broad level, as it applies to most hardware. As a result, this guide will not always be able to tell you the exact boxes to tick and choices to make, but it will teach you how to figure that out for yourself. We'll hold your hand as tightly as possible through as much of the process as we can, but there will be some decisions you'll have to make on your own. It can be a little scary sometimes, but that's part of the fun.
In summary, this always up-to-date guide will explain how to pick the right hardware for a great hackintosh and walk you through the standard OS X installation process, but it will also require you to be diligent and informed in regards to the variables in your specific build.
How To Choose The Best Hardware
Picking out hardware and building a computer is often the most daunting part of this process. If you've never done it before, it can feel like putting together a puzzle where the pieces seem interchangeable but truly are not. Fortunately, we have plenty of resources to help you demystify the purchasing and building process.
First, let's talk about choosing hardware and what makes certain options better than others.
The parts Apple uses to build its Macs are not that different to the parts we can buy to build our own PCs. In fact, they're often the same. Third-party manufacturers will also create hardware for Apple's Mac Pro computers to add options, and they need to create software drivers so that the hardware can work with Mac OS X. Virtually any hardware with these drivers is going to be hardware you can use in your hackintosh build.
Talented people on the internet have also developed their own open-source drivers for non-Mac hardware so that you can have additional options for your hackintosh. Many motherboards, graphics cards and processors are only compatible thanks to these efforts. While all of these efforts only span a small percentage of the available hardware on the market, it still provides you with great choices.
So how do you know what is and isn't compatible? As we said above, if Apple has used the part before, it's generally a good sign that you can use it too. However, you always want to double-check when you're putting your hardware list together. We've created a hackintosh hardware buyer's guide to help you you can figure out what hardware will and will not work. You can also reference our Hack Pro and Hack Mini builds, or just use the sample build provided at the end of this section.
Once you have your hardware, you're going to need to assemble it into a working computer. We have an entire course on building computers, but this specific lesson will walk you through the process of building your first computer. Follow it diligently, read your motherboard and case manuals closely, and you should have a functional machine in no time.
Pre-Tested Hackintosh Builds
When you have all the resources discussed above, you should be all set to build your hackintosh. Before we move on, let's take a look at a sample build so you can get an idea of what a basic hardware shopping list looks like. This is an actual hackintosh we've built based on hardware suggested by tonymacx86. It only costs a little over $600 (without all the extras), so it's a great option for beginners. Here are links to search for a good price on the parts via StaticICE:
- Motherboard: Gigabyte Intel Z77 LGA 1155 Dual UEFI BIOS ATX Motherboard
- CPU: Intel Core i5-3570K Quad-Core Processor 3.4GHz
- GPU (optional): EVGA GeForce GT 640
- RAM: G.SKILL 8GB (2 x 4GB) DDR3 RAM
- Case and Power Supply: Corsair Carbide Series 300R Mid-Tower Case and Corsair 430W Power Supply
- Optical Drive: Lite-On Super AllWrite 24X SATA DVD+/-RW Dual Layer Drive
- Hard Drive: Western Digital 2TB Hard Drive
- Solid-State Drive (optional): 120GB OCZ Vertex or 240GB OCZ Vertex
- Wi-Fi Card (optional): TP-Link PCI Express Adaptor
- Bluetooth (optional): Jabra A320s USB Bluetooth Adaptor (works much better than any others I've tried, so I recommend getting this one even though it's larger and a little more expensive)
You'll find lots of builds like this on tonymacx86's blog, so you can build those exact machines or use them as starting points to create your own build. However you want to go about it, be sure to read our hackintosh hardware buyer's guide if you want help selecting your parts.
By this point you should have purchased your parts, built your computer and turned it on to make sure everything is functioning. If all systems are go, it's time to move on to the installation process.
How To Install OS X on Your Hackintosh
Installing Mac OS X on hackintosh hardware involves a bit more than just popping in a DVD, choosing a boot volume and clicking a button. You still have to do all of that, but there's a bit of prep work involved as well. Let's get started.
Step 1: Configure the BIOS
When you turn your machine on, it should display its BIOS welcome screen. This is usually an image with the name of your motherboard, and indicators for a few keys you can press to edit your BIOS. Before we can install OS X, we first have to make a few changes to the BIOS (your motherboard's settings), so press the key that corresponds to the BIOS Settings when you power on your machine. This is almost always a function key (like F12) or the delete key, but reference your BIOS image to be sure. (Click the image on the right to see an example.) Press and hold down that magic BIOS settings key and wait for the BIOS settings to load.
The BIOS settings for every motherboard are usually similar but rarely identical. For that reason, we can't tell you command by command where to go to make certain adjustments, but we can tell you what to look for. Here are the settings you will need to adjust (or at least verify) in your BIOS to make your hardware hackintosh-friendly:
- Disable Quick Boot. You may have to look around for this, but it's usually in a section titled "Advanced BIOS Settings". Just look for a Quick Boot or Fast Boot option and ensure it is set to disabled.
- Configure SATA as AHCI. By default, your motherboard will configure SATA as IDE, and you'll need to change this to AHCI. In some cases you'll be asked if you want to do this when you boot up for the first time. If so, choose yes. If not, go into your BIOS and look for this setting as you'll need to make the change for everything to work smoothly.
- Change the Boot Device Order. Your BIOS will default to a specific boot order, which means it will look for a startup volume (where the operating system lives) in various places until it finds one. The boot order is the order in which it checks each location. In general, you want to set your optical drive to first boot device so you can easily boot to a disc by simply putting it in the drive and turning on your machine. The second item in the order should be the hard drive or SSD where you're going to install OS X. The order beyond that isn't terribly important and entirely up to you.
- Adjust the Hard Disk Boot Priority. Some BIOS settings pages will also have a setting called Hard Disk Boot Priority, which is used to identify which hard drive to boot from first if there are multiple drives in the machine. If you install more than one drive in your hackintosh, be sure to set the Hard Disk Boot Priority to the drive where OS X will be installed.
Now you need to save the changes. In most cases, you'll only need to press the escape key a few times to get back to the main screen, and then F10 to save and exit. Your BIOS settings page will tell you which keys save, exit and so on, so you should have no trouble figuring out the right keys to press.
Step 2: Install Mac OS X Mountain Lion
Now we're ready to actually install OS X. This is going to be a fairly in-depth process that requires a number of tools. Before getting started, be sure you have the following:
- A copy of Mac OS X Mountain Lion from the Mac App Store or on a thumb drive.
- An 8GB thumb drive (or larger).
- UniBeast, available from tonymacx86.
- MultiBeast, also available from tonymacx86. You want the version for Mountain Lion (as opposed to Snow Leopard).
- The DSDT file for your motherboard of choice. If you followed our hackintosh hardware guide in the previous section, you may already have a pre-edited DSDT file for your motherboard. If not, visit tonymacx86's DSDT database, choose your motherboard from the list — making sure you choose the version that matches your motherboard's firmware — and download it to your hard drive. (Note: You can generally discover the firmware version of your motherboard by looking at its BIOS boot image.)
Once you have everything, you'll need to prepare your thumb drive to be bootable and capable of installing Mac OS X Lion by following these steps:
- Connect your USB drive to an existing Mac and open Disk Utility (in your Macintosh HD -> Applications -> Utilities folder).
- Click on your thumb drive in Disk Utility and then click the Partition tab.
- Click on the drop-down menu that reads "Current" and choose "1 Partition".
- Click on the "Options..." button and select the partition scheme labelled "Master Boot Record". Click "OK" to accept your choice.
- Give the thumb drive the name "USB" (you can change it later).
- Set the drive's format to "Mac OS X Extended Journaled".
- Click the "Apply" button and then the "Partition" button.
- When Disk Utility has finished partitioning your disk, make sure the "Install Mac OS X Lion Application" you purchased from the Mac App Store is in your Applications folder.
- Open UniBeast and click "Continue" three times, then agree. This should bring you to a drive selection screen. Choose USB (the thumb drive you just partitioned) and click "Continue".
- You'll now be presented with the option of Laptop support and Legacy USB support. If you're planning to install Mountain Lion on a motherboard with an 1156 chipset, you'll likely need the legacy USB support. It won't break anything if you don't need it, so if you're updating multiple Hackintoshes and not all of them require it, there's no reason to worry. If legacy USB support isn't working for you, just add your motherboard's patched DSDT file to the hidden /Extra folder on your installer drive and that should fix the problem. Phew! When you're ready, click "Continue" and enter your admin password.
- Wait about 15-45 minutes (it can vary) for UniBeast to do it's thing. DO NOT unplug the drive or stop the installation.
When UniBeast finishes, you'll have a hackintosh-bootable USB thumb drive. Plug it into your hackintosh, boot up, and press the key on your keyboard that will take you to the boot selection menu (usually ESC, F10 or F12 — look on your BIOS boot screen). If the thumb drive boots successfully, you'll see a thumb drive with the tonymacx86 logo appear on your screen along with a single boot option: USB. Choose it and boot into the installer.
Note: In some cases you may need additional boot flags to get to the installer. If you have an unsupported graphics card, you'll need to add GraphicsEnabler=No. If you have an ATI Radeon 6670 installed you'll need to add PCIRootUID=0. You can just type these in at the boot option screen before you press enter to choose "USB" and boot into the installer.
When the Mac OS X Lion Installer finishes booting, you'll be presented with a welcome screen. Choose your language, but before you can continue, you'll need to format your disk. Go to the Utilities menu and choose Disk Utility. Select the disk you want to use for installation and format it. To format it properly, follow these steps:
- Choose the disk in Disk Utility and click the Partition tab.
- Set the partitions to one (or however many you want) and the format to Mac OS Extended (Journaled).
- Click the options button and set the partition scheme to GUID Partition Table
- Click Apply and wait for the disk to finish formatting.
With your destination disk ready to go, you can now run the Mountain Lion installer just like you would on any other Mac. When it completes, you might be met with an "Installation Failed" message at the end (or not), but that's nothing to worry about. When the installation is complete just restart your machine. After you do, access your boot menu and choose the USB drive. You still need it to boot up. When you see the familiar boot options screen again you'll now be able to choose the drive you installed Mountain Lion on. Pick that and press enter, also entering any boot flags you used when booting into the installer previously.
Step 3: Install Your Drivers
Now that you've got Mountain Lion installed, it's time to make all your hardware work properly by installing some drivers. Copy MultiBeast to your hackintosh's hard drive and open it up. Click through the install windows and get to the options page. What you choose is going to vary based on your build, but here's a look at all your choices and what they do, using our sample build as a guide:
- EasyBeast Install - Ignore this.
- UserDSDT Install - This is the option that applies your custom DSDT. You downloaded it earlier, so put a copy on your desktop and check this option so it will be applied. If your motherboard doesn't require a DSDT file, just check the box anyway and don't include a DSDT file.
- System Utilities - It's always a good idea to check System Utilities because it's helpful for repairing permissions and running maintenance scripts. (Note: Newer versions of MultiBeast don't offer this option, so don't worry about it if you don't see it.)
- Drivers & Bootloaders - This is the section where you'll be making most of your decisions. You'll have your pick from an array of hardware drivers that will allow things like audio and Ethernet to function on your hackintosh. All you really need to do is go through this list and select the relevant hardware in your build. If you have Azalia Audio on your motherboard, that generally means selecting ALC8xxHDA and the AppleHDA rollback options. Most graphics cards you use won't require drivers, so you can usually skip the Graphics subsection. Just turn on GraphicsEnabler, which you'll do in the next section. Enabling any of the drivers in the Disk subsection will help provide support for SATA and eSATA hard disks, but they won't be necessary for most users. The miscellaneous sections has a lot of goodies. If your board supports any of them (like USB 3.0), you should check them off for installation. One kext that always seems to make things work better is NullCPUPowerManagement. We recommend installing this as it tends to make a big difference in performance on some machines. Lastly, you have the Bootloaders subsection, which you can skip since the UserDSDT Install process took care of installing the Chimera bootloader earlier. (Note: Some newer motherboards, such as the one in our sample build, don't require a DSDT file or many drivers at all. Most things should work out of the box. If you have a motherboard like this, you most likely need to install the relevant audio driver and nothing else.)
- Customisation - If you're following our guide, you're using a pre-edited/patched DSDT file, so the only thing you're going to want to do in this subsection is check off 64-bit Apple Boot Screen (unless your hackintosh has 32-bit hardware) to enable your video card in full force. You probably won't need the other options unless you have a special situation or troubleshooting an issue.
- OSx86 Software - You don't really need to choose anything in this department, but if you'd like some handy OSx86 tools installed in your Applications folder, you can choose them from this section.
Once you've made all of your choices, go ahead and run MultiBeast. When it's finished, this generally means you're done and you can restart your brand new hackintosh. In some cases, you may need to find additional drivers that MultiBeast didn't provide. This may be a driver for a Wi-Fi adaptor or a third-party PCI card. If the driver wasn't provided by the manufacturer or downloadable on its website, use popular hackintosh forums (like InsanelyMac and tonymacx86) for help. Either way, once you're done with MultiBeast, you can install those drivers as well to finish up the job. Congratulations on all your hard work. You now have a functional hackintosh!
Step 4: Updating Your Hackintosh
Apple pushes out Mountain Lion updates fairly quickly, and the 10.8.2 upgrade actually brought new features as well as hackintosh-related problems. 10.8.4 did not have the same range of extensions, but still retains the same issues caused by 10.8.2. In this section we'll discuss how to resolve those common issues and troubleshoot them further, which means you might need to look back at some 10.8.2 information. As always, create a bootable backup first so you're ready to troubleshoot.
Installing the 10.8.4 update should be straightforward. Just just download the combo version — rather than updating through the App Store — and run the installer. When the installation finishes, don't restart.
Run Multibeast and re-install any overwritten kexts. For most users, this will simply mean re-installing the AppleHDA rollback, but you may have other customisationss as well. It's always a good idea to keep track of the kexts you installed when creating your hackintosh so you know what may need to be re-installed after an update. Once you have re-installed your kexts, go ahead and reboot.
If everything went smoothly, you'll be back up on your desktop in no time. That said, many people (including myself) experienced a few issues when upgrading to 10.8.2. If you're upgrading from 10.8.2 to 10.8.4 you should not experience issues. If you've started from scratch or upgrading to 10.8.4 from 10.8.1 or earlier, however, you might run into these common problems:
- Kernel panic during boot: If this happens, you're possibly using FakeSMC Plug-ins. Everyone is using FakeSMC.kext, but FakeSMC Plug-ins are installed manually through Multibeast inside of FakeSMC.kext and one of the files is causing this kernel panic. To fix it, boot into safe mood (enter the -x boot flag when on the hackintosh boot screen) and navigate to /System/Library/Extensions/FakeSMC.kext/Contents/Plugins/ (press Command+Shift+G in the Finder and paste in that address). You should see a file called OEMsmbios.kext. Delete it and restart your computer. Problem solved!
- Computer hangs on the grey Apple screen during boot: If you get stuck watching the little dial spin during boot, you probably have a conflict in your BIOS. OS X 10.8.2 (and now 10.8.4) doesn't like VD-T to be enabled. Go into your BIOS and disable it. (It's probably in the Advanced Features settings, but you may have to look around a bit.) If that doesn't solve your problem, try disabling Virtualization Technology as well. Hopefully you won't have to do this as it will prevent you from using apps like Parallels, but it's better than being unable to boot into OS X at all.
- NVIDIA web drivers do not work with 10.8.4: This won't affect most people, but if you use NVIDIA web drivers — and not the ones included with OS X — they won't work with the 10.8.4 update. NVIDIA hasn't updated CUDA either, so you might want to hold off on upgrading 10.8.4 if you require the web drivers or CUDA. Additionally, if you use any customised or edited graphics kexts, you'll need to make those updates again in 10.8.4.
- TRIM Enabler gets disabled: If you have an SSD in your system and you applied TRIM Enabler, you need to do it again after updating to 10.8.4.
Those are the issues we know of right now, but if you run into anything else there's a decent chance someone else has as well. Keep an eye on the 10.8.2 update thread on tonymacx86 for other problems and solutions that may pop up in the future. (Yes, we do mean the 10.8.2 thread even though that is not the latest version of OS X; it's relevant because that's when these issues were introduced.)
How To Troubleshoot
Things go wrong with hackintoshes all the time. It's unlikely you'll create one without running into at least a minor dilemma. A lot of troubleshooting involves trial and error, unfortunately, and you'll just have to tinker around until you get the problem fixed. You will be able to find help on the InsanelyMac and tonymacx86 forums if you get stuck. You can also use tonymacx86's rBoot rescue CD to help you boot when you're having trouble doing so. You'll also want to spend some time disabling potentially problematic options and kexts in your /Extra folder, which you can get to by pressing Command+Shift+G, choosing Go to Folder, typing /Extra. See if removing anything helps. Sometimes you'll also need to add things to get the proper hardware support without any glitches.
Finally, once you do get things working, you should clone your hard drive so that you have a bootable copy available if things go awry. It lets you restore back to that copy or at least compare the things that changed since it was working properly. Keep a backup. You won't regret it.
For more troubleshooting tips, check out our hackintosh troubleshooting guide.