Sunday, 18 January 2015

Before going to Install Mountain Lion in VMware you have to make OS X Mountain Lion 10.8 bootable .vmdk. Bootable .vmdk acts as a boot loader and also as an installation medium to install Mountain Lion. Those who are using Windows can convert it into Mac. In this article you will know how to make a bootable .vmdk. This is Part 1 before going to Install Mountain Lion in VMware where you create a bootable .vmdk. Once you have completed Part 1, and then go for the Part 2. You can also download pre-built bootable .vmdk however we recommend you to buy it for $20. It will take your a lot of time. So be patient.


Requirements For OS X 10.8 Mountain Lion

  • Mac OS X Mountain Lion 10.8 Installer
  • Intel Core Processor with minimum 4 GB RAM
  • Download FakeSMC.kext
  • Working copy of 10.6 or 10.7 virtual machine in VMware 8

Steps For OS X 10.8 Bootable .vmdk In VMware

  • First of all run VMware, steer to 10.6 or 10.7 VMware installation and pin 6 GB virtual hard disk as .vmdk file. Click on ‘Edit virtual machine setting’.
  • Navigate to Hardware > Add > Hard Disk > Create a new Virtual Disk > Next. Indicate disk capacity of 6 GB and check ‘Store virtual disk as a single file’.
  • Now write the disk file name where you want to store.
  • Open VMware machine and press initialize in the top of Window. Open ‘Disk Utility’, single click on VHDD, click on partition. Do as we say. Make 1 Partition in Volume Scheme. In Volume information, ‘Name’ MLI whatever you want. Select Mac OS X Extended in ‘Format’ and Apple Partition Map in ‘Options’. Click on ‘Apply’ and type password when asked.
  • Attach Mountain Lion Installation media .app/.dmg/.iso which you downloaded from Apple App Store to VMware virtual machine.
  • For .app: Right click on ‘Installer’ and then click ‘Show Package Contents’. Go to Contents > Shared Support and find ‘InstallESD.dmg’ named file.
  • For .dmg: Move this file to your 10.6 / 10.7 VMware installation and double click to mount.
  • For .iso: Burn .iso to a disk and mount the DVD in your physical drive connected with your VMware.
  • Mount the Base System Image from terminal by typing the following command.
cd /Volumes/Mac\ OS\ X\ Install\ ESD

open BaseSystem.dmg
  • Now go to Disk Utility and drag source and destination which you mounted. Also select erase destination and then click on ‘Restore’. It will take about 20 minutes to install and after installation there is ‘Mac OS X Base System’ drives on the Desktop.

  • Select your VHDD and rename it to ‘MLI’.
  • Open MLI and steer to System > Installation, remove ‘Packages’ and create a new ‘Packages’ folder.
  • Copy the Packages contents from ‘Original Mac OS X Install ESD’ and paste it into new ‘Packages’ folder.
  • Copy kernalcache from Lion Installer Image to your Installer Image aka MLI by giving following command.
cp /Volumes/Mac\ OS\ X\ Install\ ESD/kernelcache /Volumes/MLI/kernelcache
  • Now steer to MLI > Library > Preferences > SystemConfiguration. Open ‘com.apple.Boot.plist’ file with TextEdit.
  • Type the following string and save.
<key>Kernel Cache</key>

<string>\kernelcache</string>
  • Now install FakeSMC.kext and copy it to >> System >> Library >> Extensions
  • Server is needed in order to boot OS X Volume in VMware. Create the file to imitate server installation.
cd /Volumes/MLI/System/Library/CoreServices

sudo touch ServerVersion.plist
  • At last Bootable Mountain Lion Installer Image is ready for VMware boot. Remove VHDD from your virtual machine.
  • Find .vmdk file we have already created, so we can attach to another VM to boot and install Mountain Lion.
  • Now go for the Step 2 to Install OS X 10.8 Mountain Lion in VMware.

1 comments:

Post a Comment