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:
Originally Posted by Kyluke
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:
Then Press the Accept button on the bottom right and allow these applications to install.
[X] Base Development
[X] Linux Kernel Development
[X] C/C++ Development
2) Then try to do this in aterminal session:
3) Next, to automatically load the kernel drivers for you go into:
sudo /etc/init.d/vboxdrv setup
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:
YaST / Software / Software Management, search on dkms and if you have added in the Packman repository, you find the application and then install it.
5) Make sure to consult this article for all things about using VirtualBox:
sudo chmod +x /usr/lib/virtualbox/VirtualBox