VirtualBox-6.x installation is failing in SUSE 15 OS

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Veeresh
Posts: 2
Joined: 12. Nov 2019, 11:12
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: SLES11 SP3
Location: Bangalore, India
Contact:

VirtualBox-6.x installation is failing in SUSE 15 OS

Post by Veeresh »

> zypper install gcc make automake autoconf kernel-source kernel-syms
Installed the prerequisites successfully.
> zypper install VirtualBox-6.0-6.0.14_133895_openSUSE150-1.x86_64
Additional rpm output:
Creating group 'vboxusers'. VM users must be member of that group!
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.
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-4.12.14-150.22
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-4.12.14-150.22

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.
when I start the virtualbox using below command, virtualbox is coming up with below warnings. How to fix these errors?
> virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.12.14-150.22-default) or it failed to
load. Please recompile the kernel module and install it by

sudo /sbin/vboxconfig

You will not be able to start VMs until this problem is fixed.
Thanks & Regards,
Veeresh
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VirtualBox-6.x installation is failing in SUSE 15 OS

Post by scottgus1 »

What happens when you act on the instructions shown in the error messages you posted?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox-6.x installation is failing in SUSE 15 OS

Post by socratis »

Veeresh wrote:This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
This is the part that 'scottgus1' wants you to focus on, preparing your host besides the prerequisites that you've already successfully installed. In order to build the VirtualBox kernel modules (like any other kernel module), you're going to need some kernel-headers and some kernel-devel-headers.

I used to have the packages needed, but they seem to change from distro to distro and from version to version, so I'll skip the details and leave it up to you to find what's necessary... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Veeresh
Posts: 2
Joined: 12. Nov 2019, 11:12
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: SLES11 SP3
Location: Bangalore, India
Contact:

Re: VirtualBox-6.x installation is failing in SUSE 15 OS

Post by Veeresh »

Thanks scott & socratis for your reply,

I searched for SUSE 15 linux-headers in suse linux websites but there are no such package available. It seems that linux-headers is part of kernel-default-devel in SUSE15 SP1. I observed that the kernel-default-devel version is different from OS kernel version. Tried searching for kernel-default-devel-4.12.14-197.18-default in suse linux to install but didn't get in suse linux websites.

kernel-default-devel-4.12.14-197.21.1.x86_64
OS kernel version: 4.12.14-197.18-default

Need your help to install virtualbox.
Thanks & Regards,
Veeresh
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox-6.x installation is failing in SUSE 15 OS

Post by socratis »

Veeresh wrote:Need your help to install virtualbox.
No, you do not need our help to install VirtualBox. You need the help of OpenSUSE installing the kernel headers that match your kernel. Once this is done, VirtualBox will install just fine...

We're dealing with VirtualBox issues mostly, not OpenSUSE issues...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply