terça-feira, 23 de setembro de 2014

Erro - Virtual Box no Linux - Kernel driver not installed (rc=-1908)

 Erro

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

First install the kernel headers and build tools.
$ sudo apt-get install build-essential module-assistant 
$ sudo m-a prepare
 
And now compile virtualbox kernel driver with the commanded as reported by the error message earlier.
$ sudo /etc/init.d/vboxdrv setup
 
The compilation should go fine and finish within a few minutes with an output similar to what is shown below.
$ sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Recompiling VirtualBox kernel modules ...done.
Starting VirtualBox kernel modules ...done.
 
Now run Virtualbox again and it should run fine.

Fonte: www.binarytides.com