VBox on 14.04: Kernel driver not installed (rc=-1908) [duplicate]

1

This question already has an answer here:

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.

This is a familiar message to everyone that uses Virtual Box. This "bug" has been popping up every few months at least since 11.10. I got it today for the first time on 14.04 and unfortunately the classical solution of re-installing virtualbox-dkms is not having any effect:

sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get remove virtualbox-dkms sudo apt-get install virtualbox-dkms

What could be the reason for this old fix to...

0 0
2

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.

This is a familiar message to everyone that uses Virtual Box. This “bug” has been popping up every few months at least since 11.10. I got it today for the first time on 14.04 and unfortunately the classical solution of re-installing virtualbox-dkms is not having any effect:

sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get remove virtualbox-dkms sudo apt-get install virtualbox-dkms

What could be the reason for this old fix to fail?

Update: In the comments user bain makes...

0 0
3

Virtualbox

I recently installed the latest version of Virtualbox (4.3.12) by downloading the deb files from virtualbox.org on Ubuntu 14.04. The installation goes fine, but when trying to run Virtualbox, it reports the following 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.

Looks like some kernel driver has to be compiled for Virtualbox to run properly. But this is easy enough on Ubuntu and does not require a lot of effort. And here are the steps to do the necessary.

First install the kernel headers and build tools.

$ sudo apt-get install build-essential module-assistant ...
0 0
4

by

Kapil

Last Updated November 05, 2015 08:01 AM

On Installing Virtual box on Ubuntu 14.04, I got following message:

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.

Then on following the link I entered these commands:

sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get remove --purge virtualbox-dkms sudo apt-get install virtualbox-dkms

On Running the last command

sudo apt-get install virtualbox-dkms

I get an error:

Reading package lists... Done Building dependency tree Reading state information... Done Some...
0 0
5

==========================================================================

Kernel Live Patch Security Notice LSN-0035-1

February 22, 2018

linux vulnerability
==========================================================================

A security issue affects these releases of Ubuntu:

| Series | Base kernel | Arch | flavors |
|------------------+--------------+----------+------------------|
| Ubuntu 16.04 LTS | 4.4.0 | amd64 | generic |
| Ubuntu 16.04 LTS | 4.4.0 | amd64 | lowlatency |
| Ubuntu 14.04 LTS | 4.4.0 | amd64 | generic |
| Ubuntu 14.04 LTS | 4.4.0 | amd64 | lowlatency |

Summary:

On February 22, fixes for CVE-2017-5715 were released into the Ubuntu Xenial
kernel version 4.4.0-116.140. This CVE, also known as "Spectre," is caused
by flaws in the design of speculative execution hardware in the computer's
CPU, and could be used to access...

0 0
6

I tried to set up an virtual machine on Ubuntu 12.10.I installed Oracle Vm VirtualBox Manager. Then, i followed the steps and i choose .iso file from settings>storage.Then clicked live cd/dvd option.Then OK,when i clicked to start button i get such an error :

Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permissionproblem 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 reinstalled program and rebooted pc, but not worked.Also, updated kernel driver but not worked.What can be done to solve it...

0 0
7

Tried to correct the issues. I have purged all 3 packages, dkms, linux-heders (did each of the packages by the full name) and virtual box. Did a reboot and then started to reinstall:

sudo apt-get install dkms

got this result:

Code: Select all Expand viewCollapse viewReading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dkms
0 upgraded, 1 newly installed, 0 to remove and 291 not upgraded.
Need to get 0 B/64.6 kB of archives.
After this operation, 349 kB of additional disk space will be used.
Selecting previously unselected package dkms.
(Reading database ... 168457 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5.14.04.1_all.deb ...
Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up dkms...
0 0
8

Boot 4.4.0-18-generic and reinstall virtualbox (all three parts):

Code: Select all

Setting up virtualbox-qt (5.0.4-dfsg-2) ... Setting up virtualbox-dkms (5.0.4-dfsg-2) ... Loading new virtualbox-5.0.4 DKMS files... Building only for 4.4.0-18-generic Building initial module for 4.4.0-18-generic Error! Bad return status for module build on kernel: 4.4.0-18-generic (x86_64) Consult /var/lib/dkms/virtualbox/5.0.4/build/make.log for more information. * Stopping VirtualBox kernel modules [ OK ] * Starting VirtualBox kernel modules * No suitable module for running kernel found [fail] invoke-rc.d: initscript virtualbox, action "restart" failed. Processing triggers for menu (2.1.46ubuntu1) ...

Code: Select all

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

If you installed the latest version of Oracle Virtualbox (4.3.12 or 4.3.14) for creating multiple Virtual Machines on Ubuntu 14.04 system and when trying to run the Virtualbox, if it shows the following 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.

It looks like there is some kernel driver required for Virtualbox to run properly.
So here are the steps to do the necessary.

Firstly install the kernel headers and build tools.

# sudo apt-get install build-essential module-assistant
# sudo m-a prepare

And now compile the VirtualBox Kernel...

0 0
10

Today, I upgraded my Ubuntu 14.04 LTS system to Linux Kernel 4.4.4. Upgrade process went without any errors so far. However, Oracle VirtualBox didn’t work after upgrading to Kernel 4.4.4.

Whenever I started a new virtual machine, it showed the following error and didn’t let the guest machine to start.

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 '/sbin/rcvboxdrv 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. Where: sublibOsInit what:3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed, On linux, open returned ENOENT.

As you can see in the above screenshot, the error wizard says that you can fix the problem by running the...

0 0
11

I noticed somehow an error in VirtualBox working on Linux Ubuntu Desktop 16.04:

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 install virtualbox-dkms package and load the kernel module by executing
‘modprobe vboxdrv’
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.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) – The support driver is not installed. On linux, open returned ENOENT.

To solve the problem it was necessary to disable the secure boot in the BIOS, in my case “Windows UEFI” was selected, changed to “Other OS”.
Then, after running the system, executed the command from the root user:

In Ubuntu, you can switch to root as follows:

Done, the error...

0 0
12
...
0 0