Hello, I'm having trouble installing/using VirtualBox. Can anyone help me get it working? I've gone through quite a few forum posts, and here are the steps I have tried so far:

For the record, I am running Trisquel 5.5, 64-bit, with the 3.7.1-gnu kernel.

1. Install from Add/Remove Applications

Installs fine. When I try to run my VM, I get the error:

"Kernel driver not installed (rc=-1908)

Please install the virtualbox-dkms package and execute 'modprobe vboxdrv' as root."

The package virtualbox-dkms is already installed, and running sudo modprobe vboxdrv gives the error:

"FATAL: Module vboxdrv not found."

Based upon this post https://trisquel.info/en/forum/problem-installing-virtualbox I then found my kernel version with uname -a, which gave "3.7.1-gnu".

Checking sudo apt-cache search 3.7.1-gnu, I saw the header package to install was "linux-headers-3.7.1-gnu". I attempted to install it, but it was already installed.

The last thing that post suggested was starting the service before running VirtualBox, so I tried sudo service virtualbox start. This failed on the step "No suitable module for running kernel found"

The next thing I tried was installing the newest version from Oracle *shivers in disgust*

2. Installing newest version from Oracle

Following the instructions here https://www.virtualbox.org/wiki/Linux_Downloads I added deb http://download.virtualbox.org/virtualbox/debian oneiric contrib to my /etc/apt/sources.list

Got the key, added it, ran sudo apt-get update, and installed "virtualbox-4.2". This removes the previously-installed VirtualBox files.

Lots of output to the terminal, highlight is:

"Trying to register the VirtualBox kernel modules using DKMS
Error! Bad return status for module build on kernel: 3.7.1-gnu (x86_64)
Consult /var/lib/dkms/vboxhost/4.2.6/build/make.log for more information.

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

In both of the log files it tells me to look at, the following line is present:

"include/uapi/linux/types.h:4:23: fatal error: asm/types.h: No such file or directory"

Also, in the /var/log/vbox-install.log file, there is this:

"ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it."

But I'm not sure what to do with that, if that's even worth doing. At any rate, the install failed, and VirtualBox in this case cannot be run (obviously).

And that's where I'm at! Any help you can provide would be great. I'm happy to answer any questions, as well. Thanks!

Reply via email to