-
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
💣 Unable to start VM: WARNING: The vboxdrv kernel module is not loaded #4060
Comments
VM version 6.0.4 |
Did you try loading the module manually? |
yes i tried . but i m getting an error. modprobe: ERROR: could not insert 'vboxdrv': Required key not available |
Closing as dupe of #4043 Basically, this error is a sign of a failed VirtualBox installation. The solution is to reinstall VirtualBox. We should direct users to do so. |
In my case, it was because of not loaded modules after a new VirtualBox installation. You might direct users to reboot first if VirtualBox was installed recentrly, and if the problem persists, reinstall VBox. |
still gettting the same error :
has anyone solved it ? I'm stuck on this for last one day and can't find anything over the internet that is really helpful. |
@adarshaJha - Yes. I suggest you try running Worst case, I would try reinstalling VirtualBox and rebooting, or installing libvirt/kvm and switching to that driver instead. |
When I am trying to start minikube
I get the below error
when I try to fix this by trying the command
I get this error
I have already reinstalled virtualbox, but I think that is not helping. |
@tstromberg i am still facing the issue, after doing what you suggested. Is there anything else i should try. |
@adarshaJha maybe you should try to use kvm instead of virtualbox? I faced the same problem with virtualbox, but installing kvm and using it instead did the trick. |
Reinstalling Virtualbox worked out for me. |
have you found out any solution for this problem?? i am still stuck ! |
I had the same issue, minikube said me to run sudo /sbin/vboxconfig and I did. Installing gcc-12 worked for me. |
ubuntu@knode:~$ sudo minikube start
[sudo] password for ubuntu:
😄 minikube v1.0.0 on linux (amd64)
🤹 Downloading Kubernetes v1.14.0 images in the background ...
🔥 Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
💣 Unable to start VM: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module\n available for the current kernel (4.8.0-36-generic) or it failed to\n load. Please recompile the kernel module and install it by\n\n sudo /sbin/vboxconfig\n\n You will not be able to start VMs until this problem is fixed.\n6.0.4r128413". Please upgrade at https://www.virtualbox.org
😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new
The text was updated successfully, but these errors were encountered: