Thursday 14 February 2013

Mac OSX 10.8 Mountain Lion on VMWare (Linux)

First we need to install VMWare Player for Linux.


Download file "VMware-Player-5.0.1-894247.x86_64.bundle" here
Now access terminal (ctrl+alt+t) and type:


sudo apt-get install build-essential linux-headers-`uname -r`

This command installs the required dependencies for VMWare.
(Enter your password when prompted)
Navigate to the folder where you have stored the "
VMware-Player-5.0.1-894247.x86_64.bundle" file. ie. Desktop\VMWare\Install


Now enter the following commands into terminal:


chmod +x VMware-Player-5.0.1-894247.x86_64.bundle
sudo ./VMware-Player-5.0.1-894247.x86_64.bundle


Note: The chmod +x command grants root (admin access to the file).
Sudo is equivalent to run as administrator.

Now you should get a standard install window and you just need to follow the prompts.
Next download the file "vmwarepatch901.tar.gz" here

You must use the patch otherwise you will get: 
Virtual Network Device error: "Unable to start services. See log file /tmp/vmware-root/mdconfig-23331.log for details".
Do not try and load VMWare Player yet.

Extract the file "vmwarepatch901.tar.gz" to your "home" folder.  
Once completed your home folder should contain the 2 files "patch-modules_3.2.0.sh" and "vmware3.2.0.patch.
In terminal type the following commands:

cd
sudo ~/patch-modules_3.2.0.sh

The patch should now install (ignore any fails).
Exit terminal.


You can now delete the 2 files from your home directory as you are finished with those.


Test VMWare player and make sure it works.

Job Done!!


Now we have VMWare Player installed and modified, we can concentrate on getting MAC OSX 10.8 running on our Linux system.


Download the file: "tools901.tar.gz" here
Extract the file ie. Desktop\tools\ and then you should have the following:
"darwin.iso" "darwin.iso.sig" "install.sh" "uninstall.sh" "Unlocker.Linux32" and "Unlocker.Linux64"
Open teminal (Ctrl+Alt+T)
Navigate the folder where you extracted "tools901.tar.gz"
Use "chmod +x" command on all of the files (UnLocker.Linux32 not required for 64-Bit installation).
Now use the command:


sudo sh install.sh


This should unlock the Mac OSX features in VMWare and also copy the files "darwin.iso" and "darwin.iso.sig" to the directory /usr/lib/vmware/isoimages/ where they are needed later.
Exit terminal.


Now for the exciting part....


Load VMWare Player.
Select "Open a Virtual Machine"
Navigate to the location of your MAC OSX Mountain Lion VMWare Image and click "Open"
Go to "Edit virtual machine settings"
Setting amount of RAM (I recommend at least 2gb) (I use 4096mb) and hit "Save"
Go back to "Edit virtual machine settings"
Under "Processors" select the amount of cores you wish to assign to Virtual Machine (2+ is best)
I tend to leave Virtualization settings to "Automatic" (You must have Hardware Virtualization enabled in your bios to do this).


If you do not have Hardware Virtualization available then there is a software patch for this which I will go into at some other point but that does affect hardware performance.
Most modern processors i3/i5/17 etc support this.


Once you have selected settings hit "Save" again and it's time to test. Woohooo!


When prompted "This virtual machine might have been moved or copied" select "I copied it"


Now we need to install the drivers for your "Mac".


Shut down the Mac Virtual Machine and once VMWare has closed, restart it and select "Edit virtual machine settings" on your OS X 10.8 Mountain Lion image.
Go to CD/DVD (IDE) and select "Use ISO Image"
Browse to the "tools" folder you created earlier, find darwin.iso and select "Open"
Hit "Save" and then "Play virtual machine"


Once Mac has booted open "Finder" and under "Devices" select "VMWare Tools" and Double-Click "Install VMWare Tools".
Follow the On-Screen prompts.
You will get a message saying "The Installation Failed" ignore this (it worked) just click "Close" and  restart the "Mac".
You should now have the drivers installed and be able to increase the display resolution etc.


Next time you reboot go back into "Edit virtual machine settings" and change "Use ISO image" to "Use a physical drive" so that you are able to run discs as normal. "Save" and "Play virtual machine" again.


Note: When you boot your virtual machine you may get a message stating that vmware needs to create folder ~/.vmware to save preferences, here is the fix:


Open terminal (Ctrl+Alt+T) and type:


sudo chown -R user:root ~/.vmware


Please substitute "user" for your own username.
This will change the permissions and allow VMWare to access the folder.

Please comment if you found this guide helpful, I will be making a video once I get my YouTube channel all up and running.
I will tidy the guide up over the next few days as I am sure the grammar is all over the place, but just wanted to get it out of my head and onto the web!


Keep Rockin'
RetroFatty.


Other things worth mentioning:
To uninstall VMWare open Terminal (Ctrl+Alt+T) and type:

sudo vmware-installer -l

This gives you a list of the VMWare products currently installed.
Next type:

sudo vmware-installer -u vmware-player

I am running Ubuntu 12.04 Linux.
Linux and Mac OSX 10.8 on Windows 7 guides to follow...
This works on both Intel (Core2Duo+) and AMD processors.

32 Bit version available however Snow Leopard+ requires 64-Bit
You must have Hardware Virtualization.  Otherwise you will require software mod (instructions coming soon).

11 comments:

  1. Thanks a lot : it works well except sound... for the moment.

    ReplyDelete
  2. You lost me at "Navigate to the location of your MAC OSX Mountain Lion VMWare Image and click "Open"

    isnt this what we are creating? Installing OS X?

    ReplyDelete
  3. This worked great...except, like Halbox, I can't get the sound to work. Does sound work for yours? Any ideas on a solution for sound?

    ReplyDelete
  4. thanks for the great guide. I do have a request though, could you please post the software patch for avoiding hardware VT. I don't have it on my laptop and I'm running ubuntu 13.04 and vmplayer 5.0.2.

    ReplyDelete
  5. Hey Thanks a lot! It worked like a charm!!
    I have one question? I have installed it on my HP Laptop which has Multi-touch supported track-pad but it seems that this multi-touch doesn't work on my Mountain Lion...can you please give me the solution..Thanks a lot again!!

    ReplyDelete
  6. how do you manage to get 3d graphic working?

    thanks for your great guide!

    ReplyDelete
  7. Yo,

    Great guide! I used your instructions, as well as, several other sources to get Mountain Lion going on VMWare. Although it was a great experience, I now have to say, "Is that all there is"?, to Apple / Mac? I mean really, all that expense, for what?

    So, on my H-P Ultra Book, I now run 64-bit Backbox Linux, then virtualize M$7 with Virtualbox, and OS X Mountain Lion on VMWare. Got it all, man. Thanks!

    ReplyDelete
  8. I have kubuntu does it works here

    ReplyDelete
  9. office 2016 registry purchase , windows 7 ultimate upgrade key , windows 7 key order , windows 10 serial key install , windows 10 product key 64bit , windows 7 professional termékkulcs , win 7 professional genuine activation code free download , windows 7 home basic anytime upgrade key , s0QukY

    windows 10 enterprise license

    cheap office 2013 key

    windows 8.1 pro product key

    ReplyDelete