Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oracle VirtualBox "VT-x is disabled in the BIOS"

I'm getting this error while loading an image from a Oracle virtual box. How can I fix it? I installed virtual box 4.3.12 via a remote desktop connection to a Windows 7 64-bit, 32G RAM computer.

enter image description here

I have checked the Intel Visualization Setting, it says yes to hardware visualization. enter image description here

I saw this questions up online looks like the same issue. But I am using remote desktop control so I would not be able to change the setting at the restart page. I will be automatically logged off when I restart the this computer.

VERR_VMX_MSR_VMXON_DISABLED when starting an image from Oracle virtual box

like image 256
Yu Deng Avatar asked Jul 03 '14 07:07

Yu Deng


People also ask

How do I fix Vt X is disabled in BIOS?

You can see something like this, now press F10 to get into the Bios setting. Now by pressing the right arrow key you have to select the system configuration tab. Now just select the Virtualization technology by pressing the down arrow key and hit enter key to enable it. Now press F10 to save & exit and hit enter.

Do I need to enable virtualization in BIOS for VirtualBox?

On many systems, the hardware virtualization features first need to be enabled in the BIOS before Oracle VM VirtualBox can use them. As opposed to other virtualization software, for many usage scenarios, Oracle VM VirtualBox does not require hardware virtualization features to be present.


1 Answers

if the machine does not require VT-x to work, changing the machine settings can help:

Try to change setting HardwareVirtEx in your virtual machine config file (.vbox).

It's a CPU section/ Looks like this

<Hardware version="2"> <CPU count="1" hotplug="false"> <HardwareVirtEx enabled="false"/> <HardwareVirtExNestedPaging enabled="true"/> <HardwareVirtExVPID enabled="true"/> <HardwareVirtExUX enabled="true"/> <PAE enabled="false"/> <HardwareVirtExLargePages enabled="true"/> <HardwareVirtForce enabled="false"/> </CPU>

from: https://forums.virtualbox.org/viewtopic.php?f=6&t=58820

this can also be set using VBoxManage using:

VBoxManage.exe modifyvm <machine name> --hwvirtex off

or by using the API:
void setHWVirtExProperty(HWVirtExPropertyType property, boolean value)

like image 67
Eyal Avatar answered Oct 21 '22 20:10

Eyal