Ask Your Question

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

asked 2012-06-21 17:44:05 +0000

updated 2012-06-21 17:52:23 +0000

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 ( 2016-03-17 13:39:11 +0000 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2012-11-23 20:39:39 +0000

aestu gravatar image

updated 2012-11-23 20:41:41 +0000

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 ( 2013-03-09 23:10:20 +0000 )edit

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

Ronald Andrade ( 2013-04-18 08:01:08 +0000 )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 ( 2013-05-17 05:42:15 +0000 )edit

Thank you so much, it's work for me

Malek B. ( 2013-06-24 10:21:10 +0000 )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 ( 2013-07-22 12:36:44 +0000 )edit

answered 2012-06-22 05:02:50 +0000

updated 2012-06-22 05:09:54 +0000

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 ( 2014-06-21 17:35:36 +0000 )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 ( 2015-05-29 17:11:10 +0000 )edit

answered 2012-11-24 01:51:51 +0000

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 ( 2014-10-02 14:36:44 +0000 )edit

I get this errors that are here http://pastebin.com/4CubwvM8

RealPlayerCraft ( 2016-02-07 19:52:30 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools



Asked: 2012-06-21 17:44:05 +0000

Seen: 71,640 times

Last updated: Nov 24 '12