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, here is our up-to-date 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.7.1
First Things First: What Is a Hackintosh, Exactly?
A hackintosh is simply any non-Apple hardware that has been made -- or "hacked" -- to run Mac OS X. This could apply to any hardware, whether it's a manufacturer-made or personally-built computer. 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 little bit of 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 so you can feel confident on your first time through the entire computer building process. While it's important to know that building a hackintosh from scratch is not a project for beginners, it is something that anyone can learn to do. We think it's a wonderful alternative to purchasing an official Apple product and a rewarding challenge. Now that you know what to expect, let's get to work.
How Does This Guide Work?
It may seem strange to have an always up-to-date 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 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 for Your Needs
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 often feel like putting together puzzle where many of the pieces seem interchangeable but truly are not. That said, we have plenty of resources to help you demystify the purchasing and building process so you're feeling confident.
First, let's talk about choosing hardware and what makes certain options better than others.
When Apple builds its official Macs, the parts are not that different from the parts we can buy online when we build our own PCs. In fact, they're often the same. Additionally, third-party manufacturers will create hardware for Apple's Mac Pro computers to add additional options to the mix. This means that Apple, or the third parties, need to create software drivers for Mac OS X in order for the hardware to work. This means that virtually any hardware with these drivers is going to be hardware you can use in your hackintosh build. Additionally, the talented people on the internet have developed their own open source drivers for non-Mac hardware in order to provide additional options for your hackintosh. While all of these efforts only span a small percentage of the available hardware on the market, it still provides you with a lot of great choices. Many motherboards, graphics cards, and processors are compatible thanks to these combined efforts.
The next question is, how do you know what is and isn't compatible? As we've already discussed, if Apple has used the part before, that's generally a good sign that you can use it, too. That said, you always want to double-check when you're putting your hardware list together. To help you out, we've created a hackintosh hardware buyer's guide so you can figure out what will and will not work. Follow that guide when choosing your hardware and you should be good to go. 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 night school course on computer building, but this specific lesson will walk you through how to build your first computer. Follow it diligently, read your motherboard and case manuals closely, and you should have a functional machine in no time.
A Sample Build
With the resources we've discussed, you should be all set to build your hackintosh. Before we move on, however, 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 $US300, so it's a great option for beginners. Here's the parts list:
- CPU: Intel Core i3-2105 with Intel HD 3000 Graphics
- GPU: None necessary (it's integrated with the CPU)
- Motherboard: Gigabyte GA-H67N-USB3-B3
- RAM: CORSAIR 8GB (2 x 4GB) 240-Pin DDR3
- Case and Power Supply: APEX MI-008 Mini-ITX with 250w PSU
- Optical Drive: Sony Optiarc
- Data Drive: Seagate Barracuda 1 TB SATA 6Gb/s (HDD) or Corsair Force Series 3 120GB SATA 6Gb/s (SSD)
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 a hackintosh hardware buyer's guide if you want help with 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 Mac 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'll have to do all of that, too, but there's a bit of prep work involved. Let's get started.
Step 1: Configure the BIOS
When you turn your machine on, it should display its BIOS welcome screen. This is generally 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 you're going to need to 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 to the left 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 going to be somewhat similar but never exactly the same. For that reason we can't tell you, command-by-command, where to go to find and make certain adjustments. That said, 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 we've often found this 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'll 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 try and 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.
Once you've made these changes, you'll need to save them. 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 (Snow Leopard)
Now we're ready to actually install OS X, but 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:
- Both a copy of Mac OS X Snow Leopard and Mac OS X Lion. You'll need a physical copy of Snow Leopard, which you can purchase through Apple, but you'll need to download Lion from the Mac App Store later on.
- iBoot burned onto a CD. You'll need to register for an account to download it from tonymacx86.
- The Mac OS X 10.6.8 Combo Update, which will be necessary in order to upgrade to Lion (as it provides the Mac App Store).
- MultiBeast, also available from tonymacx86. There is a version for Snow Leopard and a version for Lion. Get both.
- 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.)
Note: You'll want to put everything from this list on a thumb drive for later. Everything but iBoot, that is, as iBoot needs to be burned onto a CD.
Once you've got everything prepared, take your iBoot CD, put it in your hackintosh, and boot from it. It'll take a little while to get going the first time, but once you see a boot options screen you can eject the disc and insert your Mac OS X Snow Leopard 10.6 install DVD. After a few moments it will show up as an iBoot option. Select it and wait for the installer to boot.
Before you can begin the installation, 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 their 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 Snow Leopard 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, swap out the DVD for iBoot and restart your machine. Now you'll see a new option in iBoot: the volume where you just installed Mac OS X. Choose that and boot everything up.
Before we continue, congratulations! You just successfully built your own Mac. There's still quite a bit of work to do, but there's no harm in patting yourself on the back for a job well done. You've made it past the threshold.
Chances are you don't want to have to use your iBoot CD to boot your machine each time, so the next thing we need to do is make your startup volume do that job. We'll also need to update to OS X 10.6.8 since we'll be installing Lion. To get started, launch MultiBeast and then the Mac OS X 10.6.8 Combo Update. Leaving both open, run the 10.6.8 update and wait for it to finish. When it's all done, click through the MultiBeast installation windows until you get to your installation options. If we were only installing Snow Leopard we'd also install our hardware drivers right now, but since we're going to update to Lion after this we'll save those steps for later. The only box you need to check right now is UserDSDT Install. You may also want to check System Utilities because that repairs permissions, etc, and that's never a bad thing to do.
BUT before you let MultiBeast perform its magic, you need to copy the DSDT file you downloaded earlier onto your desktop. If you've been following along closely, that DSDT file should be on your thumb drive along with MultiBeast. Once you've copied it over, run MultiBeast and restart your computer when it has finished.
Step 3: Update to Mac OS X Lion
Now that you've got a semi-working hackintosh, it's time to upgrade it to Lion. This process is a little quirky, so you'll need to follow the instructions closely, but it's pretty easy. Before you get started, you're going to need another utility from tonymacx86 called xMove. You're also going to need to purchase and download Mac OS X Lion from the Mac App Store if you haven't already. Once you've got both of those things, follow these steps:
- Launch the Lion installer and run it on your Snow Leopard boot drive. This won't actually install the operating system, but simply the necessary files needed for that to happen. When it finishes, click the Restart button to reboot.
- Upon rebooting, it'll seem like nothing has changed. To get Lion set up for a proper install, open Disk Utility, choose your Snow Leopard boot volume, and click the Partition tab. Go ahead and create a new partition that's 8GB in size, naming it Installer. (Technically it can be larger, but that would be wasteful.) It'll take a moment for Disk Utility to live-partition your drive, so be patient while it does what it needs to do.
- Open up xMove and run it on the new partition you named Installer. This will move all the OS X Lion install files to the new partition and configure things as needed. Don't interrupt it!
- When xMove finishes, reboot your machine and choose the Installer partition from the iBoot menu rather than just letting your computer boot up as normal.
- Run the OS X Lion installer like you would on any regular Mac. When it's done, you nearly are, too!
Step 4: Install Your Drivers
Now you've installed Mac OS X Snow Leopard and upgraded to Lion, so you're almost done. Before we can call it a day, however, you're going to need to install your hardware drivers. To do this you're going to need to load the Lion version of MultiBeast that you downloaded earlier. Open that up, click through the install windows, and get to the options page (which should be familiar to you at this point). Here's a look at all your choices and what they do, using our sample build as a guide:
- EasyBeast Install - Just ignore this.
- UserDSDT Install - This is the option that applies your custom DSDT, but seeing as we took care of that earlier you don't need to check it now.
- System Utilities - It's always a good idea to check System Utilities as it repairs permissions, runs maintenance scripts, and other helpful stuff like that.
- 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 everything from audio to 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, and so you can often skip the Graphics subsection, but just turning 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, for example), 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 significant difference in performance on some machines. Lastly you have the Bootloaders subsection, which you can skip as the UserDSDT Install process took care of installing the Chimera bootloader earlier.
- 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 are 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 to 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 can restart to 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 you purchased or some third-party PCI card. If the driver wasn't provided by the manufacturer or downloadable on their web site, 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 5: Update Your Hackintosh to OS X 10.7.1 (and Beyond)
For the most part, updating is pretty straightforward and you won't run into issues, but it's good to check tonymacx86's blog when updates are released to see what you'll need to do. In most cases you'll just download the latest update from Apple directly (rather than running Software Update), remove Sleepenabler.kext (provided you're using it), and then re-install it and any overwritten drivers using MultiBeast.
So how do you know what drivers were overwritten? In most cases, the only driver you'll have to reinstall is the AppleHDA Rollback, because that driver needs to be installed directly into your System Library where OS X makes changes. Whenever possible, MultiBeast installs special to a folder called Extra on your hard drive and then injects them into the boot process during startup. This method is used to prevent them from being overwritten by system updates, but if you have any drivers/kexts that aren't installed to Extra you may have to re-install them each time.
Since you've got OS X 10.7 installed and there's currently a 10.7.1 update, go grab it from Apple and run the update. Re-install anything necessary when you're done and test everything to make sure it works. Most updates should go very smoothly, but you should always back up your boot volume beforehand (we like Carbon Copy Cloner for this process) in case something goes wrong. You never know what can happen, and restoring from a backup is considerably less time-consuming than going through this entire process again from scratch.
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 href="http://www.tonymacx86.com/index.php">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, and see if removing anything can help. Sometimes you'll need to add things, too, to get the proper hardware support without any glitches so just be diligent and you'll get there.
Finally, once you do get things working you should clone your hard drive so you have a boot-able copy available should things go awry. This way you can restore back to that copy or at least compare the things that changed since it was all working nicely. No matter what you think, you're going to screw something up at some point. Keep a backup. You won't regret it.