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

Retriable failure: create: precreate Error // The character device /dev/vboxdrv does not exist #5931

Closed
ZCJ opened this issue Nov 16, 2019 · 3 comments
Labels
co/virtualbox kind/support Categorizes issue or PR as a support question. os/linux triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@ZCJ
Copy link

ZCJ commented Nov 16, 2019

I have been using minikube for a long time and never had issues - I have recently upgraded to ubuntu 19.10 and since then I am unable to start minikube.
virtualbox-dkms is installed (as recommended in the message below) and security boot is disabled as per #3974

The exact command to reproduce the issue: minikube start

The full output of the command that failed:

minikube v1.5.2 on Ubuntu 19.10
🔥 Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
🔄 Retriable failure: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, most likely linux-headers-oem.\n\n\t You will not be able to start VMs until this problem is fixed.\n6.0.14_Ubuntur132055". Please upgrade at https://www.virtualbox.org
🔥 Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
🔄 Retriable failure: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, most likely linux-headers-oem.\n\n\t You will not be able to start VMs until this problem is fixed.\n6.0.14_Ubuntur132055". Please upgrade at https://www.virtualbox.org
🔥 Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
🔄 Retriable failure: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, most likely linux-headers-oem.\n\n\t You will not be able to start VMs until this problem is fixed.\n6.0.14_Ubuntur132055". Please upgrade at https://www.virtualbox.org
🔥 Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
🔄 Retriable failure: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, most likely linux-headers-oem.\n\n\t You will not be able to start VMs until this problem is fixed.\n6.0.14_Ubuntur132055". Please upgrade at https://www.virtualbox.org

💣 Unable to start VM
❌ Error: [VBOX_DEVICE_MISSING] create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, most likely linux-headers-oem.\n\n\t You will not be able to start VMs until this problem is fixed.\n6.0.14_Ubuntur132055". Please upgrade at https://www.virtualbox.org
💡 Suggestion: Reinstall VirtualBox and reboot. Alternatively, try the kvm2 driver: https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/
⁉️ Related issues:
#3974

The output of the minikube logs command:

api load: filestore "minikube": Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.

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

docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS

The operating system version: ubuntu 19.10

@tstromberg tstromberg added co/virtualbox kind/support Categorizes issue or PR as a support question. labels Nov 20, 2019
@tstromberg
Copy link
Contributor

If VirtualBox is failing, there is not much we can do to make it work. Can you confirm that VirtualBox works for starting another VM?

If so, minikube should function properly.

@tstromberg tstromberg added os/linux triage/needs-information Indicates an issue needs more information in order to work on it. labels Nov 20, 2019
@ZCJ
Copy link
Author

ZCJ commented Dec 2, 2019

I think there is an issue with virtualbox and ubuntu 19.10

@ZCJ ZCJ closed this as completed Dec 2, 2019
@ZCJ
Copy link
Author

ZCJ commented Dec 8, 2019

command (sudo modprobe vboxdrv) from this link fixed it for me

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. os/linux triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

2 participants