Skip to main content

Minikube Start error

Error

nuwans:~ $ minikube start
Starting local Kubernetes v1.9.0 cluster...
Starting VM...
E0229 06:08:09.490344    5655 start.go:159] Error starting host: Error creating host: Error executing step: Running precreate checks.
: 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-generic.\n\n\t You will not be able to start VMs until this problem is fixed.\n5.2.34_Ubuntur133883". Please upgrade at https://www.virtualbox.org.

 Retrying.
E0229 06:08:09.490920    5655 start.go:165] Error starting host:  Error creating host: Error executing step: Running precreate checks.
: 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-generic.\n\n\t You will not be able to start VMs until this problem is fixed.\n5.2.34_Ubuntur133883". Please upgrade at https://www.virtualbox.org
E0229 06:08:11.410990    5655 util.go:151] Error uploading error message: Error sending error report to https://clouderrorreporting.googleapis.com/v1beta1/projects/k8s-minikube/events:report?key=AIzaSyACUwzG0dEPcl-eOgpDKnyKoUFgHdfoFuA, got response code 400
 

How to fix

 
 
 1. install virtualbox-dkms

sudo apt-get install virtualbox-dkms
 
 2. install linux-headers-generic
sudo apt install linux-headers-generic

 3. reconfigure virtualbox-dkms
sudo dpkg-reconfigure virtualbox-dkms

Comments