I am trying to start the minikube using virtualbox driver but getting this error:
The vboxdrv kernel module is not loaded. Either there is no module\n available for the current kernel (5.10.60.1-microsoft-standard-WSL2) 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.1.32r149290". Please upgrade at https://www.virtualbox.org
and when I tried to install linux header by running
sudo apt install linux-headers-$(uname -r)
got this error
E: Unable to locate package linux-headers-5.10.60.1-microsoft-standard-WSL2
E: Couldn't find any package by glob 'linux-headers-5.10.60.1-microsoft-standard-WSL2'
E: Couldn't find any package by regex 'linux-headers-5.10.60.1-microsoft-standard-WSL2'
The following steps I have done:
Install Ubuntu 18.04 and enable WSL2
Install VirtualBox 6.1 on Windows 10 Home edition
(Checked virtualization have already enabled in Task Manager-->Performance-->CPU)
I restated the system and tried to open Virtualbox from Ubuntu by running virtualbox
command and got this Warning msg
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (5.10.60.1-microsoft-standard-WSL2) or it failed to
load. Please recompile the kernel module and install it by
sudo /sbin/vboxconfig
You will not be able to start VMs until this problem is fixed.
After that tried to start minikube after setting virtualbox driver as default
Expected: minikube should start along with virtualbox
Actual:Not able to start VM