?
?
Visualbox is much faster than the traditional VMware on Linux, and the key point is that it is more tightly integrated with the Linux kernel, which is also the advantage of open source.
However, the Linux kernel is updated very frequently, and every time the kernel is updated, VirtualBox will prompt:
VirtualBox kernel driver not installed. The Vboxdrv kernel module was either not loaded or/dev/vboxdrv is not a created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup ' as root.
So the VirtualBox kernel needs to be recompiled, and Ubuntu executes the following commands:
SUDO/ETC/INIT.D/VBOXDRV Setup
If prompted
?
* Stopping VirtualBox kernel modules???????????????????????????????????????????????????????????????? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [OK]
* Uninstalling old VirtualBox DKMS kernel modules??????????????????????????????????????????????????????? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [OK]
* Trying to register the VirtualBox kernel modules using DKMS
* Failed, trying without DKMS
* recompiling VirtualBox kernel modules
* Look At/var/log/vbox-install.log-Find out what went wrong
?
Locate the /var/log/vbox-install.log file, which is roughly the following:
makefile:172: * * * error:unable to find the sources of your current Linux kernel. Specify kern_dir=<directory> and run make again. ? Stop.
So you need to install the current Linux kernel source files, compile the VirtualBox kernel need it, Ubuntu under the following command to install the current Linux kernel source files:
sudo apt-get install linux-headers-' uname-r '
Note that enclosing the uname-r is not a single quotation mark, but the symbol below the ESC key.
Then compile the VirtualBox kernel to execute the following command:
SUDO/ETC/INIT.D/VBOXDRV Setup
Ubuntu cannot start Kernel driver not installed (rc=-1908) after upgrading Visualbox