Ask Your Question
4

Problems with VirtualBox 5.0 on Fedora 23 [Kernel driver not installed (rc=-1908)]

asked 2016-02-10 17:42:30 -0600

Stroozey gravatar image

Hey Guys, Today I downloaded the newest version of VirtualBox from the official Website. Afterwards I installed it via the .rpm file. But when I want to start a virtual machine, the program keeps saying:

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

When I tip the command: sudo /sbin/rcvboxdrv setup in, it only says : Bad argument setup .

After searching for the problem in the internet I saw people writing that the command :sudo /usr/lib/virtualbox/vboxdrv.sh setup . I immediately tipped it in and:

sudo /usr/lib/virtualbox/vboxdrv.sh setup
Stopping VirtualBox kernel modules                         [  OK  ]
Recompiling VirtualBox kernel modules                    [FAILED]
  (Look at /var/log/vbox-install.log to find out what went wrong)

As I'm a Linux Greenhorn I didn't/don't know what to do. That's the reason why I ask you for help

Kind Regards

edit retag flag offensive close merge delete

Comments

2

First, Fedora carries and support kvm virtual machines, with libvirt and VirtualManager as the client to manage it. Virtual Box is not free software and it is not include on Fedora, you can get it and install it from rpmfusion.org if you install VirtualBox from other source it is more likely that it will have some issues as Fedora release Kernels faster than Oracle can keep up releasing Kernel Drivers, even rpmfusion.org have a delay rewarding them. So please try rpmfusion.org VirtualBox or wait until VirtualBox has update the kernel modules. Best try Kvm, it works like a charm.

aeperezt gravatar imageaeperezt ( 2016-02-10 20:33:03 -0600 )edit

Before you go ahead give Gnome Boxes a try... works like a charm! To install VirtualBox, I recommend the following: First install DMKS (sudo dnf install dkms), then import Oracle's repository for VirtualBox following their guide, and then install VirtualBox (sudo dnf install VirtualBox-5.0).

There is a third-party guide that tells you the detailed steps.

florian gravatar imageflorian ( 2016-02-10 21:45:39 -0600 )edit

First, Oracle VirtualBox for linux is free as in 'you don't have to pay for it' (define free :/). Second, it works like a charm on Fedora 23 - kernel 4.4.3-300.fc23.x86_64 (DKMS installed), like it did install and work for 99% of the time the last 4 years. VirtualBox always works for upstream distros in my experiences (VB-xx-F14 even worked on F20), so no problem Oracle repo offering a F22 version. Don't forget to get and install the extention pack found here. Install after VB-rpm by double clicking on it when downloaded, root passwd will be asked.

nippur gravatar imagenippur ( 2016-03-06 06:05:38 -0600 )edit

There is a different in concept free as you do not have to pay for it, and Free as freedom, you do can review, modify and use the software. Virtualbox is free as beer, not as in Freedom, Fedora support software Freedom, not free as no charge.

aeperezt gravatar imageaeperezt ( 2016-03-06 10:11:50 -0600 )edit

@aeperezt maybe you should tell that to Red Hat :P

nippur gravatar imagenippur ( 2016-04-20 02:43:37 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
4

answered 2016-05-04 18:43:57 -0600

marikawn gravatar image

I ran into the exact same problem with Fedora 23. When I tried to run VirtualBox 5.0.20 it gave me the same error messages. The problem is that you don't have the "kernel-devel" or "dkms" or "kernel-headers" packages installed.

Solution:

sudo dnf install kernel-devel dkms kernel-headers

Then re-run your '/sbin/rcvboxdrv setup' script; it should work!

Reference: http://www.tecmint.com/install-virtua...

edit flag offensive delete link more

Comments

Thanks! This worked fine!

wellprog gravatar imagewellprog ( 2016-05-24 13:33:05 -0600 )edit

Good fix, thanks

Fedora bill gravatar imageFedora bill ( 2016-08-17 18:47:22 -0600 )edit

Ok fix work fine. Thanks

Okogu gravatar imageOkogu ( 2016-09-15 14:57:53 -0600 )edit

Nice Work... i use fedora 27 and worked fine!!

robertogv64 gravatar imagerobertogv64 ( 2018-02-07 07:04:07 -0600 )edit
0

answered 2018-01-03 22:36:39 -0600

kaiwan gravatar image

I had a similar issue on FC 27 (with the 4.14.8-300.fc27.x86_64 kernel). When FC updates (esp the kernel i guess), VBox does not load as the vboxdrv kernel module has to be rebuilt for the new kernel. So, from the shell:

$ VBox

WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.14.8-300.fc27.x86_64) or it failed to load. Please try load the kernel module by executing as root

       dnf install akmod-VirtualBox kernel-devel-4.14.8-300.fc27.x86_64
       akmods --kernels 4.14.8-300.fc27.x86_64 && systemctl restart systemd-modules-load.service

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

Unknown application - VBox

$

Follow the instructions above and all should be fine..

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-02-10 17:42:30 -0600

Seen: 33,795 times

Last updated: Jan 03 '18