Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've been trying for weeks now. I can't run my Windows XP virtual machine because of the error:

    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.

I already installed the correct 3.4.0 headers and images. But when I run the setup command I get:

user@ChrUbuntu:~$ sudo /etc/init.d/vboxdrv setup --kernelsourcedir /d
 * Stopping VirtualBox kernel modules                                   [ OK ] 
 * Uninstalling old VirtualBox DKMS kernel modules                      [ OK ] 
 * Trying to register the VirtualBox kernel modules using DKMS                 Error! Your kernel headers for kernel 3.4.0 cannot be found.
Please install the linux-headers-3.4.0 package,
or use the --kernelsourcedir option to tell DKMS where it's located

 * Failed, trying without DKMS
 * Recompiling VirtualBox kernel modules                                       
 * Look at /var/log/vbox-install.log to find out what went wrong

I'm using Acer c7 Chromebook. Please help.

share|improve this question
add comment

1 Answer

With --kernelsourcedir /d you are pointing the script towards /d which doesn't exist. Omit the --kernelsourcedir altogether.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.