If you’ve ever wanted to install Mac OS X onto your PC (aka hackintosh), then now’s a great time to do so. Never before has hackintoshing been easier, and compatibility for hardware is growing all the time.
This post will guide you through the process of creating a hackintosh-ready USB drive with Mac OS X Lion 10.7 on it that you can use to bootup just about any PC into the Lion installer so that you can then install Lion.
Also in this post is 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 this guide exclusively for TheMacMob readers.
Requirements
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 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.
Instructions
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.
Open Terminal.
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:
can any one help me, mouse does not work at Apple setup screen where we can use disk utility to make parttion.
Anonymous
What type of mouse you using ? Is it PS2 ? If so you need to find the Apple PS2 or Voodoo PS2 kext and include it in /Extra/Kexts/ on the USB ! Do that on Kexts.com !
Qaatil
thanks for solution yes i was using PS2.
Anonymous
Glad I could help
Grag
can we make dual boot windows 7 and mac lion. if pc already have windows 7.
Anonymous
Yes you can but that involves a ton of experience with MBR/Partitioning etc…
Grag
after installing MAC why i have to use usb to boot in mac OS. without USB PC is not boobting
Anonymous
Told ya it involves a lot of hard work ! U need to boot from Win 7 Rescue disc go to CMD diskpart > Select Disk x (Boot Drive) > Select Partition x (Mac Partition) > Active > Exit > reboot !
Grag
no my question is why i have to use USB drive to boot pc other wise if i boot pc without USB pc gives boot0: error.
Anonymous
You have to boot from USB only first time after installing OS so you can actually install bootloader to boot drive so you can boot without USB ! Get it ?
Anonymous
You have to boot from USB only first time after installing OS so you can actually install bootloader to boot drive so you can boot without USB ! Get it ?
Ahallas
Step 21Open Extra Lion DP4 GM.pkg, installing the software to your USB drive.
This step will not let you install it to the USB. It says you can only install to a drive running OSX.
Thanks
Anonymous
I never write a guide I haven’t tested myself ! Proof I am running Lion 10.7.1 as we speak ! If it not letting u install to your USB then permissions are set to read only on USB ! Check that 1st !
Vricop
It happened the same to me so I chose my usb I went to get info and I unlocked de padlock then I checked ignore ownership on this volume. I hope that helped for you.
Anonymous
Yep exactly ! Thanks buddy
Vricop
Just one question. Do I have to choose MRB option or GUID in the partition menu, you don’t say anything abou it.
Many thanks for making this great tutorial.
Anonymous
MBR of course bro hence why we provide a binpatched OSInstall.mpkg
Guest
Can I use an empty external hard drive instead of a flash drive for the Lion dmg
Anonymous
You should be able to yes if its a USB
Aaron
My instals isn’t getting anywhere before I get an error message saying the installation can’t continue: ReportCrash[325], opendirectoryd[101], Viewer[329], Unknown[309], LCA[308]. I don’t know what these error codes mean. I’m on a Dell Optiplex with a Foxconn L S-36 MoBo with an Intel Core 2 Duo E8200. Should I be installing special kexts or dsdt files? Thanks.
Anonymous
I don’t have same build as you but yeah you have to find relevant Kexts so you don’t get that error which means there is a hardware detection issue :/ Hackintosh is all about Trial n Error it won’t work first try ! I had to try about 40 times before I got it to boot right :/
Can I use two seperate Hardrive SSD for Lion & another for Windows 7 for dual booting?
Anonymous
Yes it is possible
Gcop30
hi there, followed your video step by step, when i select usb drive in boot menu it just starts up windows as per normal… any ideas there? thanks in advance
http://www.ig33kstas.com/ TechXero
Means something went wrong somewhere !
Michaellive2012
hello all you can do a jump videotutorial how we can integrate drivers in Mac OS X installation kitu USB I
mean that is when you install the USB drivers have the possibility to install them.
http://www.ig33kstas.com/ TechXero
Soon
Live2012
anyone know how to prepare hackintosh drivers usb drive in it???? a vodeotutorial if possible would be great thx
Pingback: Install OS X Lion On Your Hackintosh PC With UniBeast All-In-One Bootable USB Drive [The Easy Way] | iG33kstas.com