Wednesday, December 22, 2010

You may not power on a virtual machine in a virtual machine

HI All,
"You may not power on a virtual machine in a virtual machine" this kind of error comes when you run vmware vm , in Esx installed in VMware Workstation.
To rectify this error, you need to edit the .vmx file, follow the below given steps
1.Suppose you are running VMware Workstation in your physical box.
2.And you have installed ESX under the VMware workstation.
3.After Installing ESX you now tried to connect that ESX through Vsphere Client, and you got connected Successfully.
4.After the Vsphere Client connected Successfully, now here you will try to create a VM and after creating that VM, when you try to power on that VM you will get this error.
5.To Rectify it, just go to the VM files , of the ESX,which you may have stored in your local HardDisk(The VM which you have created under VMware WorkStation).
6.Go to that ESX files location and locate .VMX file and open it with Notepad.
7.After opening the VMX file edit it with the following line.
8.Save that notepad file and exit.
9.Now start that ESX and connect through Vsphere Client and Start the VM which you have created.
It will start Normally,
Any issues just put a comments here.
All The Best

Raju Gunnal


  1. I was getting same error that ""You may not power on a virtual machine in a virtual machine"" from last one day.I was not sure what the actual reason could be.thanks for providing information on this error as this saved me a lot of time.

  2. hi,

    I am facing the same error, even after doing changes on the .vmx file.

    Below is my file details

    Dear Gurus,

    I am getting the same error, while trying to open the power inside VMware.

    My .vmx is as below -

    config.version = "8"

    virtualHW.version = "4"

    scsi0.present = "TRUE"

    scsi0.virtualDev = "lsilogic"

    memsize = "1024"

    scsi0:0.present = "TRUE"

    scsi0:0.fileName = "RAC1.vmdk"

    scsi0:0.writeThrough = "TRUE"

    ide1:0.present = "TRUE"

    ide1:0.fileName = "/dev/hdc"

    ide1:0.deviceType = "cdrom-raw"

    floppy0.fileName = "/dev/fd0"

    Ethernet0.present = "TRUE"

    displayName = "RAC1"

    guestOS = "rhel4"

    priority.grabbed = "normal"

    priority.ungrabbed = "normal"

    powerType.powerOff = "hard"

    powerType.powerOn = "hard"

    powerType.suspend = "hard"

    powerType.reset = "hard"

    floppy0.present = "FALSE"

    disk.locking = "FALSE"

    diskLib.dataCacheMaxSize = "0"

    diskLib.dataCacheMaxReadAheadSize = "0"

    diskLib.dataCacheMinReadAheadSize = "0"

    diskLib.dataCachePageSize = "4096"

    diskLib.maxUnsyncedWrites = "0"

    scsi1.present = "TRUE"

    scsil.virtualDev = "lsilogic"

    sccil.sharedBus = "VIRTUAL"

    scsi1:1.present = "TRUE"

    scsi1:1.fileName = "/u02/VM/shared/ocr.vmdk"

    scsi1:1.mode = "independent-persistent"

    scsil:1.deviceType = "plainDisk"

    scsil:1.redo = ""

    scsi1:2.present = "TRUE"

    scsi1:2.fileName = "/u02/VM/shared/votingdisk.vmdk"

    scsi1:2.mode = "independent-persistent"

    scsil:2.deviceType = "plainDisk"

    scsil:2.redo = ""

    scsi1:3.present = "TRUE"

    scsi1:3.fileName = "/u02/VM/shared/asm1.vmdk"

    scsi1:3.mode = "independent-persistent"

    scsil:3.deviceType = "plainDisk"

    scsil:3.redo = ""

    scsi1:4.present = "TRUE"

    scsi1:4.fileName = "/u02/VM/shared/asm2.vmdk"

    scsi1:4.mode = "independent-persistent"

    scsil:4.deviceType = "plainDisk"

    scsil:4.redo = ""

    scsi1:5.present = "TRUE"

    scsi1:5.fileName = "/u02/VM/shared/asm3.vmdk"

    scsi1:5.mode = "independent-persistent"

    scsil:5.deviceType = "plainDisk"

    scsil:5.redo = ""

    scsi1.virtualDev = "lsilogic"

    ethernet0.virtualDev = "e1000"

    monitor.virtual_exec = "hardware"

    monitor_control.restrict_backdoor = "true"

    Kindly suggest on the same