Running Mac OS X on Windows VMware Workstation

Posted in HCIDKIDTOS XTipsVirtualizationVMware

DISCLAIMER: This post doesn’t express any warranties. It is provided as-is and you are proceeding at your own risk taking into consideration all license and legal ramifications. This post is meant to show you what is possible to do, not whether or not it is legal or allowed to be done.

Sometimes you just need the ability to test an Operating System.  For these purposes this blog post will show you how to run Mac OS X 10.8 in VMware Workstation for the purpose of testing Mac management with System Center 2012 Configuration Manager.  As a consultant,, I travel constantly, I can’t exactly carry around a Mac mini in my laptop bag, well I probably could but I have no desire to.  I already ditched my heavy laptop for an Ultrabook, rather than my previous Lenovo W520 that had a power supply I could crush most small rodents with.

There are numerous posts with various bits of information, but didn’t see one comprehensive guide. I’ve also seen pre-created VM’s that you can download and import into VMware Workstation, but I prefer to have my own clean VM that I built and don’t need to worry about where it came from. Call me crazy..

Files you will need:

Step 1: Install VMware Workstation on your machine.

Note that you cannot have Hyper-V and VMware Workstation installed on the same box :)

Step 2: Run VMware Unlocker 1.1.0.

1) Extract out VMware Unlocker.

2) Run the install.bat that is in the \windows folder. This will configure VMware Workstation to support Mac OS X.

3) You should now see Apple Mac OS X listed in the New Virtual Machine Wizard.

SNAGHTML4d601de

4) Create a new Virtual Machine for Mac OS X 10.8, Mac OS X will need a minimum of 2GB of RAM.

Step 3: Use 7Zip or a similar program to extract out the InstallESD.dmg from the Mac OS X 10.8 installation DVD.

Step 4: Using the dmg2img program, create a ISO of the Mac OS X install.

Example command line:

dmg2im -I "path\installesd.dmg" -o "path\macosxsetup.iso"

SNAGHTML43da606

MacOSXSetup.iso successfully created.

SNAGHTML4408f82

Step 5: Extract out the com.vmware.fusion.tools.darwin.zip to get the darwin.iso from under \payload.

image

Step 6: Mount the newly created MacOSXSetup.iso with the VMware Workstation VM.

SNAGHTML4455705

Step 7: Start the VM and launch the Mac OS X Setup from the ISO we created.

image

1) Select the Disk Utility so we can format the drive before installing the OS

image

2) Select the disk and then select Erase, the format should be Mac OS Extended Journaled.

image

3) Select Erase on the prompt.

image

4) Close the Disk Utility and Select Reinstall OS X.

image

5) Select Continue.

image

6) Select Agree.

image

7) Select the disk and then Install.

image

8) Installation will start.

image

All installed!

image

9) You’ll have to continue through some additional setup and personalization and create your account.

image

Finally done and we can see our desktop!

image

Step 8: Install VMware tools.

1) Mount the darwin.iso to the VM, a restart might be required to get it to properly show up in the VM.

2) In order to see the icons on the desktop, go into Finder Preferences, and check the Hard Disks, External Disks, CD/DVD, and Connected Servers boxes.

image

3) You should now be able to see the VMWare tools DVD.

image

4) Double-click the VMware Tools DVD.  Double-Click Install VMware Tools.

image

5) Click Continue.

image

6) Click Continue.

7) Click Install.

8) Enter your password to install the software.

image

9) Select Continue Installation.

10) Restart upon completion.

image

After the reboot, you should see functional VMware tools. The window should resize etc. per standard VMware tools.

Step 9: Take a Snapshot!

It’s a good idea to have a clean slate to revert to if needed.

Step 10: Enjoy!

email

Written by , Posted .
  • TDA

    I have problem with USB :S
    Since my pc is only USB3.0 i cannot even try another port :S

  • YO

    It worked for me thank you

  • Talleyrand

    you just saved me! thank you so much