How to Install OS X Lion on Mac OS X OSx86

1

Its now that you can think of to&#one hundred sixty;Set up Mac OS X 10.7 Lion for your PC&#a hundred and sixty;with the usual Hackintosh tactics.

Word: Hackintosh PCs are for nerds who want to have them with effort, if you’re lazy, you can also cease now.&#a hundred and sixty;This Hackintosh is in response to the developer unencumber of Mac OS X Lion launched to Apple’s builders.


Mac-OS-X-Lion

Minimum Requirements:

  • Intel Core 2 Duo or better i.e. Core i3, i5, i7. (no Core Duo or AMD right now).
  • 2GB RAM (4GB recommended)
  • A Nvidia or ATi radeon graphics card. (On Intels get ready to go glitchy)

Pre-Requisites:

  • Mac OS X Lion .dmg image (Search on torrents or ask your Apple developer program friends)
  • Existing Hackintosh PC – Can be a Snow Leopard or Leopard form any of our existing guides. OR ask any of your friends to lend you a Mac for preparing USB.
  • EFI Boot Loader – iBoot Download (Let me know @taranfx on twitter if link goes down)
  • 2 USB thumb drives, one  atleast 8gb in size.

How to Install Mac OS X 10.7 Lion on PC/Laptop

Step 1. Boot into existing Mac OS X installation (Leopard or Snow Leopard). This can be your friend’s Mac, it doesn’t matter.

Step 2. Double click Mac OS X Lion.dmg to mount it.

Step 3. In the Terminal, Type the following:

open /Volumes/Mac OS X Install ESD/BaseSystem.dmg

Step 4. Plug your 8gb USB drive and Open Disk Utility.

Step 5. Format the USB drive as “Mac OS Extended (Journaled)”.

Step 6. Navigate to Finder and locate the restored drive and goto folder System > Installation and there you will see “Packages”. Remove it. Create a new Empty folder called “Packages”.

Step 7. In Terminal, type:

open /Volumes/Mac OS X Install ESD/Packages

copy the contents to System > Installation > Packages (empty folder).

Step 8. Locate your “FakeSMC.kext” (typically in Extra > Extensions) and copy it to USB’s  “System > Library > Extensions”.

Step 9. In Terminal navigate to “Extensions” (you can do this quickly by typing “cd ” and then dragging & dropping “Extensions” to Terminal) and fix permissions using:

sudo su

[your password here]

chown -R 0:0 FaksSMC.kext

chmod -R 755 FakeSMC.kext

That should be all for the USB. It now has all the basic stuff for kicking the installation. We’ll add few more things to the USB to make it bootable and compatible with hackintosh hardware.

Phase 2. Installing iBOOT

Option I: If you have Windows Installation on same PC

Step 1. Boot into your Windows installation (on same PC where you wish to install the Mac OS Lion) and extract the iBOOT, run the installation from iBOOT_SetupToolBeta.2.exe

Step 2. Plug in your second USB drive and format (FAT preferred). Replug the usb drive and click “Prepare iBOOT” inside the iBOOT app.

At this time you can add DSDT (place it in the DSDT folder in your iBOOT USB stick, i.e. “iBOOT USB Stick > efi > dsdt”) or EFI drivers, if your hardware needs any. Checkout OSx86 wiki or insanelymac forums if you are not very sure. Option 2: No Windows. Use Mac instead

Step 1. Navigate to folder iBOOT > DuetToHDD. Drag and drop this file to Terminal, press space bar and type “write /dev/rdiskXsY”

Where X = your second USB’s Drive number and Y is Partition number. Y should be 0 for most cases ,since its single partition.

Step 2. Press space bar again and drag the file “Efildr20″ into terminal and hit Enter.

That’s it Both your USBs are ready to get into Action.

Phase III: Installation of Mac OS X Lion

If you’ve made it well so far, you shouldn’t face much problems, provided your hardware is compatible.

Step 1. Go to BIOS settings of your PC, enable USB booting and give USB the highest priority for booting.

Step 2. Plugin both of your USB drives (iBOOT USB & installation USB) and switch ON your PC. You should see a GUI interface in few moments. In some cases you might even see a white line for couple of seconds.

  Iboot_thumb

Step 3. If you see GUI interface, Press “U” to increase resolution. (alternatively “D” to decrease). Do so until you see the available USB drives. If you still don’t Press “V” to probe the USB volumes.

Step 4. Lets now set Boot flags by pressing “M” followed by boot flags i.e. “-v” to enable verbose mode. You can also use other flags that you know of from previous hackintosh guides like arch=i386, arch=x86_64, cpus=1 etc.

Step 5. Select your Installation USB which might be shown as “Mac OS X Base System”.

Troubleshooting Tip: If somehow you don’t get this visual, you have either done a blunder during preparation of Installation USB or you are missing an important flag for your hardware.

Step 6. Soon you would enter the installation where you can select your Language and continue with standard Mac OS X install.  Basically, what you have to do is format the hard drive you want to install OSX Lion to (go to Utilities -> Disk Utility, then click on the drive, select 1 Partition, Mac OS X Journaled, give it a name, and make sure GUID Partition Table is set in the Options. After you Apply the new partition, go back to the installer and install like normal to that drive. You may want to customize the install to remove unnecessary stuff like printers, etc.

Phase IV: Finalizing and Fixing stuff

Bear it with us, we are almost done. This is the last part that would ensure that you can boot into Mac OS X Lion without trouble, everytime!

Step 1. Once your Installation completes, Boot into iBoot again and Load “MAc OS X Base System” from USB. When installation screen appears, Goto “Utilities > Terminal” and type in:

cd /Volumes/Lion/System/Library/CoreServices/
rm -rf PlatformSupport.plist
cd /Volumes/Mac OS X Base System/System/Library/Extensions/
cp -R FakeSMC.kext /Volumes/Lion/System/Library/Extensions/
chown -R 0:0 /Volumes/Lion/System/Library/Extensions/FakeSMC.kext
chmod -R 755 /Volumes/Lion/System/Library/Extensions/FakeSMC.kext
exit

Where “Lion” is the name of the partition on which OSX Lion was installed.

Step 2. Reboot and load iBOOT again, this time select your “Lion” Partition where you installed it, instead of USB.

Step 3. All should go well and you should see a welcome Video. Congratulations, You now have Mac OS X Lion installed on your PC.

  Apple_mac-os-x-lion1.1

Section V: Submit-Set up Driver (Hardware) guidelines

Likelihood is most of your hardware like Photographs card, sound card, community card don’t work but. Lets restore them one at a time.

1. Add KEXTs to iBOOT

That you may customise iBOOT to put in kexts from “Additional > Extensions” from any of your earlier hackintosh machines into “Gadget > Library > Extensions”. If its your first time, you’ll have to checkout OSx86 wiki to peer what kexts do you wish to make your hardware work.

2. Necessities:

We’re list one of the crucial will need to have KEXTs:

  • FakeSMC.kext – We’ve already put in it. Very important for Machine Administration controller emulation
  • ElliotForceLegacyRTC.kext – Prevents the CMOS Reset encountered on some motherboards.
  • NullCPUManagement.kext – Disables AppleIntelCPUManagement.kext which can lead to Kernel Panics with incompatible DSDT.

Non-compulsory&#one hundred sixty; KEXTs:

  • EvOreboot.kext – Makes your hardware suitable for Shutdown and Restart (sure, Actually!) with out in truth wanting a DSDT.
  • IOAHCIStorageBlockInjector.kext – Makes exterior drives behave as interior.
  • NVEnabler sixty four.kext (NVidia GeForce 9500GT)
  • VoodooHDA.kext 2.7.1 (2.7.2 doesn’t work, ALC888b)
  • RealtekR1000SL.kext (Realtek 8111)

three. Making Photos Card Work with Lion

Many of the Up to date ATi, Nvidia Photographs card would figure out of the field in view that Apple helps them in macbooks. If on a Nvidia images card, you aren’t ready to get the most fulfilling decision, are trying the usage of Fermi drivers NVDAResman.kext and NVDAFG100hal.kext from NVIDIA drivers into /Device/Library/Extensions/ of Lion, and do away with GeForce.kext.

I’ve finished QE/CI out of the field with my ATi Radeon card (Laptop), and with some extra work on Nvidia GT 230m (pc), however mileage may just fluctuate. I`ll replace extra about QE/CI strengthen as quickly as I get handson totally different machines.

Follow us on Twitter, subscribe to our Facebook Page, find us on LinkedIn, circle us on Google+