If you’ve ever wanted to install Mac OS X onto your PC (known as hackintoshing), then now’s a great time to do so. Never before has hackintoshing been any easier, and compatibility for hardware is growing all the time (especially for newer components).
This post will guide you through the process of creating a hackintosh-ready USB drive with Mac OS X Lion 10.7.0 (or 10.7.1) on it so that you can use it to bootup just about any PC into the Lion installer. After that, you’ll be able to install Lion.
This post also contains a video how-to just in case you’d like to follow along with the written guide.
This guide was based off of THIS guide by MaLd0n on InsanelyMac. Some of it seemed slightly messy and not detailed, so I made my own guide.
A computer with Mac OS X already on it – The reason for this is that we need to prepare the USB drive, and the only way to do this is within Mac OS X. So, you’re going to need to use somebody’s Mac for a while. You can also use Mac OS X inside of VMware Workstation (Windows or Linux), OR on your current hackintosh (if you have one). The bottom line is that you’re going to need some machine (again, it doesn’t need to be a Mac) to do this.
An 8GB (or larger) USB flash drive – I tried this on a 4GB flash drive, and it barely fails to meet the space requirements.
THIS file – Inside of that ZIP file are 3 other ZIP files that will be used.
Mac OS X Lion 10.7 (or 10.7.1) DMG – You can download this from the Mac App Store. The DMG itself is located in Install Mac OS X Lion.app/Contents/SharedSupport. It’ll be best to move this file to your desktop.
About 20-30 minutes of time – Most of the time will be used up when copying files over to your flash drive. Using a USB 3.0 flash drive will speed things up quite a bit.
An already ready hard drive (or SSD) – You obviously need to install Lion to, so you’re going to need a hard drive or a solid-state drive that’s already partitioned and ready to go. You’ll be formatting the drive or partition in Disk Utility from the Lion installer, so you don’t need to specifically choose the filesystem just yet.
Before starting, please read through the requirements and the instructions at least two times so that you can get a good idea as to what you’ll be doing and what you’ll be needing. You’ll thank yourself later .
Open Disk Utility (Spotlight, or /Applications/Utilities).
Select your USB drive’s partition in the left sidebar (the one that you’d like to put Lion on).
Go to the “Erase” tab.
For the format, set it to “Mac OS Extended (Journaled)”, give it a label, and click on the erase button.
Mount “InstallESD.dmg”, which can be found by looking at requirement 4 above.
Run the following command: open /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg
Go back to Disk Utility.
Click on the “Restore” tab.
For the source, drag “Mac OS X Base System” from your desktop into the source box.
For the destination, drag your USB drive into the destination box.
Click on the restore button. This process will take anywhere from 5 minutes to 15 minutes, depending on the speed of your USB flash drive. At the end of the process, the label of your flash drive’s partition will change to “Mac OS X Base System”. Keep track of which is which, as there are now 2 “drives” labeled that.
Go to your USB drive in Finder, navigating to /System/Installation.
There should be a “Packages” symlink (which are basically shortcuts/links to another file or directory), so delete it.
Create a folder named “Packages”.
Go back to Terminal.
Run the following command: open /Volumes/Mac\ OS\ X\ Install\ ESD/Packages
Copy all of the files in the new Finder window over to the empty Packages folder that you created in step 15 above.
Extract all of the files from requirement 3 above to your desktop.
Open Extra Lion DP4 GM.pkg.zip, which will add Extra Lion DP4 GM.pkg to your desktop.
Open Extra Lion DP4 GM.pkg, installing the software to your USB drive.
Open Chameleon_2.0_RC5_r1083.pkg.zip, which will add Chameleon_2.0_RC5_r1083.pkg to your desktop.
Open Chameleon_2.0_RC5_r1083.pkg, installing the software to your USB drive. Ignore the available packages (in other words, install only “Chameleon”).
Open Lion_OSInstall_GM.tar.bz2, which adds a “System” folder to your desktop.
On your USB drive, navigate to /System/Installation/Packages.
In the extracted “System” folder, navigate to /System/Installation/Packages.
Copy the “OSInstall.mpkg” file from the extracted folder on your desktop over to the Packages folder on your USB drive, overwriting the one that’s already there.
On your USB drive, navigate to /System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A.
In the extracted “System” folder, navigate to /System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A.
Copy the “OSInstall” file from the extracted folder on your desktop over to the “A” folder on your USB drive, overwriting the one that’s already there.
Your USB drive is now prepared for installation on nearly any PC! All you have to do now is boot directly from it (you may need to change your settings in your BIOS, or at least bring up a boot menu), go to the installer, choose the drive/partition that you want to install Lion to, install Lion, and you’re done!
Now comes the part that you’ll have to do some research on yourself: Getting your hardware work properly.
What I mean by that, is getting various pieces of hardware working properly, such as your audio, video card, Ethernet, WiFi, and possibly more. Below are a few good resources for these things: