YaST installed VirtualBox and openSUSE 13.2

Hello,

I’ve had headaches installing VirtualBox in 13.2, which worked well in 13.1. Following another thread, and specifically only installing three components (virtualbox, virtualbox-host-kmp-desktop, and virtualbox-qt), I was able to get it to install and present the GUI. I’ve created a Win7 instance, but when I attempt to start it, booting from an .iso to build it, I get the Kernel driver not installed (rc=-1908) error. I’ve attempted to run the “sudo /etc/init.d/vboxdrv setup” command, and it refuses to work as the kernel module has already been packaged.

Running uname -a gives me this: Linux <computername> 3.16.7-21-desktop #1 SMP PREEMPT Tue Apr 14 07:11:37 UTC 2015 (93c1539) x86_64 x86_64 x86_64 GNU/Linux.

I’m not really sure where to turn. Any assistance will be most appreciated.

TIA,
Mike

Did you reboot after installing VirtualBox?
Do you really have virtualbox-host-kmp-desktop installed and does it match your kernel?
Please post a list of all your installed kernel/virtualbox packages:

rpm -qa| egrep -i "kernel|virtualbox"

Did you ever install Oracle’s package? That might overwrite openSUSE’s kernel module or remove it if uninstalled.
Try to reinstall virtualbox-host-kmp-desktop:

sudo zypper in -f virtualbox-host-kmp-desktop

And check whether the vboxdrv service is enabled and started (it should be by default):

systemctl status vboxdrv

If not, the kernel module is not loaded.

I’ve become so used to not having to reboot, that I didn’t. I did reboot, and so far so good. Feeling kind of foolish right now. Thanks wolfi323!

But a question. Is there any problem with installing virtualbox-guest-kmp-desktop? I want to increase the screen size.

Thanks,
Mike

Well, the kernel module is loaded during boot.
You could have also started the service (that loads the kernel module) manually instead of rebooting:

sudo systemctl start vboxdrv

But a question. Is there any problem with installing virtualbox-guest-kmp-desktop? I want to increase the screen size.

There’s no point in installing virtualbox-guest-kmp-desktop on the host. (although it doesn’t harm either)
You need to install the guest additions in the guest.
It depends on the specific guest how to do that though. For an openSUSE guest you’d install virtualbox-guest-kmp-xxx (which actually should be installed by default anyway). For others you’d probably have to download the guest additions separately.
VirtualBox does offer a menu command to automatically download and insert a guest additions CD.