Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 1181

Your kernel headers for kernel 2.6.32-504.e16.x86_64 cannot be found

$
0
0

I have centos 6.6 installed on virtualbox. In order to use features like copy/paste, being able to share folders, etc, I need to install Guest additions on it.

I've clicked Device -> Insert Guest Additions CD Image and then doing the following:

enter image description here

However, when I try to run ./VBoxLinuxAdditions run I get the errors below. I am pasting screenshots because I'm not able to copy/paste since I don't have guest addition.

Error:

enter image description here

Logs:

enter image description here

The /lib/modules/2.6.32-504.e16.x86_64/build and /lib/modules/2.6.32-504.e16.x86_64/source folders are both present.

enter image description here

When I do yum remove kernel-devel and install it again using yum install kernel-devel this is the version that tries to install. Note that it is 2.6.32-573.18.1.e16

enter image description here

What I've done

Following This answer I did sudo yum install "kernel-devel-uname-r == $(uname -r)" which doesn't work

enter image description here


Viewing all articles
Browse latest Browse all 1181

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>