25 January, 2015

OS X Yosemite on VMware

After some digging around I've finally managed to gather together the necessary information that I needed to create a VMware image with OS X Yosemite, so I didn't need to switch between my Windows PC and Macbook Pro for small compiling tasks on the Macbook. So rather than scrambling all over to find all the information, I've gathered it in this single blog post. More or less all of the information I gathered, is from InsanelyMac. Read on for the details...

On Mac OS X:
  1. Download the OS X Yosemite from the App Store - DO NOT INSTALL IT.
  2. Download the CYI.tool.txt (CreateYosemiteInstaller) script:
    Google Drive
    Original Source (requires login - free)
  3. The following assumes that "Install OS X Yosemite.app" and "CYI.tool.txt" files are at their standard locations, that is in the /Applications/Install\ OS\ X\ Yosemite.app the logged in users Downloads folder. From a console run the following commands:
    mv ~/Downloads/CYI.tool.txt ~/Downloads/CreateYosemiteInstaller.tool
    chmod +x ~/Downloads/CreateYosemiteInstaller.tool
    ~/Downloads/CreateYosemiteInstaller.tool /Applications/Install\ OS\ X\ Yosemite.app ~/Downloads/Yosemite.dmg
  4. Copy the Yosemite.dmg file to the Windows PC where you're going to install VMware Workstation 11 or VMware Player 7
On Windows:
  1. Download and install VMware Workstation 11 (trial) or VMware Player 7:
    VMware Workstation
    VMware Player
  2. Download and install the Mac OS X Unlocker for VMware V2:
    Google Drive
    Original Source (requires login - free)
  3. Unpack the Mac OS X Unlocker downloaded in the previous step and run the win-install.cmd as administrator.
  4. In VMware create a new virtual machine, install OS later. It should have at least 2 CPU's and at least 2 GB RAM. Remember to enable Virtualize Intel VT-x/EPT or AMD-V/RVI for the Processors. Don't start the virtual machine just yet.
  5. Close VMware and go to the folder containing the newly created OS X virtual machine files. Open the .vmx file and add the following line:
    smc.version = "0"
  6. Start VMware and mount the Yosemite.dmg in the virtual DVD-drive for the virtuel machine. You might have to show all files instead of just .iso files in the filetype dropdown.
  7. Start the OS X virtual machine and install normally.
  8. When installation is down, install the VMware tools which should be included in the Mac OS X Unlocker tools (darwin.iso in the version I had).
Note: You might need to disable the sound card on the OS X virtual machine, otherwise it might hang at the login screen.

No comments:

Post a Comment