Page 2 of 2

Re: VM won't start: error initializing kernel driver

Posted: 3. Feb 2010, 22:31
by oily
I have the same problem:

Code: Select all

Failed to start the virtual machine Vista.
VT-x is not available. (VERR_VMX_NO_VMX).
Unknown error creating VM (VERR_VMX_NO_VMX).
VM Settings > System > Acceleration > Enable VT-x / AMD-V is enabled, but the checkbox is disabled so I can't deselect it. In fact, both options on that tab are blocked. At the moment I can't do anything past creating a VM. Once created, if I start it after changing settings (eg adding a DVD Drive) it'll go straight to the error. If I start it immediately after creation (without changing any of the VM's settings) then I get the first-run wizard. Once that wizard is complete I get the error on the VM.

Not sure why the first-run doesn't come up if you change the VM Settings before the first time you start it (bug maybe?) but either way, as soon as the VM tries to boot I get the error.

Are there any other ways to disable the VT setting? There's nothing in VirtualBox > Preferences to set it globally either :?

Re: VM won't start: error initializing kernel driver

Posted: 7. Feb 2010, 06:06
by tecodan
I had the same problem where VT was enabled but the checkboxes in the System Config dialog were grayed out and I couldn't boot any VM because of the VERR_VMX_NO_VMX error.

I ended up editing the XML file and disabling it from there:
~/Library/VirtualBox/Machines/<machine>/<machine.xml

Find the line:
<HardwareVirtEx enabled="true" exclusive="false"/>

Change the enabled value to "false".

Re: VM won't start: error initializing kernel driver

Posted: 15. Feb 2010, 12:03
by oily
tecodan, that worked a treat, thanks!

Re: VM won't start: error initializing kernel driver

Posted: 5. Aug 2010, 16:39
by nayanajith
Find your your virtual machine vmname:

Code: Select all

VBoxManage list vms
Turn of Hardware VT-x

Code: Select all

VBoxManage modifyvm <your_vmname>  --hwvirtex off
Now start Virtualbox manager GUI or type:

Code: Select all

VirtualBox --startvm <your_vmname>

Re: VM won't start: error initializing kernel driver

Posted: 13. Jan 2013, 17:45
by schworak
Just wanted to say thanks and it worked