Friday, 2 November 2012

The CPU has been disabled by the guest operating system" when running OS X Lion on VMWare


Find cpuid in the file "Mac OS X Lion.vmx*" and add above line after that statement like
*Mac OS X Lion.vmx  open in Notepad not in VMWare

checkpoint.vmState = ""
usb.autoConnect.device0 = ""
numvcpus = "8"
cpuid.coresPerSocket = "4"
cpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"
vhv.enable = "FALSE"
mks.keyboardFilter = "allow"
vmx.buildType = "debug"
priority.grabbed = "high"
priority.ungrabbed = "normal"
bios.forceSetupOnce = "FALSE"



---orignal text from the site

http://minhdanh2002.blogspot.in/2012/07/fixing-cpu-has-been-disabled-by-guest.html


Recently I had some free time and determined to solve the problem completely. Following a Google search of the root device uuid message, I found this blog which describes a similar problem and the solution for VMware ESXi by editing the CPU ID:

- edit the VM settings with the VM powered off
- click on the Options tab
- click on the CPUID Mask menu item
- click Advanced
- scroll to the bottom of the window on the Virtual Machine Default tab
- under “Level 1? set “eax” to 0000:0000:0000:0001:0000:0110:1010:0101.

I am using VMware workstation, which does not have such an option to mask the CPU ID. However, using instructions from this forum, I was able to change the CPU ID by modifying the VMX file and add the following line:

cpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"



With this change, my OS X Lion booted up properly and there is no need to work with it in a saved state anymore.

1 comment: