VM won't start: error initializing kernel driver

Discussions related to using VirtualBox on Mac OS X hosts.
oily
Posts: 2
Joined: 3. Feb 2010, 21:55
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: doesnt work

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

Post 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 :?
tecodan
Posts: 1
Joined: 7. Feb 2010, 05:57
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 98

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

Post 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".
oily
Posts: 2
Joined: 3. Feb 2010, 21:55
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: doesnt work

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

Post by oily »

tecodan, that worked a treat, thanks!
nayanajith
Posts: 1
Joined: 5. Aug 2010, 16:31
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Debian lenny

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

Post 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>
schworak
Posts: 6
Joined: 29. May 2010, 05:31
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: WIndows 2003

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

Post by schworak »

Just wanted to say thanks and it worked
Post Reply