Virtualbox kernel drivers not installed


I’m having a problem with virtualbox. It gives me this 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.

I have no idea what to do or what is wrong.

Please wait on giving an answer until moved to the proper forum.

Thank You,

This message is now ready for comment.

Thank You,

I moved your question to the correct forum Kyluke. As to your what you have asked, VirtualBox must compile its driver against the running kernel. This happens when first installed and anytime there after if you update your kernel. You must do up to five more things to fix this issue:

**1) Make sure to do this:
Open YaST / Software / Software Management - Select the View Button on the top left and pick Patterns. Now, you will see several Patterns listed and you want to select:


[X] Base Development
[X] Linux Kernel Development
[X] C/C++ Development

Then Press the Accept button on the bottom right and allow these applications to install.

2) Then try to do this in aterminal session:

sudo /etc/init.d/vboxdrv setup

3) Next, to automatically load the kernel drivers for you go into:

YaST / Software / Software Management, search on dkms and if you have added in the Packman repository, you find the application and then install it.

4) Ever so often I get a report that the VirtualBox script is not marked executable so you can try this if that is the case:

sudo chmod +x /usr/lib/virtualbox/VirtualBox

5) Make sure to consult this article for all things about using VirtualBox:

Thank You,

Hi Kyluke. This is how I do it.

How to install Oracle VirtualBox:
  a) Make sure that your system is up-to-date
  b) Install the packages needed to compile external modules
     # zypper in gcc make kernel-devel
     - Note: In my case, 'make' was already installed
  c) # zypper ar virtualbox
     # zypper ref -r virtualbox
     # zypper in VirtualBox-4.1
     - Note: Additional package to install: libpng12-0
  d) YaST > User and Group Management > Users > Edit > Details > Additional Groups > check "vboxusers" > OK > OK
  e) Install VirtualBox ExtensionPack (necessary for USB support)
     $ cd Downloads
     $ wget
     # VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack
  f) Reboot (necessary because of step d)
  g) VirtualBox is now ready to use. After any kernel upgrade, you need to recompile the VBox kernel modules
     # /etc/init.d/vboxdrv setup

When I run g) I get this
Recompiling VirtualBox vboxadd kernel module, NOT. It has been packaged. done
and then exit

I don’t know what it means. Never seen it before. You could check out this thread:
VirtualBox kernel module, NOT. It has been packaged.