Guide to Make OS X Mountain Lion bootable vmdk
Step by Step instructions to create OS X Mountain Lion 10.8 Bootable .vmdk to Install Mountain Lion in VMware, Windows host.
This article explains how to create a bootable OS X 10.8 mountain Lion .vmdk image for VMware Workstation 8 on Intel based Windows 7 computer. This article is first part of the series and we’ll teach you how to install OS X Mountain Lion on VMware in second part (check our step by step guide here).
- FakeSMC.kext (Download Here) (Mirror 1)
- Intel Core Processor based System with minimum 4 GB of RAM (for smooth operation).
- Working copy of 10.6 / 10.7 virtual machine in VMware 8.
- Mac OS X Mountain Lion 10.8 Installer.
- Patience and Time.
Q: Why I Need a bootable vmdk ?
Ans: We need to create a bootable installer image which can be used as a boot loader and installation medium to install OS X Mountain Lion in VMWARE.
Q: Requirements ?
Ans: We need a working Snow Leopard (10.6) [Instructions Here] or Lion (10.7) Virtual Machine in VMware. Latest version of VMware Workstation (ver. 8) [Download Here]. You can download a free trail, for initial setups. Afterwards you can use VMware Player to run the VM.
Q: Can I download pre-built bootable vmdk?
Ans: We don’t encourage you to download vmdk file from file sharing sites, though you can easily find it on Google (Mac OS X Mountain Lion bootable vmdk). Personally we prefer to buy (Mountain Lion @ $20) a copy from Apple and create our own vmdk.
Note : If you like our work, encourage us by sharing this post on Twitter, Facebook, Google + as much as you can.
Instructions to create Mac OS X Mountain Lion bootable vmdk :
Step One : Launch VMware, navigate to your 10.6 / 10.7 VMware installation and attach a new 6 GB (minimum) virtual hard disk (VMDK) file. I made a 8 GB partition on my installation.
- Click on edit virtual machine setting
- Hardware > Add > Hard Disk > Create a new Virtual Disk > Next
- Specify disk capacity 6 GB and Check (Store virtual disk as a single file)
- Write down disk file name, i.e. Mac OS X Server 10.6 (experimental)-2.vmdk [note disk name may vary]
Step Two : Power up your 10.6 / 10.7 VMware machine, and press Initialize in the pop-up window. Now open Disk Utility, select VHDD you created in previous step, click on partition tab and use following settings.
- Volume Scheme : 1 Partition
- Name : MLI (or whatever you want)
- Format : Mac OS X Extended
- Options : Apple Partition Map
- Now hit apply button and enter your password when asked.
Step Three : Now attach the Mountain Lion Installation media .app / .dmg / .iso you downloaded from Apple or file sharing sites to VMware virtual machine.
- If you have .app downloaded from Apple App Store >> Right-click on the installer and hit “Show Package Contents”. Navigate to Contents > SharedSupport and locate a disc image file called “InstallESD.dmg”
- If you have .dmg downloaded from file sharing sites >> Move it to your 10.6 / 10.7 VMware installation and double click to mount.
- If you have .iso downloaded from file sharing sites >> Burn the .iso to a disk and mount the DVD in your physical drive (make sure your drive is connected to VMware.) or mount .iso with demon tools virtual DVD drive.
Step Four : Now mount the base system image from terminal using the following command.
Step Five : Go to Disk Utilities and select the source and destination as shown below to start the restore – this will copy the entire base system to 5GB hard disk.
- Click on Restore, Drag the Mac OS X Base System.dmg found on your desktop to the Source Window.
- Drag your VHDD (renamed as MLI in step two ) to the Destination Window and Click Restore.
- It’ll give you a warning about Erasing it click on Erase. Check the following screenshot to understand this step better.
- Installation process will take 10-20 minutes, after installation you’ll end up with 2 “Mac OS X Base System” drives on your desktop.
- Figure out which one is your VHDD by Right-Click > Get Info and check the capacity as an indicator. Rename your VHDD back to MLI for further convenience.
Step Six : Copy the installation packages from Mac OS X Install ESD to MLI.
- Open MLI and navigate to System > installation and you’ll find a link to Packages remove it, and create a new folder called “Packages“.
- Go to the original Mac OS X Install ESD (you mounted in step three) and copy the contents of Packages to the folder you made in previous step.
Step Seven : Copy the kernelcache file to MLI and Modify the plist file to enable the kernelcahce
- Copy kernelcache from the Lion installer image to your installer image aka MLI with following command.
- Navigate to MLI > Library > Preferences > SystemConfiguration and open com.apple.Boot.plist file with TextEdit.
- Enter following string and save the file.
Step Eight : Install FakeSMC.kext
- Copy FakeSMC.kext to MLI >> System >> Library >> Extensions
Step Nine : Flag the system as a server installation.
- Again, in order to boot an OS X volume in VMware, it needs to be a server. The system checks for the existence of a file in a specific location; you can imitate a server installation simply by creating that file.
- That’s it, our bootable Mountain Lion installer image is ready and it can boot in VMware without any boot loaders. Shutdown the running 10.6 / 10.7 virtual machine and remove the VHDD from virtual machine.
- Now locate .vmdk file we created in Step One, so we can attach to another VM to boot and install Mountain Lion.
That’s it. Now continue to part two