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

VirtualBox on top of VMware: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX) #5111

Closed
rajeshramt opened this issue Aug 17, 2019 · 5 comments
Labels
cause/nested-vm-config When nested VM's appear to play a role co/virtualbox kind/support Categorizes issue or PR as a support question.

Comments

@rajeshramt
Copy link

I have created a ubuntu16 server on my vmware server and trying to install minicube in it. But I'm getting the following error

minikube start
😄 minikube v1.3.1 on Ubuntu 16.04
⚠️ Please don't run minikube as root or with 'sudo' privileges. It isn't necessary with virtualbox driver.
💡 Tip: Use 'minikube start -p ' to create a new cluster, or 'minikube delete' to delete this one.
🔄 Starting existing virtualbox VM for "minikube" ...
E0817 11:44:55.825972 2146 start.go:723] StartHost: start: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.183069 Power up failed (vrc=VERR_VMX_NO_VMX, rc=NS_ERROR_FAILURE (0X80004005))

💣 Unable to start VM
❌ Error: [VBOX_VERR_VMX_NO_VMX] start: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.183069 Power up failed (vrc=VERR_VMX_NO_VMX, rc=NS_ERROR_FAILURE (0X80004005))
💡 Suggestion: Please check your BIOS, and ensure that you are running without HyperV or other nested virtualization that may interfere
⁉️ Related issues:
#1994

😿 If the above advice does not help, please let us know:
👉 https://github.com/kubernetes/minikube/issues/new/choose

@afbjorklund
Copy link
Collaborator

If you really want to run a VM in a VM (nested virtualization), changes are you need to do some more VMware configuration first. Otherwise you could create two VMs: one for Ubuntu, one for minikube ?

@afbjorklund afbjorklund added cause/nested-vm-config When nested VM's appear to play a role co/virtualbox labels Aug 17, 2019
@tstromberg
Copy link
Contributor

For nested VM configurations, consider using the none driver:

https://minikube.sigs.k8s.io/docs/reference/drivers/none/

There isn't much else we can do otherwise to make VMware compatible with VirtualBox: https://superuser.com/questions/1147113/running-virtual-box-vm-inside-vmware-vm-windows-server-2008

@tstromberg tstromberg added the kind/support Categorizes issue or PR as a support question. label Aug 17, 2019
@tstromberg
Copy link
Contributor

FWIW, I'm also disappointed that minikube (gopsutil) didn't detect that it was running within a VMware VM here: otherwise we could have had it automatically suggest the none driver.

@tstromberg tstromberg changed the title install minicube on ubuntu(a vm on vmware) VirtualBox on top of VMware: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX) Aug 17, 2019
@tstromberg tstromberg added the needs-solution-message Issues where where offering a solution for an error would be helpful label Aug 17, 2019
@tstromberg
Copy link
Contributor

One possibility: improve the solution message to mention the none driver, if run on Linux.

@rajeshramt
Copy link
Author

thanks guys.... let me check your suggestions, I'll let you know the status soon :)

@tstromberg tstromberg removed the needs-solution-message Issues where where offering a solution for an error would be helpful label Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cause/nested-vm-config When nested VM's appear to play a role co/virtualbox kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

3 participants