Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sagar30051991 opened this issue Sep 25, 2019 · 5 comments
Labels
co/virtualbox kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@sagar30051991
Copy link

sagar@mohd-tech:~/withrun_docker/withrun-erp-docker$ minikube start
😄  minikube v1.4.0 on Ubuntu 16.04
🔥  Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
🔄  Retriable failure: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.321800 Power up failed (vrc=VERR_VMX_MSR_ALL_VMX_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
🔥  Deleting "minikube" in virtualbox ...
🔥  Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
🔄  Retriable failure: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.264013 Power up failed (vrc=VERR_VMX_MSR_ALL_VMX_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
🔥  Deleting "minikube" in virtualbox ...
🔥  Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
🔄  Retriable failure: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.315034 Power up failed (vrc=VERR_VMX_MSR_ALL_VMX_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
🔥  Deleting "minikube" in virtualbox ...
🔥  Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
🔄  Retriable failure: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.218838 Power up failed (vrc=VERR_VMX_MSR_ALL_VMX_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
🔥  Deleting "minikube" in virtualbox ...

💣  Unable to start VM: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.218838 Power up failed (vrc=VERR_VMX_MSR_ALL_VMX_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))

😿  Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉  https://github.com/kubernetes/minikube/issues/new/choose

@aamirpinger
Copy link

You have to restart your system and have to go to the bios setting. Then you have to enable Intel Virtualization Technology (also known as Intel VT-x) or AMD-V depending on the brand of the processor.

@medyagh
Copy link
Member

medyagh commented Sep 25, 2019

@sagar30051991 I am curious does, @aamirpinger response help your issue?

to me it appears to be either you have not enabled virtualization in your bios or you are running in a vm that doesn´t support nested virtualization.

in case you are not running in a vm, would this help ?
https://stackoverflow.com/a/36738186

@medyagh medyagh added co/virtualbox triage/needs-information Indicates an issue needs more information in order to work on it. labels Sep 25, 2019
@medyagh
Copy link
Member

medyagh commented Sep 25, 2019

also do you mind sharing the version of the virtualbox for future reference?

vboxmanage --version

@tstromberg tstromberg added the needs-solution-message Issues where where offering a solution for an error would be helpful label Sep 25, 2019
@tstromberg tstromberg changed the title minikube not start Power up failed (vrc=VERR_VMX_MSR_ALL_VMX_DISABLED) Sep 25, 2019
@tstromberg tstromberg changed the title Power up failed (vrc=VERR_VMX_MSR_ALL_VMX_DISABLED) Power up failed (VERR_VMX_MSR_ALL_VMX_DISABLED) Sep 25, 2019
@tstromberg tstromberg added the kind/support Categorizes issue or PR as a support question. label Sep 25, 2019
@tstromberg
Copy link
Contributor

Could you share the output of:

grep vmx /proc/cpuinfo

I suspect that it may be necessary for you to enable virtualization in your BIOS. There are however some other possibilities: https://stackoverflow.com/questions/33304393/vt-x-is-disabled-in-the-bios-for-both-all-cpu-modes-verr-vmx-msr-all-vmx-disabl

@tstromberg tstromberg changed the title Power up failed (VERR_VMX_MSR_ALL_VMX_DISABLED) VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED) Sep 25, 2019
@sharifelgamal
Copy link
Collaborator

@sagar30051991 This now has a clearer solution message. Enabling virtualization should fix the issue you're seeing. I'm going to close this for now, if you still see an issue once you enable virtualization, you can reopen this issue with /reopen with more info.

@tstromberg tstromberg removed the needs-solution-message Issues where where offering a solution for an error would be helpful label Dec 19, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/virtualbox kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

5 participants