Sunday, January 08, 2012

Running Mac OSX Lion 10.7.2 with VMware Workstation 8.0.1 for Linux

Host system configuration:
Intel Core2Duo 6300 w/VT
CentOS 5.7 x64
VMware Workstation 8.0.1





  • Install VMware Workstation 7.1.2 (VMware-Workstation-Full-7.1.2-301548.x86_64.bundle)

  • Patch VMware Workstation to support OSX (macosx_guest_vmware_7.tar.gz)

  • Create empty OSX 10.6 Server x64 virtual machine with VMware 7.1.2

  • Uninstall VMware Workstation 7.1.2


  • Install VMware Workstation 8.0.1

  • Patch VMware Workstation to support OSX (macosx_guest_vmware_7.tar.gz)

    • Patching of libvmwarebase.so.0 fails, this is why we need empty VM created with 7.1.2


  • Create copy of OSX VM you created earlier, store original in safe place

  • Change existing primary SCSI disk ID to 0:1

  • Add "Mac OS X Lion Installer.vmdk" as SCSI ID 0:0 in non-persistent mode

  • Start VM

  • After installer is running select Utilities > Disk Utility

    • Create new partition

    • Mac OS Extended

    • GUID Partition Table

  • Return to installer and install normally


  • After install, shutdown and remove "Mac OS X Lion Installer.vmdk"

  • Boot to new OSX install

  • Trigger install of latest fixes, System Preferences > Software Updates

  • Reboot


  • Required VMware Tools are part of VMware Fusion 4.1.1.

    • Take snapshot of VM

    • Install Fusion

    • Open Terminal (Finder > Applications > Utilities > Terminal)

    • Copy /Applications/VMware Fusion.app/Contents/Library/isoimages/darwin.iso to safe place

    • Revert back to snapshot

    • Mount darwin.iso as virtual CD

    • Install VMware Tools


  • Done.

P.S. To fix broken-by-design hostname configuration system run these in command prompt:
sudo scutil --set HostName MyComputer
 sudo scutil --set ComputerName MyComputer
 sudo scutil --set LocalHostName MyComputer

No comments: