Jump to content
Donk

VMware Mac OS X Guest Package for ESX, Workstation, Player, Server and Fusion

2,213 posts in this topic

Recommended Posts

Switch to PS2 keyboard by editing VMX file change keyboard.vusb.enable to FALSE. the tools iso image will then load the Voodoo PS2 Controller for you.

 

Caffeine has been working for me so far... none of those odd hangs. Great recommendation.

 

Also, I changed the keyboard.vusb.enable to "FALSE" and no intermittent sticky key repeats since then.

 

Followed the instructions to modify the Boot.plist for a larger screen - worked as written.

 

Awesome job, Donk!

 

RJ

Share this post


Link to post
Share on other sites
Advertisement

Hi, Donk,

 

Here's another one... I want to attach my iPod Touch to the VM. When I attach it to the VMWare server host, I can't tell if it's connected or not (I assume that if it's working ok, iTunes would pop up). I tried firing up the USB Prober app, but I'm not savvy enough to determine whether the device is attached or not.

 

Attached is my vmx and a snip of the vmware.log that shows me plugging in the device, removing it and plugging it back in. (zip)

 

If there's another way to detect that it's attached, please let me know.

 

Thanks!

 

RJ

 

Host: Intel Core2Duo E8200, Vista Business x64, VMWare Server 2.0.1,

Guest: Leopard 10.5.6 (updated to 10.5.7)

OSX64.zip

Share this post


Link to post
Share on other sites

Hello,

cheers for this, it is just a thing of pure beauty !!

installed 10.5.6 retail dvd and updated to 10.5.7 no problem on vmware 6.5.2 win x64 host.

 

question #1: I tried to follow the instructions to install the AppleAC97Audio.kext to enable sound but the os complains that the .kext cannot be used:

sshot212.png

what to do? :)

 

 

question #2: how can i increase screen res >greater than 1024 x 768?

display prefs only shows this single res.

 

cheers

Share this post


Link to post
Share on other sites
Hello,

cheers for this, it is just a thing of pure beauty !!

installed 10.5.6 retail dvd and updated to 10.5.7 no problem on vmware 6.5.2 win x64 host.

 

question #1: I tried to follow the instructions to install the AppleAC97Audio.kext to enable sound but the os complains that the .kext cannot be used:

 

what to do? :P

 

 

question #2: how can i increase screen res >greater than 1024 x 768?

display prefs only shows this single res.

 

cheers

1. You need to check the permissions on the extension. There are also tools that you can find at ~PCwiz's site to ensure extensions are correctly loaded. (OSx86 Tools Utility)

 

2. In the manual section 4.2

Share this post


Link to post
Share on other sites
1. You need to check the permissions on the extension. There are also tools that you can find at ~PCwiz's site to ensure extensions are correctly loaded. (OSx86 Tools Utility)

 

2. In the manual section 4.2

 

Thanks!!! I got the sound working (sort of, it kind of echos but hey its better than nothing!!) and the resolution I took care of by modifying the com.apple.Boot.plist

 

:)

Share this post


Link to post
Share on other sites

I have followed the instructions for the Hackintosh in my sig, but I am left looking at a spinning beach ball and Leopard client wallpaper :P

 

If I boot verbose, everything seems fine until that point, same with Snow 10a380. The VMX file is as created by Fusion 2.0.4

 

any ideas?

Share this post


Link to post
Share on other sites
I have followed the instructions for the Hackintosh in my sig, but I am left looking at a spinning beach ball and Leopard client wallpaper :)

 

If I boot verbose, everything seems fine until that point, same with Snow 10a380. The VMX file is as created by Fusion 2.0.4

 

any ideas?

 

Please post the details I requested earlier in the thread. I can't diagnose problems wit this level of information.

 

Hi, Donk,

 

Here's another one... I want to attach my iPod Touch to the VM. When I attach it to the VMWare server host, I can't tell if it's connected or not (I assume that if it's working ok, iTunes would pop up). I tried firing up the USB Prober app, but I'm not savvy enough to determine whether the device is attached or not.

 

Attached is my vmx and a snip of the vmware.log that shows me plugging in the device, removing it and plugging it back in. (zip)

 

If there's another way to detect that it's attached, please let me know.

 

Thanks!

 

RJ

 

Host: Intel Core2Duo E8200, Vista Business x64, VMWare Server 2.0.1,

Guest: Leopard 10.5.6 (updated to 10.5.7)

 

USB on VMware isn't something I have a great dal of experience with, basically just plugging in USB keys. I would fire up iTunes and see if it there, as the log file seems to indicate it is connected. It is possible to record a USB trace and analyze it with a tool from VMware, but again no expertise in that.

 

Sorry can't be more help on this, but let me know what you see.

Share this post


Link to post
Share on other sites
... but DELL PE2950 gen III with Xeon 5450's work peachy.

 

VMErik,

 

I have a very similar hardware configuration as you, Dell PE2950 gen 3 /w Xeon 5420s running ESXi 4, but I'm getting a "Local APIC version 0x11, 0x14 or more expected" error message when booting my Leopard OSX Install DVD.

 

Could you share your vmx config file?

Share this post


Link to post
Share on other sites

Donk,

 

Here's another wierdness.. Even with Caffeine, I sometimes get a hang. Any ideas?

 

 

 

Jul 02 18:34:11.161: vcpu-1| UHCI: Global Reset

Jul 02 18:34:11.262: vcpu-1| UHCI: HCReset

Jul 02 18:34:24.977: vcpu-0| Guest: Loaded @ 0x26ca261a: Info 0x26ca4560 Name com.vmware.kext.VMwareIOFramebuffer Version 1.0.4 KEXT_BUNDLE_VERSION at Apr 7 2009 19:56:20

Jul 02 18:35:20.167: vcpu-0| Guest: IOFB: start

Jul 02 18:35:20.252: vcpu-1| Guest: SVGADev: Init: SVGA_CAP_TRACES failed

Jul 02 18:36:16.196: vcpu-1| GuestRpc: Channel 0, guest application toolbox-dnd.

Jul 02 18:36:17.866: vcpu-0| GuestRpc: Channel 1, guest application toolbox.

Jul 02 18:36:17.866: vcpu-0| TOOLS sending 'OS_PowerOn' (3) state change request

Jul 02 18:36:17.866: vcpu-0| TOOLS Unable to send OS_*: tools failed to interpret cmd

Jul 02 18:36:17.867: vcpu-0| TOOLS ToolsCapabilityGuestConfDirectory received /etc/vmware-tools

Jul 02 18:36:17.903: vcpu-0| TOOLS setting the tools version to '7461'

Jul 02 18:36:17.956: vcpu-0| Guest: toolbox: Version: build-159196

Jul 02 18:36:17.957: vcpu-0| TOOLS unified loop capability requested by 'toolbox'; now sending options via TCLO

Jul 02 18:36:17.958: vcpu-0| Failed to copy tools version manifest file. hgfsError = 1.

Jul 02 18:36:17.958: vcpu-0| TOOLS installed version 7461, available version 7397

Jul 02 18:36:17.958: vcpu-0| TOOLS will not be autoupgraded.

Jul 02 18:36:17.958: vcpu-0| TOOLS Setting autoupgrade-checked TRUE.

Jul 02 18:36:40.662: mks| MKS switching absolute mouse on

Jul 02 18:41:46.921: mks| MKS switching absolute mouse off

Jul 02 18:41:47.151: mks| MKS switching absolute mouse on

Jul 02 18:41:47.518: mks| MKS switching absolute mouse off

Jul 02 18:41:47.745: mks| MKS switching absolute mouse on

Jul 02 18:41:48.279: mks| MKS switching absolute mouse off

Jul 02 18:41:48.591: mks| MKS switching absolute mouse on

Jul 02 18:41:49.573: mks| MKS switching absolute mouse off

Jul 02 18:41:49.945: mks| MKS switching absolute mouse on

Jul 02 18:41:55.287: mks| MKS switching absolute mouse off

Jul 02 18:41:57.521: mks| MKS switching absolute mouse on

Jul 02 18:41:57.866: mks| MKS switching absolute mouse off

Jul 02 18:42:01.681: mks| MKS switching absolute mouse on

Jul 02 18:42:01.904: vcpu-0| Msg_Hint: msg.monitorevent.halt (sent)

Jul 02 18:42:01.904: vcpu-0| The CPU has been disabled by the guest operating system. You will need to power off or reset the virtual machine at this point.

Jul 02 18:42:01.904: vcpu-0| ---------------------------------------

Jul 02 18:42:20.979: vmx| GuestRpcSendTimedOut: message to toolbox-dnd timed out.

Jul 02 18:42:20.979: vmx| GuestRpcSendTimedOut: message to toolbox timed out.

Jul 02 18:42:35.979: vmx| GuestRpcSendTimedOut: message to toolbox-dnd timed out.

Jul 02 18:42:35.979: vmx| GuestRpc: app toolbox-dnd's second ping timeout; assuming app is down

Jul 02 18:42:35.979: vmx| GuestRpcSendTimedOut: message to toolbox timed out.

Jul 02 18:42:35.979: vmx| GuestRpc: app toolbox's second ping timeout; assuming app is down

Jul 02 18:51:44.043: mks| MKS switching absolute mouse off

 

edit:

 

trying this in the .vmx

 

paevm = "TRUE"

Edited by RobertJordan

Share this post


Link to post
Share on other sites
Donk,

 

Here's another wierdness.. Even with Caffeine, I sometimes get a hang. Any ideas?

 

 

 

Jul 02 18:34:11.161: vcpu-1| UHCI: Global Reset

Jul 02 18:34:11.262: vcpu-1| UHCI: HCReset

Jul 02 18:34:24.977: vcpu-0| Guest: Loaded @ 0x26ca261a: Info 0x26ca4560 Name com.vmware.kext.VMwareIOFramebuffer Version 1.0.4 KEXT_BUNDLE_VERSION at Apr 7 2009 19:56:20

Jul 02 18:35:20.167: vcpu-0| Guest: IOFB: start

Jul 02 18:35:20.252: vcpu-1| Guest: SVGADev: Init: SVGA_CAP_TRACES failed

Jul 02 18:36:16.196: vcpu-1| GuestRpc: Channel 0, guest application toolbox-dnd.

Jul 02 18:36:17.866: vcpu-0| GuestRpc: Channel 1, guest application toolbox.

Jul 02 18:36:17.866: vcpu-0| TOOLS sending 'OS_PowerOn' (3) state change request

Jul 02 18:36:17.866: vcpu-0| TOOLS Unable to send OS_*: tools failed to interpret cmd

Jul 02 18:36:17.867: vcpu-0| TOOLS ToolsCapabilityGuestConfDirectory received /etc/vmware-tools

Jul 02 18:36:17.903: vcpu-0| TOOLS setting the tools version to '7461'

Jul 02 18:36:17.956: vcpu-0| Guest: toolbox: Version: build-159196

Jul 02 18:36:17.957: vcpu-0| TOOLS unified loop capability requested by 'toolbox'; now sending options via TCLO

Jul 02 18:36:17.958: vcpu-0| Failed to copy tools version manifest file. hgfsError = 1.

Jul 02 18:36:17.958: vcpu-0| TOOLS installed version 7461, available version 7397

Jul 02 18:36:17.958: vcpu-0| TOOLS will not be autoupgraded.

Jul 02 18:36:17.958: vcpu-0| TOOLS Setting autoupgrade-checked TRUE.

Jul 02 18:36:40.662: mks| MKS switching absolute mouse on

Jul 02 18:41:46.921: mks| MKS switching absolute mouse off

Jul 02 18:41:47.151: mks| MKS switching absolute mouse on

Jul 02 18:41:47.518: mks| MKS switching absolute mouse off

Jul 02 18:41:47.745: mks| MKS switching absolute mouse on

Jul 02 18:41:48.279: mks| MKS switching absolute mouse off

Jul 02 18:41:48.591: mks| MKS switching absolute mouse on

Jul 02 18:41:49.573: mks| MKS switching absolute mouse off

Jul 02 18:41:49.945: mks| MKS switching absolute mouse on

Jul 02 18:41:55.287: mks| MKS switching absolute mouse off

Jul 02 18:41:57.521: mks| MKS switching absolute mouse on

Jul 02 18:41:57.866: mks| MKS switching absolute mouse off

Jul 02 18:42:01.681: mks| MKS switching absolute mouse on

Jul 02 18:42:01.904: vcpu-0| Msg_Hint: msg.monitorevent.halt (sent)

Jul 02 18:42:01.904: vcpu-0| The CPU has been disabled by the guest operating system. You will need to power off or reset the virtual machine at this point.

Jul 02 18:42:01.904: vcpu-0| ---------------------------------------

Jul 02 18:42:20.979: vmx| GuestRpcSendTimedOut: message to toolbox-dnd timed out.

Jul 02 18:42:20.979: vmx| GuestRpcSendTimedOut: message to toolbox timed out.

Jul 02 18:42:35.979: vmx| GuestRpcSendTimedOut: message to toolbox-dnd timed out.

Jul 02 18:42:35.979: vmx| GuestRpc: app toolbox-dnd's second ping timeout; assuming app is down

Jul 02 18:42:35.979: vmx| GuestRpcSendTimedOut: message to toolbox timed out.

Jul 02 18:42:35.979: vmx| GuestRpc: app toolbox's second ping timeout; assuming app is down

Jul 02 18:51:44.043: mks| MKS switching absolute mouse off

 

edit:

 

trying this in the .vmx

 

paevm = "TRUE"

 

Did you also switch the energy saving settings off as well? Don't think the paevm setting will do anything in this scenario and it is implicit in the darwin-64 setting.

Share this post


Link to post
Share on other sites

Intel Q6600 Processor

 

I have had multiple reports that there are issues with this processor, and maybe some other quad cores, both in this thread and the previous work I did on using VMware for Mac OS X. At the moment I am not sure what the issue is. If anyone want to help me out with this then please let me know. Would probably require debug logs from VMware, and possibly have to try Voodoo Kernel 2 alpha 3, in a test darwin.iso. I don't have access to a system with the CPU, so would have tor ely on accurate feedback from those who want to get involved.

Share this post


Link to post
Share on other sites

Donk, I seem to remember facing this trouble last year. When I used a Server ISO with no kexts in extensions it booted just fine, but was very unstable. Perhaps it is one of the Intel Management kexts we should be looking at?

 

my vmware.log:

 

Jul 03 13:26:12.631: vcpu-2| SCSI DEVICE (scsi0:0): MODE SENSE(6) for unsupported page 0x8

Jul 03 13:26:17.327: vcpu-2| UHCI: Global Reset

Jul 03 13:26:17.427: vcpu-2| UHCI: HCReset

Jul 03 13:29:49.584: vcpu-0| HostSMCRead: Unable to find the service.

Jul 03 13:29:49.586: vcpu-0| HostSMCRead: Unable to find the service.

Jul 03 13:34:31.390: vmx| TOOLS setting the tools version to '0'

Jul 03 13:36:31.643: vcpu-1| SCSI-DEV scsi0:0: Unsupported command START STOP UNIT issued. --ok

Jul 03 13:36:32.666: vmx| ide1:0: Command LOAD/UNLOAD MEDIUM took 1.023 seconds (ok)

Jul 03 13:36:52.668: vcpu-0| SCSI-DEV scsi0:0: Unsupported command START STOP UNIT issued. --ok

Jul 03 13:49:35.144: mks| MKS switching absolute mouse on

Share this post


Link to post
Share on other sites
Donk, I seem to remember facing this trouble last year. When I used a Server ISO with no kexts in extensions it booted just fine, but was very unstable. Perhaps it is one of the Intel Management kexts we should be looking at?

 

my vmware.log:

 

Jul 03 13:26:12.631: vcpu-2| SCSI DEVICE (scsi0:0): MODE SENSE(6) for unsupported page 0x8

Jul 03 13:26:17.327: vcpu-2| UHCI: Global Reset

Jul 03 13:26:17.427: vcpu-2| UHCI: HCReset

Jul 03 13:29:49.584: vcpu-0| HostSMCRead: Unable to find the service.

Jul 03 13:29:49.586: vcpu-0| HostSMCRead: Unable to find the service.

Jul 03 13:34:31.390: vmx| TOOLS setting the tools version to '0'

Jul 03 13:36:31.643: vcpu-1| SCSI-DEV scsi0:0: Unsupported command START STOP UNIT issued. --ok

Jul 03 13:36:32.666: vmx| ide1:0: Command LOAD/UNLOAD MEDIUM took 1.023 seconds (ok)

Jul 03 13:36:52.668: vcpu-0| SCSI-DEV scsi0:0: Unsupported command START STOP UNIT issued. --ok

Jul 03 13:49:35.144: mks| MKS switching absolute mouse on

 

Unfortunately there is nothing in the log extract here. I did a post http://www.insanelymac.com/forum/index.php...t=#entry1189918 on the details that would be useful for me to track down these issues. Can you get the data requested there please? Before you do though, can you set the following line in your vmx file:

 

monitor = "debug"

 

Run until you get the error, shutdown guest and post the details.

Share this post


Link to post
Share on other sites

Hi Donk:

 

First thank you for all of your efforts and work.

 

I am running vSphere 4.0 Enterprise and cannot seem to get past one thing. I followed the instructions and modified the vmx file as stated in the instructions. I ran the setup.sh script (only once). When starting the OSX machine I get an error stating that "The guest operating system 'darwin64Guest' is not supported".

 

Can you tell me what I did wrong.

 

Thank you.

Share this post


Link to post
Share on other sites

Donk, just read through the entire thread and of course have a Sony Vaio laptop that I am trying to load the Mac OS in a VMWare Workstation. There is a setting for the CPU under the advanced button that enables the bios VT-x setting for the Execution Mode and allows you to set the Perferred Mode. I have a choice that reads "Intel VT-x or AMD-V". I would give you a screen copy but I can not get the editor here to accept a paste. Do you think this would work. I have tried with varying success. but during the load of the os I see multiple fails during the mkdir and such and sometimes I get to the Utility menu but cannot do anything when I get there. It seems to think that the disk is write protected.

 

Thanks for any help.

Rick

I have attached a word doc with a screen capture of the settings page from VMWare.

R

Doc1.doc

Share this post


Link to post
Share on other sites
Donk, just read through the entire thread and of course have a Sony Vaio laptop that I am trying to load the Mac OS in a VMWare Workstation. There is a setting for the CPU under the advanced button that enables the bios VT-x setting for the Execution Mode and allows you to set the Perferred Mode. I have a choice that reads "Intel VT-x or AMD-V". I would give you a screen copy but I can not get the editor here to accept a paste. Do you think this would work. I have tried with varying success. but during the load of the os I see multiple fails during the mkdir and such and sometimes I get to the Utility menu but cannot do anything when I get there. It seems to think that the disk is write protected.

 

Thanks for any help.

Rick

I have attached a word doc with a screen capture of the settings page from VMWare.

R

 

Can you post the information I requested here please? http://www.insanelymac.com/forum/index.php...p;#entry1189918

 

Note that Sony Vaio's usually do not enable VT-x in the BIOS and so aren't usable for anything that requires it.

Share this post


Link to post
Share on other sites
A couple of secondary points to look into. I had originally installed my VM on the internal storage of the ESX Server and since this machine will be getting reinstalled, I copied the VM using the regular VMware tools over to an iSCSI volume. I tried to boot and ended up with the regular PXE boot so I checked the vmx file and found that it had been modified by ESX and replaced darwin-64 with other.

 

