Page 1 of 1

VBoxGuestAdditions.iso install issues in OEL 6.6

Posted: 19. Mar 2015, 05:20
by v
I am using Windows 8.1 and have installed Virtualbox 4.3.24 version. I have installed Oracle Enterprise Linux 6.6(64bit) version and I would like to enable the additional guest features.

I tried the following steps(in order):
  • yum update
    yum install gcc
    yum install kernel-devel
    yum install kernel-uek-devel
    Reboot my Linux guest VM
Then I logged into the VM and
This fails with the following message:
  • Building the main Guest Additional module: FAILED
    Look at /var/log/vboxadd-install.log
I looked there and I found the following msg
grep: /lib/modules/3.8.13-55.1.8.el6uek.x86_64/build/include/linux/version.h: No such file or directory

and some other stuff.

I could not find the specified file in the mentioned location. Am I missing something obvious. Any help appreciated.
Thanks.

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Posted: 19. Mar 2015, 14:02
by loukingjr
The headers for the running kernel have to match.

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Posted: 19. Mar 2015, 21:56
by v
Thanks for the reply. But could you please expand on that, what should I look for/update?

Thanks.

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Posted: 20. Mar 2015, 01:35
by loukingjr

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Posted: 20. Mar 2015, 04:53
by v
Thanks it was helpful. I was able to solve one of the issues mentioned by creating a link for the version.h file. Now I am getting couple of different errors

My log file looks like as in the image logs.png and my uname -r and rpm -qa | grep -i kernel looks like this(rpmqa_uname.png)

I could not copy-paste from the VM, hence the screenshots.

I have the following questions:
- I see kernel-uek-3.8.13-55.1.8.el6uek.x86_64 and kernel-uek-3.8.13-44.1.1.el6uek.x86_64, what is the difference?
- I also see the headers(kernel-headers-2.6*) , does this mean this header does not match the installed kernels?

What am I missing now? Do I have multiple kernel versions? If so, do I need to uninstall some?

Thanks.

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Posted: 20. Mar 2015, 07:47
by loukingjr
I can only tell you what I do. I only have one kernel and matching headers in any of my Linux guests. Once I know the latest kernel works I delete any older ones.

I have to say your recent questions have more to do with Linux than Virtualbox and you could find the answers by doing searches.

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Posted: 20. Mar 2015, 14:48
by v
Thanks for the replies. I will keep looking.

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Posted: 24. Mar 2015, 04:52
by v
Finally it worked. Looks like I did not restart after the new kernel install. After restart it works fine now, Thanks for your help.