VBoxGuestAdditions.iso install issues in OEL 6.6

Discussions related to using VirtualBox on Windows hosts.
Post Reply
v
Posts: 9
Joined: 20. Dec 2012, 05:03

VBoxGuestAdditions.iso install issues in OEL 6.6

Post 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.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Post by loukingjr »

The headers for the running kernel have to match.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
v
Posts: 9
Joined: 20. Dec 2012, 05:03

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Post by v »

Thanks for the reply. But could you please expand on that, what should I look for/update?

Thanks.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Post by loukingjr »

OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
v
Posts: 9
Joined: 20. Dec 2012, 05:03

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Post 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.
Attachments
My logs file
My logs file
logs.png (39.25 KiB) Viewed 2921 times
rpm -qa | grep kernel and uname command output
rpm -qa | grep kernel and uname command output
rpmqa_uname.png (43.2 KiB) Viewed 2921 times
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Post 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.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
v
Posts: 9
Joined: 20. Dec 2012, 05:03

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Post by v »

Thanks for the replies. I will keep looking.
v
Posts: 9
Joined: 20. Dec 2012, 05:03

Re: VBoxGuestAdditions.iso install issues in OEL 6.6

Post 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.
Post Reply