Unable to install VBox Guest Additions

Discussions about using Linux guests in VirtualBox.
Post Reply
JosV
Posts: 2
Joined: 14. Jun 2016, 09:53

Unable to install VBox Guest Additions

Post by JosV »

I am running VirtualBox 5.0.20 and am trying to install VBox Guest Additions in my openSUSE 13.1 VM. I try to run the following command:

Code: Select all

sh ./VBoxLinuxAdditions.run
as super user. It fails and the log file gives the following error:
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.

Can someone help me? What do I need to do to get the Guest Additions to install correctly?

Thanks!

Jos
towo2099
Volunteer
Posts: 364
Joined: 18. Aug 2014, 21:53
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Android, Linux

Re: Unable to install VBox Guest Additions

Post by towo2099 »

Install the matching kernel-headers for your running kernel.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Unable to install VBox Guest Additions

Post by mpack »

I can't see what possible relevance this question has to "Windows Hosts". Moving it to "Linux Guests".
JosV
Posts: 2
Joined: 14. Jun 2016, 09:53

Re: Unable to install VBox Guest Additions

Post by JosV »

I executed the proposed zypper command, but it says something like it's already installed. Anyway, I reverted back to 4.3.38 and was able to install the Guest Additions in a breeze. I'll stick to that one for now. Thanks for your contributions!
Post Reply