-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Improve error handling for "VirtualBox won't boot a 64bits VM when Hyper-V is activated" #4051
Comments
@Dhiraj0007 IIUC are you using virtualbox to create the VM when Hyper-V is activated? |
Yes |
@Dhiraj0007 Only one hypervisor can run at a time, and since Hyper-V runs all the time as it is enabled virtualbox won't boot a 64bits VM. The workaround is to disable Hyper-V when you want to run VirtualBox. |
@Dhiraj0007 try this workaround and lets see this works for you or not? |
Did we find any solution for this problem? |
When you want to use Hyper-V instead of the default vBox.
|
I was able to deactivate hyper-V. However, now I get an error message from Docker that it requires Hyper-V to work properly, and |
I am also facing the similar problem , when you disable the deactivate hyper-V and it wont able to connect the virtual box itself. since i have download the latest version |
@tstromberg Latest VirtualBox 6.1.16 can run 64bits VM with Hyper-V backend |
I am running virtualbox 6.1.32 on windows-10. but I still see the above reported issue. PS C:> minikube start --driver=virtualbox
X Exiting due to PR_VBOX_HYPERV_64_BOOT: Failed to start host: creating host: create: precreate: This computer is running Hyper-V. VirtualBox won't boot a 64bits VM when Hyper-V is activated. Either use Hyper-V as a driver, or disable the Hyper-V hypervisor. (To skip this check, use --virtualbox-no-vtx-check)
|
when I disable the check, as suggested in the error message above, I do get other error as shown below. PS C:\WINDOWS\system32> minikube start --driver=virtualbox --no-vtx-check=true
Details: 00:00:02.438665 Power up failed (vrc=VERR_INTNET_FLT_IF_NOT_FOUND, rc=E_FAIL (0X80004005))
X Exiting due to GUEST_NOT_FOUND: Failed to start host: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: filestore "minikube": open C:\Users\tripathip.minikube\machines\minikube\config.json: The system cannot find the file specified.
|
$ minikube start --vm-driver kvm2
X Saliendo por un error PR_VBOX_HYPERV_64_BOOT: Failed to start host: creating h
|
Error-! Exiting due to GUEST_DRIVER_MISMATCH: The existing "minikube" cluster was created using the "virtualbox" driver, which is incompatible with requested "hyperv" driver.
Solutions- C:\Windows\system32>minikube delete (delete the existing minikube cluster)
C:\Windows\system32>minikube start --vm-driver hyperv (Use this command and you must have windows10 Pro OS)
And please must check the virtual machine plateform checked off and hypervisor is turn on by going to turn on windows feature on or off. |
Hi, for me the issue has been solved by the following steps:
#Result C:\WINDOWS\system32> minikube start --driver=hyperv
#OR
|
Oque funcionou para mim foi: minikube delete --all e depois minikube start dentro do PowerShell7 |
I am gtting below error,while trying to start the minikube,please help:
! Exiting due to GUEST_DRIVER_MISMATCH: The existing "minikube" cluster was created using the "virtualbox" driver, which is incompatible with requested "hyperv" driver.
C:\Windows\system32>minikube status |
Shows the error bellow:
! Unable to start VM: create: precreate: This computer is running Hyper-V. VirtualBox won't boot a 64bits VM when Hyper-V is activated. Either use Hyper-V as a driver, or disable the Hyper-V hypervisor. (To skip this check, use --virtualbox-no-vtx-check)
The text was updated successfully, but these errors were encountered: