Ask Your Question

VirtualBox Kernel driver not installed (rc=-1908) after kernel upgrade

asked 2012-06-21 12:44:05 -0600

Majid Azimi gravatar image

updated 2012-06-21 12:52:23 -0600

Hi guys,

I have installed VirtualBox from rpmfusion on fedora 17. Now I have updated to kernel 3.4.3-1.fc17.x86_64 virtualbox shows this error when running a ubuntu VM:

Failed to open a session for the virtual machine Ubuntu.
The virtual machine 'Ubuntu' has terminated unexpectedly during startup with exit code 1.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}

There is a second error message:

Kernel driver not installed (rc=-1908)    
The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded.    
If you installed or VirtualBox OSE package recently you need to restart the computer for the driver to load.    
Alternatively, you may attempt to load the driver by issuing the following command with system administrator (root) privileges:    

I looked at /etc/sysconfig/modules/VirtualBox-OSE.modules and it doesn't exists. There is another similar file: /etc/sysconfig/modules/VirtualBox.modules. I ran this, but it shows:

ERROR: Module vboxdrv not found.
ERROR: Module vboxnetflt not found.
ERROR: Module vboxnetadp not found.

Can anyone help?

VirtualBox: VirtualBox-4.1.16-3.fc17.x86_64

kmod-VirtualBox: kmod-VirtualBox-4.1.16-1.fc17.2.x86_64

dkms: dkms-

edit retag flag offensive close merge delete


Recent versions will ask to run sudo su -c '/etc/init.d/vboxdrv setup' which will only work if Secure Boot is fully disabled. Some UEFI setup screens call this "Setup Mode."

rayfoss gravatar imagerayfoss ( 2016-03-17 08:39:11 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2012-11-23 14:39:39 -0600

aestu gravatar image

updated 2012-11-23 14:41:41 -0600

Install specific kernel modules package for your kernel.

Get your version kernel:

$ uname -r

Then install the corresponding kmod-VirtualBox-* package:

$ yum search kmod-VirtualBox

Finally, run:

$ /etc/sysconfig/modules/VirtualBox.modules
edit flag offensive delete link more


Thanks!!! :)

lourencoccc gravatar imagelourencoccc ( 2013-03-09 17:10:20 -0600 )edit

My kmod was deleted for no reason. Helped me a lot your guide, thanks !

Ronald Andrade gravatar imageRonald Andrade ( 2013-04-18 03:01:08 -0600 )edit

@Ronald, "Operation not permitted" etc is often because you are running a command as a user who lacks system privileges to perform the action. The root user will usually be able to do it. These instructions say to run "$ /etc/sysconfig/modules/VirtualBox.modules" but a more accurate instruction is "# /etc/sysconfig/modules/VirtualBox.modules" where "#" indicates to run the command as root. They also don't say to actually install the modules you need, for me the command was "# yum install kmod-VirtualBox-3.9.2-200.fc18.x86_64.x86_64".

neekfenwick gravatar imageneekfenwick ( 2013-05-17 00:42:15 -0600 )edit

Thank you so much, it's work for me

Malek B. gravatar imageMalek B. ( 2013-06-24 05:21:10 -0600 )edit

Thanks for the helpful answer. I had to run /etc/sysconfig/modules/kvm.modules instead of the last step to get it working with F18.

tomjowitt gravatar imagetomjowitt ( 2013-07-22 07:36:44 -0600 )edit

answered 2012-06-22 00:02:50 -0600

davidva gravatar image

updated 2012-06-22 00:09:54 -0600

try from console

su -c '/etc/init.d/vboxdrv setup'

if it no work then remove and reinstall

su -c 'yum -y remove virtualbox'

su -c 'yum -y install virtualbox'

other solution

There are two types of virtualbox. virtualbox and virtualbox ose, I recommend you try the original version of Oracle Virtualbox site, you can easily install it via PostinstallerF

edit flag offensive delete link more



I'm new to fedora, but couldn't one simply run yum reinstall instead of remove and then install?

Lindh-E gravatar imageLindh-E ( 2014-06-21 12:35:36 -0600 )edit

I'm using VirtualBox over Oracle linux 7 it is the same as Centos 7 and su -c '/etc/init.d/vboxdrv setup' solved the problem . Thanks

Hamada gravatar imageHamada ( 2015-05-29 12:11:10 -0600 )edit

answered 2012-11-23 19:51:51 -0600

tzicatl gravatar image

Every time Fedora installs a new kernel and VirtualBox stops working, this is the only package I need to install: kmod-VirtualBox. It always depends on the latest installed kernel version. That way is easier than looking for a specific version of kmod-VirtualBox.

Don't forget to restart your system or run /etc/sysconfig/modules/VirtualBox.modules as others have already pointed out.

edit flag offensive delete link more


This happens on every upgrade. Sometimes there is no kmod built for the latest... any idea how to fix this... virtualbox is not the type of program I can live without for a day.

rayfoss gravatar imagerayfoss ( 2014-10-02 09:36:44 -0600 )edit

I get this errors that are here

RealPlayerCraft gravatar imageRealPlayerCraft ( 2016-02-07 13:52:30 -0600 )edit

Question Tools



Asked: 2012-06-21 12:44:05 -0600

Seen: 73,595 times

Last updated: Nov 23 '12