Advertisement
Guest User

Untitled

a guest
Aug 16th, 2012
1,441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. INSTALL 10.8 ON ATOM
  2.  
  3. Requirements
  4. ------------
  5.  
  6. Here are the requirements:
  7. 1. A copy of Mac OS X - This can be in the form of an existing hackintosh, a virtual machine within Windows or Linux, or even a regular Mac. If you don’t have any of these things, then find someone who can help you out for a while. I prefer using a virtual machine (I prepared my USB drive with VMware Workstation under Windows 7). Using an already working copy of Mac OS X either in a VM or a native hackintosh install is HIGHLY recommended, and you’ll see why in part 6.
  8. 2. A 8GB USB flash drive (or larger) - We’ll be copying the files to the drive appropriately, so make sure that you have a flash drive with enough storage space (8GB or larger).
  9. 3. A copy of Mountain Lion 10.8 GM - If you don’t have a Mac Developer Account, then you’ll find torrents of 10.8 around the web.
  10. 4. 30-60 minutes of time - Depending on how tech-savvy you are, this may be quick, or it may take a while.
  11. 5. An SSD or HDD to install 10.8 to - For me, I used a 20GB partition on a 64GB SSD to install 10.8 to.
  12. 6. THIS file (download at : http://bit.ly/OZh98b)- This ZIP file contains everything that you need to get your flash drive properly prepared.
  13. Note: The file for number 6 contains the following:
  14. •FakeSMC.kext
  15. •NullCPUPowerManagement.kext
  16. •OSInstall
  17. •OSInstall.mpkg
  18. •Chameleon_2.1svn_r1820_trunk_10.8.pkg (I dind't use, Chameleon 2.1 r2034 by Enogh)
  19. The first 2 .kext files will fix most kernel panics that you might experience while booting. The 2 OSInstall files will allow you to install 10.8 onto an MBR-partitioned drive. OSInstall came from 10.7.3, and OSInstall.mpkg was modified by me to work properly. Lastly, the Chameleon package is the bootloader that we’ll be using, and has been specifically compiled for use with 10.8.
  20.  
  21. Part 1 – Preparing your SSD or HDD
  22. ----------------------------------
  23.  
  24. If you’re in Windows 7, you can easily make a new partition on an SSD or HDD via the Disk Management program.
  25. 1. Start>Run (or Windows key on your keyboard plus R).
  26. 2. diskmgmt.msc (press enter after typing that)
  27. 3. Find your drive, right-click on it, and go to Shrink Volume.
  28. 4. Wait for it to calculate the amount of space you can make your partition, and enter in your amount (for an exact GB amount, multiple your desired amount of GB times 1024, so a 20GB partition would be 20480MB).
  29. 5. Let it make your partition. It will show up as unallocated space.
  30. 6. Format the new unallocated space as NTFS and give it a label (mine was ML).
  31. 7. Done!
  32.  
  33. Part 2 – Formatting your USB drive
  34. ----------------------------------
  35.  
  36. Make sure to backup the files that are already on your USB flash drive via Disk Utility in Mac OS X:
  37. 1. Open up Disk Utility.
  38. 2. Click on your USB drive in the left sidebar.
  39. 3. Click on the Erase tab in the middle.
  40. 4. Choose “Mac OS X Extended (Journaled)” as the format, and give your drive a label (like “ML USB”).
  41. 5. Click on the Erase… button.
  42. 6. Done!
  43. 7. Leave Disk Utility open, as you’ll need it later.
  44.  
  45. Part 3 – Preparing your USB drive with 10.8
  46. -------------------------------------------
  47.  
  48. This part is the most time consuming. Using a USB 3.0 flash drive will help things out quite a bit.
  49. 1. Mount the DMG for Mountain Lion (will be called Mac OS X Install ESD on your desktop).
  50. 2. Show hidden files in Finder by running the following command in Terminal: defaults write com.apple.finder AppleShowAllFiles TRUE
  51. 3. Reload Finder by running the following command in Terminal: killall Finder
  52. 4. Run the following command in Terminal to mount “BaseSystem.dmg” within the 10.8 DMG: open /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg
  53. 5. Switch back to Disk Utility.
  54. 6. Click on your flash drive in the left sidebar.
  55. 7. Click on the Restore button in the middle area.
  56. 8. For the source, drag “Mac OS X Base System” from your desktop into the empty Source box.
  57. 9. For the destination, drag your USB drive from your desktop into the empty Destination box.
  58. 10. Make sure that “Erase destination” is checked.
  59. 11. Click on “Restore”. This process will take anywhere from 5 to 10 minutes depending on the speed of your flash drive.
  60. 12. When it’s finished, you’ll end up with 2 “Mac OS X Base System” drives on your desktop. Figure out which one is your USB copy (you can right-click > Get Info and use the capacity as an indicator), and open it up.
  61. 13. Once you’ve opened up Mac OS X Base System (the one that’s your flash drive), go to /System/Installation.
  62. 14. You’ll see a symlink for Packages. Remove it.
  63. 15. Create a folder called Packages.
  64. 16. Open up a window of the original Mac OS X Install ESD drive and copy everything within Packages to the empty Packages folder on your USB drive.
  65. 17. Done! 10.8 is now installed onto your USB drive. Now, we need to modify some of the files on it so that it will properly bootup on a PC.
  66.  
  67. Part 4 – Adding the fixed 10.8 files to the USB drive
  68. -----------------------------------------------------
  69.  
  70. Now, we need to modify some of the files on your USB drive so that it will properly bootup on your PC.
  71. 1. Extract the contents of “ML_GM_OSx86_Files.zip” to your Mac OS X desktop.
  72. 2. Copy the 2 .kext files to /System/Library/Extensions on your flash drive.
  73. 3. Copy the OSInstall file to /System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/, overwriting the file that’s already there.
  74. 4. Copy the OSInstall.mpkg file to /System/Installation/Packages/, overwriting the file that’s already there.
  75. 5. Run the Chameleon installation package. Make sure to install this package to your flash drive, and customize the installation so that you have an SMBIOS that best relates to the CPU that’s on your computer (leave the default options checked; just check your SMBIOS).
  76. 6. Copy mach_kernel from the root of the Mac OS X Install ESD volume and paste it into the root of your flash drive.
  77. 7. Lastly, copy the Chameleon installation package to the root of your flash drive. You’ll need this in part 8.
  78. 8. Done!
  79.  
  80. AT THIS POINT, I DID TWO SPECIAL TWEAK ON THE USB STICK:
  81.  
  82. 1. Added my extensions (.kext for sound, ethernet and video
  83. 2. Modified some files with this MountainLionHack, download at http://www.mediafire.com/?2ilq9r9yesd79iq
  84. and follow those instructions to install;
  85. The folder containts 2 folder, which is CoreServices and i386, and a file called OSInstall.mpkg Open up the 8GB thumb drive, navigate to /System/Library and MERGE the patched CoreServices folder in, when it ask about files replacement, click replace. Next, on the same 8GB drive, navigate to /usr/standalone and MERGE the patched i386 folder in. Replace files when asked. Then, go to /System/Installation/Packages and replace OSInstall.mpkg with the newly downloaded one.
  86.  
  87. ** I'M NOT CONVINCE IF THOSE MADE THE DIFFERENCE, MAYBE, I'LL SEE ON SECOND ATTEMP **
  88.  
  89. 3. Install this mach_kernel_atom, download at http://www.osx86.net/view/3010-mach_kernel_atom.html
  90.  
  91. Part 5 – Installing 10.8 from your USB drive
  92. --------------------------------------------
  93.  
  94. We’ll now boot from your USB drive and install 10.8 onto the partition that you made in part 1.
  95. 1. Boot from your USB drive.
  96. 2. Once in Chameleon, highlight your flash drive and add -v to the end, then push enter. You’ll see a lot of text fly by.
  97. 3. Once you get into the installer (assuming your computer didn’t freeze, restart itself, or get a kernel panic, in which case you’ll take a picture of the lines on your screenshot and leave it in the comments below), choose your partition to install 10.8 to.
  98. 4. The installation process will take about 5 to 15 minutes, depending on the speed of both your USB drive and your SSD or HDD.
  99. 5. When finished, boot back into your already working copy of Mac OS X.
  100.  
  101. Part 6 – Preparing the installed copy of 10.8
  102. ---------------------------------------------
  103.  
  104. Now, we’ll have to add a couple of files to your fresh install of 10.8. You can use some Terminal commands to copy the files over, which I’ll cover now.
  105. 1. Boot from your USB installation drive.
  106. 2. In the Utilities menu, go to Terminal.
  107. 3. Run the following command: cp -R /System/Library/Extensions/NullCPUPowerManagement.kext /Volumes/NAME_OF_10.8_INSTALLATION_DRIVE/System/Library/Extensions/
  108. 4. Run the following command: cp -R /System/Library/Extensions/FakeSMC.kext /Volumes/NAME_OF_10.8_INSTALLATION_DRIVE/System/Library/Extensions/
  109. 5. Run the following command: reboot
  110. 6. You should now be able to boot back into your install copy of 10.8. Now, install Chameleon as in part 4. As the destination drive, choose your 10.8 installation drive.
  111. 7. Done!
  112.  
  113. Part 7 – Booting 10.8!
  114. ----------------------
  115.  
  116. Now that everything is finally prepared, you can go ahead and boot into Mountain Lion.
  117. 1. Boot from your USB drive again.
  118. 2. Once in Chameleon, highlight your partition that has 10.8 installed. Add -v to it and push enter. You’ll see a lot of text fly by.
  119. 3. You’ll eventually get to the setup screens for 10.8. Go through that process to setup 10.8.
  120. 4. Done!
  121.  
  122. Finished!
  123.  
  124. Credit to hackerwayne from http://forums.macrumors.com/showthread.php?t=1325709
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement