**:~ #** uname -a
Linux localhost.localdomain 5.3.18-lp152.60-default #1 SMP Tue Jan 12 23:10:31 UTC 2021 (9898712) x86_64 x86_64 x86_64 GNU/Linux
**:~ #**
Installed virtualbox from openSUSE repo, added extensions from Oracle and attempted to start VM, error message reminded me to run /sbin/vboxconfig
**:~ #** /sbin/vboxconfig
Sources for building host modules are not present,
Use 'sudo zypper install virtualbox-host-source kernel-devel kernel-default-devel' to install them. Quitting ..
**:~ #** zypper install virtualbox-host-source kernel-devel kernel-default-devel
Loading repository data...
Reading installed packages...
'kernel-devel' is already installed.
No update candidate for 'kernel-devel-5.3.18-lp152.63.1.noarch'. The highest available version is already installed.
'kernel-default-devel' is already installed.
No update candidate for 'kernel-default-devel-5.3.18-lp152.63.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
The following NEW package is going to be installed:
virtualbox-host-source
1 new package to install.
Overall download size: 897.9 KiB. Already cached: 0 B. After the operation, additional 5.1 MiB will be used.
**Continue? [y/n/v/...? shows all options] (y): **
Retrieving package virtualbox-host-source-6.1.18-lp152.2.11.1.noarch (1/1), 897.9 KiB ( 5.1 MiB unpacked)
Retrieving: virtualbox-host-source-6.1.18-lp152.2.11.1.noarch.rpm ..............................................................................................................................................................................................................[done (86.5 KiB/s)]
Checking for file conflicts: ................................................................................................................................................................................................................................................................[done]
(1/1) Installing: virtualbox-host-source-6.1.18-lp152.2.11.1.noarch .........................................................................................................................................................................................................................[done]
**:~ #** /sbin/vboxconfig
Building kernel modules...
Build of VirtualBox host kernel modules failed.
Look at /var/log/virtualbox.log to find reasons.
**:~ #**
=== Building ‘vboxdrv’ module ===make[1]: Entering directory ‘/usr/src/kernel-modules/virtualbox/src/vboxdrv’
/usr/src/kernel-modules/virtualbox/src/vboxdrv/Makefile-header.gmk:193: *** Error: unable to find the headers of the Linux kernel to build against (KERN_DIR=/lib/modules/5.3.18-lp152.60-default/build). Specify KERN_VER= (currently 5.3.18-lp152.60-default) and run Make again. Stop.
make[1]: Leaving directory ‘/usr/src/kernel-modules/virtualbox/src/vboxdrv’
make: *** [Makefile:59: vboxdrv] Error 2
**:~ #** zypper se -si virtualbox kernel
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+------------------------+---------+--------------------------------------+--------+-----------------------
i+ | kernel-default | package | 5.3.18-lp152.60.1 | x86_64 | Main Update Repository
i+ | kernel-default | package | 5.3.18-lp152.57.1 | x86_64 | Main Update Repository
i+ | kernel-default-devel | package | 5.3.18-lp152.63.1 | x86_64 | Main Update Repository
i+ | kernel-devel | package | 5.3.18-lp152.63.1 | noarch | Main Update Repository
i | kernel-firmware | package | 20200107-lp152.2.3.1 | noarch | Main Update Repository
i | kernel-macros | package | 5.3.18-lp152.63.1 | noarch | Main Update Repository
i | purge-kernels-service | package | 0-lp152.4.1 | noarch | openSUSE-Leap-15.2-1
i | purge-kernels-service | package | 0-lp152.4.1 | noarch | Main Repository
i+ | virtualbox | package | 6.1.18-lp152.2.11.1 | x86_64 | Main Update Repository
i+ | virtualbox-guest-tools | package | 6.1.18-lp152.2.11.1 | x86_64 | Main Update Repository
i+ | virtualbox-host-source | package | 6.1.18-lp152.2.11.1 | noarch | Main Update Repository
i | virtualbox-kmp-default | package | 6.1.18_k5.3.18_lp152.60-lp152.2.11.1 | x86_64 | Main Update Repository
i | virtualbox-qt | package | 6.1.18-lp152.2.11.1 | x86_64 | Main Update Repository
Unable to find a fix in the forum I followed the suggestion to uninstall Virtualbox from openSUSE repo and install from Oracle
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
'/sbin/vboxconfig'
as root.
If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
**:~ #** /sbin/vboxconfig
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /usr/lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /usr/lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /usr/lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /usr/lib/systemd/system/vboxweb-service.service.
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-default-devel kernel-default-devel-5.3.18-lp152.60
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-default-devel kernel-default-devel-5.3.18-lp152.60
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root. If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
**:~ #** zypper se -si virtualbox kernel
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-----------------------+---------+-----------------------------+--------+-----------------------
i+ | VirtualBox-6.1 | package | 6.1.18_142142_openSUSE150-1 | x86_64 | Downloads
i+ | kernel-default | package | 5.3.18-lp152.60.1 | x86_64 | Main Update Repository
i+ | kernel-default | package | 5.3.18-lp152.57.1 | x86_64 | Main Update Repository
i+ | kernel-default-devel | package | 5.3.18-lp152.63.1 | x86_64 | Main Update Repository
i+ | kernel-devel | package | 5.3.18-lp152.63.1 | noarch | Main Update Repository
i | kernel-firmware | package | 20200107-lp152.2.3.1 | noarch | Main Update Repository
i | kernel-macros | package | 5.3.18-lp152.63.1 | noarch | Main Update Repository
i | purge-kernels-service | package | 0-lp152.4.1 | noarch | openSUSE-Leap-15.2-1
i | purge-kernels-service | package | 0-lp152.4.1 | noarch | Main Repository