You are on page 1of 10

STEP 1 Creating USB/SD Mountain Lion Installation Drive

For this part, you need to force Finder to show all hidden files (link). 1. 2. 3. 4. 5. Right Click Install OS X Mountain Lion -> Show Package Contents. Contents -> Shared Support -> InstallESD.dmg. Open InstallESD.dmg (this will popup the Mac OS X Install ESD volume). In Mac OS X Install ESD volume open BaseSystem.dmg (this will popup the Mac OS X Base System volume). Open the Disk Utility application.

Now we will create our USB/SD Mountain Lion installation DVD volume. 1. 2. 3. 4. 5. 6. 7. Partition your USB/SD device to match two partition, GUID Partition Scheme, both must be Mac OS Extended (Journaled). The first partition must be around 500MB, and the second one the remaining free space. Call the first partition CHAMELEON (500MB), and the second one INSTALLDVD (more than 6GB). Restore Mac OS X Base System volume (source) to INSTALLDVD (desination). Once done, your INSTALLDVD partition should now popup with the name Mac OS X Base System. Replace Mac OS X Base System/System/Installation/Packages (must be removed) by Mac OS X Install ESD/Packages (copy/paste)* Mac OS X Base System is now your installation DVD volume.

* A more detailed and illustrated guide about this process can be found on this link. At the end, this is how your USB/SD drive should look like:

Now we must create the bootloader. 1. 2. 3. Download Chameleon 2.1 r2050 (from source or package). Install Chameleon on your CHAMELEON volume (default install, no extra options checked). Open CHAMELEON, unzip and copy the following Extra folder into it:

ExtraThi_v1.1_10.8.zip
ExtraThi_v1.1_10.8.zip Version: 1.1_10.8

Author: Date:
54.9 MB 188 Downloads Details...

Thireus August 19, 2012

In this Extra folder you will find:

DSDT.aml/dsl files are specific to ASUS Sabertooth P67 AND Intel Core i7-2600k! If you have a different configuration you can create and patch your own DSDT, or you can find prepatched DSDT on this database.

SSDT patches for CPU Speedstep have been directly integrated to DSDT (ASUS motherboards does not deal with SSDT for that). If you have a different configuration other than ASUS Sabertooth P67 AND Intel Core i7-2600k, YOU MUST follow these instructions to create your own SSDT or find some help in this forum. If you do not create any SSDT file or patch your DSDT file (for your custom configuration) you will be stuck at some CPU speed (16x for example). Preboot.dmg contains all generic kexts you need to boot, including patched AppleIntelCPUPowerManagement.kext. It also contains the Darwin kernel (12.0.0) for MacOS X 10.8. This Preboot.dmg image should be generic but is dependent of the OS X version. Other files are generic and related to Chameleon configuration.
Once done, eject your drive and boot your computer with it. Chameleon should display a list of bootable drives, you must select Mac OS X Base System.

STEP 2 Install MacOS X Mountain Lion 10.8


Boot your Mac OS X Base System drive (which is Mountain Lion Installation DVD) in verbose mode (-v). Now comes the hard part . If you are lucky enough and if you use the same configuration as me,

Mountain Lion Installation DVD will load without any issues. If not, issues can be related to the ones listed in the HackinTosh common issues Warning! section of this GUIDE. Most issues can be related to your Graphic Card and can be solved with some tricks like GraphicsEnabler=Yes/No. For this reason, I will not list here all issues and solutions, it really depends of your Graphic Card model. By the way, if you plan to buy a new Graphic Card, I recommend you to have a look at this list and buy a Working Out Of the Box Graphic Card. Some people are facing an issue with ATI/AMD Graphics Cards, when the Installation DVD is loaded they see a blank screen and their mouse but nothing else. To fix this issue you have two solutions. 1. You can press the power button to make your computer sleep, and then press the power button again to wake it. Once awoken you should see the normal Installation screen and no more blank screen. This works only if you have sleep/wake working. It was working for me with my ATI Radeon HD6870 Toxic. According to this topic, you can delete/backup ATI6000controller.kext which is located in your Mac OS X Base System/System/Library/Extensions folder. This step is only for the installation process. Once on Mountain Lion you must put this file back in your /System/Library/Extensions folder.

2.

In case everything works well, you must be able to install Mountain Lion.

RAID0 (optional part)


Those who dont want to use RAID0 might find this tip useful too, because this tip provide an easy way to backup the Extensions.mkext file to prevent any stuck OS. For example, if you install a bad kext in your /System/Library/Extensions folder that crashes your OS on the next boot, you can easily rollback to one of your previous Extensions.mkext files which does not contain this bad kext If you want to install Mountain Lion on a RAID0 software partition youll also be interested to read my old post regarding RAID 0 Apple Software + x86_64 kernel + GUID + Dual Boot Seven. Note that if you are planing to install your OS on a RAID0 partition it is way better to have an external chameleon

bootloader (located on another drive), because you will face a big issue regarding kexts. Chameleon will not be able to access your RAID0 drive to load Extensions.mkext nor extensions located in the /System/Library/Extensions folder (in case you try to boot without cache -f). For this reason, you need to create the Extensions.mkext cache file in your Chameleon Extra folder BEFORE you try to boot Mountain Lion and AFTER any changes in your /System/Library/Extensions folder. YOU SHOULD FIRST DELETE AppleIntelCPUPowerManagement.kext from your /System/Library/Extensions folder! Use the following commands everytime you update your OS or update your Extensions folder:

mv /Volume/CHAMELEON/Extra/Extensions.mkext /Volume/CHAMELEON/Extra/Extensions.mkext.bak cd /Volume/CHAMELEON/Extra/ sudo kextcache -v -l -m Extensions.mkext /System/Library/Extensions


If you have multiple Extensions folders:

