VT-x is disabled in the BIOS for both all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)

VirtualboxXamarin Studio

Virtualbox Problem Overview


Downloaded Xamarin Android Player and with >>next>> progress installed Virtual Box.

When I tried to start an emulator I got

Failed to initialized device (name Of the emulator)
VboxManager Commendt Failed

and the detail of the error in Oracle Vm Virtualbox is

VT-x is disabled in the BIOS for both all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)

How can I fix this?

I have found the solution of my problem, put some images to help others, thanks go here

Virtualbox Solutions


Solution 1 - Virtualbox

It is a RAM related issue. The documentation is self explanatory: > You are trying to allocate >3GB of RAM to the VM. This requires: (a) a > 64 bit host system; and (b) true hardware pass-through ie VT-x.

Fast solution

Allocate less than 3GB for the virtual machine.

Complete solution

  1. Make sure your system is 64 bit.
  2. Enable virtualisation in your host machine. You can find how to do it here or there are many other resources available on Google.

Solution 2 - Virtualbox

Turning PAE/NX on/off didn't work for me. I just needed to turn on virtualization on my computer. I was working on a HP Compaq 8200 and followed the steps below to turn on virtualization. If you are working on a different computer, you probably just need to look up how to turn on virtualization on your pc. The steps below for HP Compaq 8200 (or similar) is copied verbatim from the comment posted by the user qqdmax5 on Hp discussion board here.


To run Oracle VM Virtual Box / VMware machines on 64-bit host there is a need to enable Virtualization Technology (VTx) and Virtualization Technology Directed I/O (VTd).

Usually these setting are disabled on the level of BIOS.

To enable VTx and VTd you have to change corresponding settings in the BIOS.

Here is an example how to do it for HP Compaq 8200 or similar PC:

  1. Start the machine.
  2. Press F10 to enter BIOS.
  3. Security-> System Security
  4. Enable Virtualization Technology (VTx) and Virtualization Technology Directed I/O (VTd).
  5. Save and restart the machine.

There is also some discussion on this on askubuntu.

Solution 3 - Virtualbox

In Virtual Box "Settings" > System Settings > Processor > Enable the PAE/NX option. It resolved my issue.

Solution 4 - Virtualbox

I had this issue when tried to run a 32-bit OS with more than 3584 MB of RAM allocated for it. Setting the guest OS RAM to 3584 MB and less helped.

But i ended just enabling the flag in BIOS nevertheless.

Solution 5 - Virtualbox

Follow the steps below in Oracle VM VirtualBox Manager:

  1. Select the Virtual device and choose Settings
  2. Navigate to System and click the Processor tab
  3. Tick the check-box, Enable PAE/NX
  4. Click OK and you are done

To verify, start the Virtual device from Oracle VM VirtualBox. If all has gone well, the device boots up.

Close this device and open it from Genymotion.

Solution 6 - Virtualbox

For latest Windows 10 (HP & Intel motherboard/processor),

Follow the below steps, starting with :

Settings ->
Update & Security ->
Recovery ->
Advanced startUp -> Restart now

F10 (System Recovery) -> System Configuration tab -> Virtualization Technology

Enable

F10 to save and exit

Solution 7 - Virtualbox

For Ubuntu on HP (Intel processors),

Press F10 on booting the system, it will enter into system setup mode.

You will find tabs on top like Main, Security, Advanced.

Go into Advanced >> and click on System settings.

Mark the check boxes on Enable Virtualization Technology (VTx) and Virtualization Technology Directed I/O (VTd).

Back to Main, click on save changes and exit.

Solution 8 - Virtualbox

enable PAE/NX in virtualbox network config

Solution 9 - Virtualbox

My BIOS VT-X was on, but I had to turn PAE/NX off to get the VM to run.

Solution 10 - Virtualbox

If you're on 32-bit machine don't allow more than 3584 MB of RAM and it will run.

Solution 11 - Virtualbox

You need to enable virtualization using BIOS setup.

step 1. Restart your PC and when your PC booting up then press your BIOS setup key (F1 or F2 or google it your BIOS setup key).

step 2. Go to the security menu.

step 3. Select virtualization and enable it.

Note:- BIOS setup depends on PC Manufacturer-brand.

Solution 12 - Virtualbox

I had to turn PAE/NX off and then back to on...voila !!

Solution 13 - Virtualbox

Simply check how many CPUs you are allocating. With one CPU you do not need to play with your bios.

Solution 14 - Virtualbox

Make sure Virtualization is enabled in your bios.

Solution 15 - Virtualbox

Open your BIOS and enable virtualization.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSamirView Question on Stackoverflow
Solution 1 - VirtualboxdnaranjoView Answer on Stackoverflow
Solution 2 - VirtualboxsedehView Answer on Stackoverflow
Solution 3 - VirtualboxSandeepView Answer on Stackoverflow
Solution 4 - VirtualboxKlesunView Answer on Stackoverflow
Solution 5 - VirtualboxTinashe ChinyangaView Answer on Stackoverflow
Solution 6 - Virtualboxsrc3369View Answer on Stackoverflow
Solution 7 - Virtualboxnj2237View Answer on Stackoverflow
Solution 8 - VirtualboxWeverton SouzaView Answer on Stackoverflow
Solution 9 - VirtualboxGeorgeCView Answer on Stackoverflow
Solution 10 - VirtualboxMFMView Answer on Stackoverflow
Solution 11 - VirtualboxChandan Kumar SinghView Answer on Stackoverflow
Solution 12 - VirtualboxRajView Answer on Stackoverflow
Solution 13 - VirtualboxDenis PitzalisView Answer on Stackoverflow
Solution 14 - VirtualboxKyle CootsView Answer on Stackoverflow
Solution 15 - VirtualboxKathurimaView Answer on Stackoverflow