VBOX Guest Additions Install Error

Discussions about using Linux guests in VirtualBox.
Post Reply
Anand Rao
Posts: 12
Joined: 24. Apr 2017, 07:27

VBOX Guest Additions Install Error

Post by Anand Rao »

Hi,

I am using VBOX 5.1.22 on Windows 10 to create a OLE 6.3 VM.

OLE 6.3 installs fine (Basic Server with additional packages). When I try to install the Guest Additions, it fails with the error,

/tmp/vbox.0/Makefile.include.header:112 *** Error: unable to find sources of your current Linux kernel. Specify KERN_DIR.

I searched a lot on Google, tried re-installing the VM many times but no use. I have installed kernel-devel, kernel-headers, kernel-firmware and gcc. Rebooted the server also. Tried setting the KERN_DIR but then it gives another set of errors in the make file.

I am very surprised because I am already using 3-4 other VMs of the same version and all of them never had a problem with Guest Additions.

Is this a bug on 5.1.22? Please help.

Thanks,
Anand
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VBOX Guest Additions Install Error

Post by Perryg »

You should read the following: viewtopic.php?f=3&t=83268
It should point you to the answer.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VBOX Guest Additions Install Error

Post by socratis »

Moving to "Linux Guests" from "Linux Hosts".
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.
Anand Rao
Posts: 12
Joined: 24. Apr 2017, 07:27

Re: VBOX Guest Additions Install Error

Post by Anand Rao »

Thank you Perryg.

I ended up updating the kernel and all the packages using 'yum update'. All is well now.

The reason why i raised this question is that I already have a few Linux guests running with OLE6.3 and without any of these large scale updates.

Anyway, thanks for the help.

Regards,
Anand
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VBOX Guest Additions Install Error

Post by Perryg »

It may have been possible using an older version of the guest additions but the newer ones require newer packages to operate properly.
Post Reply