mv /Volume/CHAMELEON/Extra/Extensions.mkext /Volume/CHAMELEON/Extra/Extensions.mkext.bak cd /Volume/CHAMELEON/Extra/ sudo kextcache -v -l -m Extensions.mkext /Extra/Extensions ... /System/Library/Extensions ... /AndAnyOtherFolderContainingkexts

STEP 3 Boot Mountain Lion 10.8 and install additional kexts


Use your Chameleon USB/SD drive to boot Mountain Lion. When the list of bootable OS popup you just have to choose the name of the OS X partition where you have installed Mountain Lion. Once done Welcome in Mountain Lion YOU SHOULD FIRST DELETE AppleIntelCPUPowerManagement.kext from your /System/Library/Extensions folder! DELETE THIS KEXT AFTER ANY UPDATE OF MOUNTAIN LION, BEFORE REBOOT! You might want to do is install Chameleon Bootloader to get rid of your USB/SD bootable device. Follow once again the steps to install Chameleon with Extra folder, but this time either select your Mountain Lion partition or another bootable device (if you have installed OSX on a Raid0 partition I recommend you the second option). Then in your BIOS, change settings to boot on the drive where you have installed Chameleon! About additional kexts Audio, USB 3.0 and Ethernet drivers can be found in MultiBeast Mountain Lion 5.0.2. The reason why I prefer not to use such tools for a fresh install is because most of the time we dont know what exactly these applications install. So I prefer creating my own bootloader with my own kexts, which is better in case you need to debug your bootloader.

Audio* - If you use my DSDT you must select ALC892 from the Drivers & Bootloaders -> Audio -> Realtek ALC8xx -> With DSDT section. Otherwise, you must select the audio driver for your own configuration in case Audio does not work out of the box. USB 3.0* - Install USB 3.0 Third Party from the Drivers & Bootloaders -> Miscellaneous section. Ethernet* Install hnaks AppleIntelE1000e Ethernet (from MultiBeast Mountain Lion 5.0.2) or AppleIntelE1000e.kext (I prefer using the second method).
* Note that these drivers depend of your motherboard!

Hopefully my NVIDIA GTX 480 and AMD HD6870 Graphics Cards were working out of the box on Mountain Lion. OpenCL, OpenGL and Quartz Extreme are working without any patch . In case you need to patch OpenCL youll find more

information on this topic. The only issue I faced on Mountain Lion was bad GPU power management of my NVIDIA GTX 480. To fix this issue you need to patch the Infos.plist file contained in the

AppleGraphicsPowerManagement.kext folder.
Here are the lines you need to add, right after <key>iMac12,2</key>. This patch only works for iMac12,2 model and NVIDIA GTX 480!

<dict> 1 <key>Vendor10deDevice06c0</key> 2 <dict> 3 <key>BoostPState</key> <array> 4 <integer>0</integer> 5 <integer>1</integer> 6 <integer>2</integer> 7 <integer>3</integer> </array> 8 <key>BoostTime</key> 9 <array> 10 <integer>3</integer> 11 <integer>3</integer> 12 <integer>3</integer> <integer>3</integer> 13 </array> 14 <key>Heuristic</key> 15 <dict>

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49

<key>ID</key> <integer>0</integer> <key>IdleInterval</key> <integer>250</integer> <key>SensorOption</key> <integer>1</integer> <key>SensorSampleRate</key> <integer>4</integer> <key>TargetCount</key> <integer>5</integer> <key>Threshold_High</key> <array> <integer>47</integer> <integer>75</integer> <integer>93</integer> <integer>100</integer> </array> <key>Threshold_Low</key> <array> <integer>0</integer> <integer>72</integer> <integer>90</integer> <integer>99</integer> </array> </dict> <key>control-id</key> <integer>17</integer> <key>LogControl</key> <integer>0</integer> </dict>

If you still need the full kext, here it is:

AGPM.kext GTX480 iMac12,2 10.8


AppleGraphicsPowerManagement.kext(2).zip Version: 1.0

Author: Date:
44.4 KB 26 Downloads Details...

Thireus August 19, 2012

Final thoughts

Im writing these last lines from my new Mountain Lion OS free to thank anyone who helped you

. I hope you enjoyed this tutorial. Feel in this painful task.

Never forget that this hard work was made during spare time and if you need help youd better ask on hackintosh forums, such as tonymacx86 or InsanelyMac. And as always, feel free to share the knowledge my friends!

OSX Updates:

10.8.1 UPDATE PROCEDURE [ GOOD ] - Update, reboot, enjoy!


1. 2. 3. Eitheir update from App Store or direct link. Use the following updated ExtraThi_v1.1 to boot Mountain Lion, it contains the new OS X Darwin kernel (12.1.0 for MacOS 10.8.1) included in Preboot.dmg. (Optional) Users who have installed Chameleon 2.1 r2048 (previous version of this GUIDE) can upgrade their CHAMELEON bootloader with Chameleon 2.1 r2050 (from source or package).

ExtraThi_v1.1_10.8.1.zip
ExtraThi_v1.1_10.8.1.zip Version: 1.1_10.8.1

Author: Date:
50.1 MB 75 Downloads Details...

Thireus August 23, 2012

RAID0 users: After each update do not forget to rebuild your Extensions.mkext!

Related content:
1. 2. 3. 4. 5. Unigine Heaven 3.0 for MacOS X 3D Benchmark your HackinTosh! RAID 0 Apple Software + x86_64 kernel + GUID + Dual Boot Seven BackTrack 5 R2 VirtualBox Guest Additions + USB Issues Fixes Cracking Story How I Cracked Over 122 Million SHA1 and MD5 Hashed Passwords John the Ripped Steak and French Fries With Salt and Pepper Sauce for Hungry Password Crackers

You might also like