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
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.
Allocate less than 3GB for the virtual machine.
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:
- Start the machine.
- Press F10 to enter BIOS.
- Security-> System Security
- Enable Virtualization Technology (VTx) and Virtualization Technology Directed I/O (VTd).
- Save and restart the machine.
There is also some discussion on this on askubuntu.
In Virtual Box “Settings” > System Settings > Processor > Enable the PAE/NX option. It resolved my issue.
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.
Follow the steps below in Oracle VM VirtualBox Manager:
- Select the Virtual device and choose Settings
- Navigate to System and click the Processor tab
- Tick the check-box, Enable PAE/NX
- 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.
enable PAE/NX in virtualbox network config
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
F10 to save and exit
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.
My BIOS VT-X was on, but I had to turn PAE/NX off to get the VM to run.
If you’re on 32-bit machine don’t allow more than 3584 MB of RAM and it will run.
I had to turn PAE/NX off and then back to on…voila !!
Simply check how many CPUs you are allocating. With one CPU you do not need to play with your bios.
Make sure Virtualization is enabled in your bios.
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.