You are not logged in.

#1 2017-08-16 20:09

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Virtual Box error (Kernel driver not installed (rc=-1908))

I am trying to create a virtual machine with VirtualBox 4.3.36 (default apt-get install) in Q4OS 1.8.7 x64 (Full Profile packages installed) but when I try to start the VM it has the following error:

vbox.jpg

Has anyone ever experienced this?

Offline

#2 2017-08-17 23:44

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Virtual Box error (Kernel driver not installed (rc=-1908))

Have you installed 'virtualbox-dkms' package ?

Offline

#3 2017-08-18 19:41

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Re: Virtual Box error (Kernel driver not installed (rc=-1908))

Good afternoon.

Yes, it is installed.

dkms.png

I've looked for this error in some forums on the Internet, and I think the problem is more complex than it seems... It's also recurrent in Ubuntu, Linux Mint... I've also found countless suggestions to get around the problem, and I'm analyzing which I can use

I will continue researching and if I succeed, I will leave feedback here.

Thank you!

Offline

#4 2017-08-18 21:53

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Virtual Box error (Kernel driver not installed (rc=-1908))

try using

sudo /usr/lib/virtualbox/vboxdrv.sh setup

smile

Offline

#5 2017-08-18 22:15

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Re: Virtual Box error (Kernel driver not installed (rc=-1908))

@Dai_trying,

Actually there is the "vboxdrv.sh" file in "/usr/lib/virtualbox/", I searched for this damn and had not been able to find !!! big_smile

But I managed to solve it differently, before reading your suggestion!

What did I do:

I deleted the version of VBOX that I had installed by the repository:

sudo apt-get purge virtualbox\*

I downloaded the latest version of the official Virtual Box website:

Debian 8 ("Jessie")

http://download.virtualbox.org/virtualbox/5.1.26/virtualbox-5.1_5.1.26-117224~Debian~jessie_amd64.deb

I installed two packages of "libqt5" (VBOX depends on them):

sudo apt-get install libqt5opengl5 libqt5x11extras5

And, finally, I installed Virtual Box with dpkg:

sudo dpkg -i virtualbox-5.1_5.1.26-117224~Debian~jessie_amd64.deb

Problem solved!

In another opportunity I will test the version of the repository (4.3.36) with your command.

Greetings!

Offline

#6 2017-08-18 23:07

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Virtual Box error (Kernel driver not installed (rc=-1908))

@rafaelramos
The right way to install Virtualbox 5.1 on Q4OS should be to add Virtualbox repository and install Virtualbox package. First of all, purge all related packages you have installed before. Then run in terminal:
$ sudo qrepoadd --gui
pick 'virtualbox' repository from drop-down to add it into Q4OS

Proceed Virtualbox setup:
$ sudo apt-get update
$ sudo apt-get install virtualbox-5.1

Now, you will have official Virtualbox repo installed, so you will get Virtualbox fixes and updates.

Please read Q4OS documentation, chapter '14. External software repositories' https://www.q4os.org/dqa007.html#extrepo

Offline

#7 2017-08-19 07:28

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Re: Virtual Box error (Kernel driver not installed (rc=-1908))

q4osteam wrote:

@rafaelramos
The right way to install Virtualbox 5.1 on Q4OS should be to add Virtualbox repository and install Virtualbox package. First of all, purge all related packages you have installed before. Then run in terminal:
$ sudo qrepoadd --gui
pick 'virtualbox' repository from drop-down to add it into Q4OS

Proceed Virtualbox setup:
$ sudo apt-get update
$ sudo apt-get install virtualbox-5.1

Now, you will have official Virtualbox repo installed, so you will get Virtualbox fixes and updates.

Please read Q4OS documentation, chapter '14. External software repositories' https://www.q4os.org/dqa007.html#extrepo

Thank you guys !

Offline

Board footer

Powered by FluxBB