Page 1 of 1

VBOX Guest Additions Install Error

Posted: 23. Jun 2017, 17:05
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

Re: VBOX Guest Additions Install Error

Posted: 23. Jun 2017, 17:40
by Perryg
You should read the following: viewtopic.php?f=3&t=83268
It should point you to the answer.

Re: VBOX Guest Additions Install Error

Posted: 23. Jun 2017, 17:46
by socratis
Moving to "Linux Guests" from "Linux Hosts".

Re: VBOX Guest Additions Install Error

Posted: 24. Jun 2017, 06:07
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

Re: VBOX Guest Additions Install Error

Posted: 24. Jun 2017, 13:35
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.