Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VT-x is not available (VERR_VMX_NO_VMX) when starting ubuntu in Virtualbox

My operating system is windows 10 64 bit.I want to have ubuntu on my system for some development.

So I have installed VirtualBox and Kept ubuntu v18.04.2 in it. But while Starting I am getting this error "The native API dll was not found (C:\Windows\system32\WinHvPlatform.dll) (VERR_NEM_NOT_AVAILABLE). VT-x is not available (VERR_VMX_NO_VMX)."

enter image description here

enter image description here

How to fix it?

like image 206
PRUDHVI CHOWDHARY NEKKALAPUDI Avatar asked Jun 30 '19 07:06

PRUDHVI CHOWDHARY NEKKALAPUDI


2 Answers

Please check the following link: https://stackoverflow.com/a/38111013/15374795

This answer belongs to -- credit Tj Kellie please do not add like for me.

Note: open Command Prompt by right click on that and click on "Run as administration".

To turn Hypervisor off, run this from Command Prompt (Admin) (Windows+X):

bcdedit /set hypervisorlaunchtype off

and reboot your computer. To turn it back on again, run:

bcdedit /set hypervisorlaunchtype on

If you receive "The integer data is not valid as specified", try:

bcdedit /set hypervisorlaunchtype auto

Important note: after turning off the Hypervisor and restarting the system it is mandatory to turn on the Hypervisor because with out Hypervisor you can not use the git repository on your windows.

like image 96
moein khodaparast Avatar answered Sep 27 '22 18:09

moein khodaparast


I found the answer and like to share with you .

1.Enable Virtualization during your BIOS time

2.Disable the Hyper-V role through Settings(problem faced by me)

a)Right click on the Windows button and select ‘Apps and Features’.

b)Select Programs and Features on the right under related settings.

c)Select Turn Windows Features on or off.

d)Select Hyper-V and disable it

like image 23
Linda Mcgnadon Avatar answered Sep 27 '22 19:09

Linda Mcgnadon