Kernel driver not installed (rc=-1908)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
skiing
Posts: 3
Joined: 16. May 2017, 18:13

Kernel driver not installed (rc=-1908)

Post by skiing »

Please help I am very new to my project and I am trying to set up a VM and a redhat linux machine
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/vboxconfig'
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

I run the command as root and I get the following error
[root@oc4281532635 timothythompson1614]# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:

  yum install gcc make
  yum install kernel-devel-3.10.0-514.10.2.el7.x86_64
(The last command may fail if your system is not fully updated.)
  yum install kernel-devel
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:

  yum install gcc make
  yum install kernel-devel-3.10.0-514.10.2.el7.x86_64
(The last command may fail if your system is not fully updated.)
  yum install kernel-devel

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.
[root@oc4281532635 timothythompson1614]#
I have tried the /sbin/vboxconig several times with the same results.

Please help
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

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

Post by Martin »

Looks similar to an erlier problem in Fedora: Try disabling secure boot in BIOS.
skiing
Posts: 3
Joined: 16. May 2017, 18:13

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

Post by skiing »

How would I do that?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post by Perryg »

skiing
Posts: 3
Joined: 16. May 2017, 18:13

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

Post by skiing »

Is this the only solution you know of?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post by Perryg »

It's the one that makes the most sense, but then again it is always your choice. You can fix this with the host but that demands you creating the actual key and for that you would need Fedoras help.
Post Reply