I replaced the original darwin-64 value and tried to start the machine and am now getting:

Power On virtual machine
OSXS
The guest operating system 'darwin64Guest' is not supported.
Administrateur
VC-VSPHERE
01/07/2009 10:25:28
01/07/2009 10:25:28
01/07/2009 10:25:28

 

I'm going to try and rebuild a new VM on the iSCSI datastore and re-use the existing disk to see if that works, but this is an annoying problem since it means that you have to be extra careful and using the standard VMware tools to manage an OSX VM.

 

Update to add to the documentation here. It would appear that VMware is considerably more stringent about applying compatibility rules when you're using vCenter to manage multiple ESX Servers. If I register the virtual machine to a server via the vCenter server and try to boot it, I get the error message noted above. However, if I use the VI Client to connect directly to the server, I can start the VM. Same server, same VM.

 

Bottom line, running OS X VMs on ESX requires that you are connected directly to the ESX Server and not via vCenter. This (unfortunately) means that you can't take advantage of the vCenter features like High Availability and Load Balancing (DRS).

 

The datastore issue I was chasing was a red herring.

Share this post


Link to post
Share on other sites
Update to add to the documentation here. It would appear that VMware is considerably more stringent about applying compatibility rules when you're using vCenter to manage multiple ESX Servers. If I register the virtual machine to a server via the vCenter server and try to boot it, I get the error message noted above. However, if I use the VI Client to connect directly to the server, I can start the VM. Same server, same VM.

 

Bottom line, running OS X VMs on ESX requires that you are connected directly to the ESX Server and not via vCenter. This (unfortunately) means that you can't take advantage of the vCenter features like High Availability and Load Balancing (DRS).

 

The datastore issue I was chasing was a red herring.

 

Thanks for this. It could be unfixable, in which case I will alter the documentation. At least users of free ESXi should be OK, and anyone else not running within a vCenter system.

Share this post


Link to post
Share on other sites

Quick question, ESX server 3 is not in the list of supported vmware products, but I was wondering if it has just never been tried or if it does not support something necessary for this? We're running an OS X server install on a dual G5 that we would love to move to our ESX 3 server.

Share this post


Link to post
Share on other sites
Quick question, ESX server 3 is not in the list of supported vmware products, but I was wondering if it has just never been tried or if it does not support something necessary for this? We're running an OS X server install on a dual G5 that we would love to move to our ESX 3 server.

 

Sorry this method won't work for ESX3, it does not have the virtual hardware 7 support. I have tried!

 

Will this procedure work for installing Leopard Server as well ??

 

Yes

Share this post


Link to post
Share on other sites

Great write up and thanks for the work that went into this.

 

Does anyone know if VMWare has any plans to allow this to properly install on vSphere 4, or is this always going to be an "unsupported" implementation?

Share this post


Link to post
Share on other sites
Great write up and thanks for the work that went into this.

 

Does anyone know if VMWare has any plans to allow this to properly install on vSphere 4, or is this always going to be an "unsupported" implementation?

 

Unless they get Apple to agree to use ESX on Apple servers then it will remain unsupported due to the EULA for Mac OS X.

Share this post


Link to post
Share on other sites

Hello Donk. Thank you very much for this. I sooooo love it!

 

It worked like a charm, but I cannot access internet from within MacOS.

 

I'm running windows 7 x64 rc. VM seems to be able to resolve hostnames though.

traceroute to osx86project.com (216.8.179.24), 64 hops max, 40 byte packets

1 192.168.117.2 (192.168.117.2) 2.507 ms 0.397 ms 0.374 ms

2 * * *

3 * * *

[...]

 

Any ideas?

 

Some random infos that might be helpfull:

Firewalls are deactivated. I'm behind a DSL router using Intel WLAN 5300. VMWare is using NAT and configured as E1000.

 

Cheers :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×