Problem installing VirtualBox

4 Antworten [Letzter Beitrag]
teodorescup

I am a member!

Offline
Beigetreten: 01/04/2011

Hello,
I have a problem installing/using VirtualBox in Dagda (64 bit),
It reports:

Kernel driver not installed (rc=-1908)

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

and

WARNING: The character device /dev/vboxdrv does not exist.
	 Please install the virtualbox-ose-dkms package and the appropriate
	 headers, most likely linux-headers-generic.

	 You will not be able to start VMs until this problem is fixed.

Google wasn't of much help, I tried installing the suggested packages, adding the user to the virtualbox group, and ran

root: modprobe vboxdrv
FATAL: Module vboxdrv not found.

and

sudo /etc/init.d/vboxdrv setup

but nothing seems to work.
What am I missing ?

quiliro@congresolibre.org
Offline
Beigetreten: 10/28/2010

On 22/11/11 09:45, name at domain wrote:
> virtualbox-ose-dkms package

Was the installation of this package successful?

ivaylo
Offline
Beigetreten: 07/26/2010

В 15:45 +0100 на 22.11.2011 (вт), teodorescup[@nospam] написа:
> Hello,

Hi,

> I have a problem installing/using VirtualBox in Dagda (64 bit),
> It reports:
> Kernel driver not installed (rc=-1908)
>
> Please install the virtualbox-dkms package and execute 'modprobe vboxdrv' as
> root.

> but nothing seems to work.
> What am I missing ?

Install the virtualbox-dkms and the dkms packages. After that install
the kernel headers for the current kernel.

To find out the version of the kernel
$ uname -a

or

$ aptitude search linux-image |grep ^i

aptitude search linux-image |grep ^i
i linux-image-2.6.38-12-generic - Linux kernel image for version
2.6.38 on x

The corresponding headers package is linux-headers-2.6.38-12.

When you have the virtualbox-dkms and the dkms packages, the package
manager will compile the required modules while installing the kernel
headers.

When done, start the virtualbox service:

$ sudo service virtualbox start

Now just start VirtualBox.

Every time you will use VirtualBox you have to start the virtualbox
service. This loads the modules.

When the version of the kernel changes you will have to install the
corresponding kernel headers again.

akirashinigami

I am a member!

I am a translator!

Offline
Beigetreten: 02/25/2010

I never had to start the virtualbox service in order to run VirtualBox. Then again, I'm still running Taranis, so I don't know if that's changed in newer versions of Trisquel.

teodorescup

I am a member!

Offline
Beigetreten: 01/04/2011

Thank you for your responses.
The problem apparently was with the linux-header and linux-image package versions (I also installed virtualbox-dkms).