

Virtualbox on OpenSUSE 13.1: vboxdrv troubles and troubleshooting
source link: https://msiyer.com/virtualbox-on-opensuse-13-1-vboxdrv-troubles-and-troubleshooting/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Virtualbox on OpenSUSE 13.1: vboxdrv troubles and troubleshooting
I installed Virtualbox on my openSUSE 13.1 system using the following command
sudo zypper in virtualbox
I created a Windows 7 VM. Everything worked. I updated the system later and found Virtualbox reluctant to start. It simply said
Kernel driver not installed (rc=-1908)”
WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (3.5.0-18-generic) or it failed to load. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup You will not be able to start VMs until this problem is fixed.
The kernel was definitely updated and the Dynamic Kernel Module Support (DKMS) did not work. If it had I would not have seen the above errors. I tried running
sudo /etc/init.d/vboxdrv setup
This failed. I understood from the logs that there was no make module installed on my system. I read further and understood that I was missing quite a lot of packages essential for compiling the driver. I did the following:
sudo zypper install make gcc gcc-c++ kernel-source kernel-syms
The log had mentioned about the KERN_DIR parameter(kernel directory) being indeterminate. This meant I needed the kernel-source package. kernel-syms(kernel symbols version) package is needed for the following reason:
Kernel symbols such as functions and variables have version informationattached. This package contains the symbol versions for the standard kernels.Installing this package before compiling kernel modules outside of thekernel source tree adds symbol version information in these modules.Modules without symbol version information can only be loaded onexactly the kernel version for which they were compiled. Modules withsymbol version information can also be loaded into more recent kernelsas long as none of the symbols exported by the kernel changes. (Thisprovides a reasonable level of confidence but does not guarantee that**the module will still work.)
Once this was done, I executed
sudo /etc/init.d/vboxdrv setup
Virualbox has no starting troubles now.
Recommend
-
13
Linux [SOLVED] openSUSE Tumbleweed VirtualBox guest: Resolution stuck at 800x600 after fresh install A VirtualBox Guest Additions bug defined in the Ticket...
-
13
Virtualization openSUSE 13.2: Day-1 troubles and troubleshooting - VLC, wireless etcetera ...
-
4
Linux NoMachine adventures on openSUSE Leap and Tumbleweed NoMachine is a very good remote desktop solution for Linux. It installs fine on openSUSE Leap whi...
-
6
Linux openSUSE and IceWM adventures - minimalist computing IceWM was an accidental discovery made during my quest for a minimal openSUSE system. I replaced KDE Plasma 5 wit...
-
5
Virtualization Windows 11 VirtualBox guest in openSUSE Tumbleweed host How to install Windows 11 as VirtualBox guest in openSUSE Tumbelweed...
-
11
解决在opensuse下virtualbox无法挂载主机USB设备的问题 0 Comments 因为要用virtualbox中的Windows...
-
7
About troubles - ongoing and future possible Back to General discussions forum
-
2
Magento 2 and troubles with email styles Recently in Webgriffe we migrated a Magento 2 store to a newer production infrastructure managed by us. The new setup was prepared using m...
-
3
@ayothedocayothedocI enjoy exploring new ideas and themes through my own cre...Credibility
-
6
Birchtree By Matt Birchler I've been writing here since 2010! Back when personal blogs were all the rage. Kids, a...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK