Hello i’m new to openSUSE and was trying to install virtualbox. i got all the prerequisites and virtualbox installed from the site. i open it and try to open a virtual machine i made and i get the 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. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary."
i tried ‘/etc/init.d/vboxdrv setup’ in terminal logged in as root and i get this
“Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)”
Install the Linux Kernel Development Pattern through the software installer. This will install everything needed to compile the kernel module. After that, open a terminal window, issue command below, enter rootpassword when prompted for:
/etc/init.d/vboxdrv setup
This without asking, my guess is you don’t have the kernel-sources or related installed. Let us know how you got on.
Check the log file that is mentioned in the error message. If there’s nothing of interest there (or too hard to tell what’s going on), just to be sure, execute the following as root:
zypper in kernel-source linux-kernel-headers kernel-syms module-init-tools make gcc
This will install any required components you will need to run the vboxdrv kernel compile. It’s subtle, 'cause I once got stuck on a brand new install where I had forgotten “make” and that threw a really bizarre error for a display driver kernel module.