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

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















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










share|improve this question
























  • No solution but a question. You*re saying that you downloaded VBoxGuestAdditions_4.3.14_RC1.iso and are using this. But in the first screenshot above the version number 5.0.14 is displayed. What is more, it would help if you print the output of uname -a (although you already printed this 'indirectly').

    – mnille
    Mar 21 '16 at 10:22











  • Thats a good catch. And honestly I don't know why it is saying 5.0.14. I mounted VBoxGuestAdditions_4.3.14_RC1.iso and thats the only guest additions iso I have on my host. As for the uname -a this is what is the output 2.6.32-504.e16.x86_64

    – Omnipresent
    Mar 21 '16 at 10:33















1















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










share|improve this question
























  • No solution but a question. You*re saying that you downloaded VBoxGuestAdditions_4.3.14_RC1.iso and are using this. But in the first screenshot above the version number 5.0.14 is displayed. What is more, it would help if you print the output of uname -a (although you already printed this 'indirectly').

    – mnille
    Mar 21 '16 at 10:22











  • Thats a good catch. And honestly I don't know why it is saying 5.0.14. I mounted VBoxGuestAdditions_4.3.14_RC1.iso and thats the only guest additions iso I have on my host. As for the uname -a this is what is the output 2.6.32-504.e16.x86_64

    – Omnipresent
    Mar 21 '16 at 10:33













1












1








1








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










share|improve this question
















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







centos virtualbox kernel-modules dkms






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:36









Community

1




1










asked Mar 21 '16 at 10:15









OmnipresentOmnipresent

136117




136117












  • No solution but a question. You*re saying that you downloaded VBoxGuestAdditions_4.3.14_RC1.iso and are using this. But in the first screenshot above the version number 5.0.14 is displayed. What is more, it would help if you print the output of uname -a (although you already printed this 'indirectly').

    – mnille
    Mar 21 '16 at 10:22











  • Thats a good catch. And honestly I don't know why it is saying 5.0.14. I mounted VBoxGuestAdditions_4.3.14_RC1.iso and thats the only guest additions iso I have on my host. As for the uname -a this is what is the output 2.6.32-504.e16.x86_64

    – Omnipresent
    Mar 21 '16 at 10:33

















  • No solution but a question. You*re saying that you downloaded VBoxGuestAdditions_4.3.14_RC1.iso and are using this. But in the first screenshot above the version number 5.0.14 is displayed. What is more, it would help if you print the output of uname -a (although you already printed this 'indirectly').

    – mnille
    Mar 21 '16 at 10:22











  • Thats a good catch. And honestly I don't know why it is saying 5.0.14. I mounted VBoxGuestAdditions_4.3.14_RC1.iso and thats the only guest additions iso I have on my host. As for the uname -a this is what is the output 2.6.32-504.e16.x86_64

    – Omnipresent
    Mar 21 '16 at 10:33
















No solution but a question. You*re saying that you downloaded VBoxGuestAdditions_4.3.14_RC1.iso and are using this. But in the first screenshot above the version number 5.0.14 is displayed. What is more, it would help if you print the output of uname -a (although you already printed this 'indirectly').

– mnille
Mar 21 '16 at 10:22





No solution but a question. You*re saying that you downloaded VBoxGuestAdditions_4.3.14_RC1.iso and are using this. But in the first screenshot above the version number 5.0.14 is displayed. What is more, it would help if you print the output of uname -a (although you already printed this 'indirectly').

– mnille
Mar 21 '16 at 10:22













Thats a good catch. And honestly I don't know why it is saying 5.0.14. I mounted VBoxGuestAdditions_4.3.14_RC1.iso and thats the only guest additions iso I have on my host. As for the uname -a this is what is the output 2.6.32-504.e16.x86_64

– Omnipresent
Mar 21 '16 at 10:33





Thats a good catch. And honestly I don't know why it is saying 5.0.14. I mounted VBoxGuestAdditions_4.3.14_RC1.iso and thats the only guest additions iso I have on my host. As for the uname -a this is what is the output 2.6.32-504.e16.x86_64

– Omnipresent
Mar 21 '16 at 10:33










1 Answer
1






active

oldest

votes


















0














Instead of using an ISO, can you not just install the Guest Additions using the "Devices" tab, on the machine that is running?



Install Guest Additions






share|improve this answer























  • This is what I did. I clicked Devices -> install Guest Additions CD Image

    – Omnipresent
    Mar 21 '16 at 10:50











  • And did that work for you? :)

    – Kevdog777
    Mar 21 '16 at 10:50











  • No. I'm assuming the steps I'm doing are required after I click Insert Guest Additions CD Image

    – Omnipresent
    Mar 21 '16 at 10:53






  • 1





    My presumption about the ISO was incorrect. When I click insert Guest additions CD Image. I guess 5.0.14 image gets inserted and then I execute the ./VBoxLinuxAdditions run command. I've updated the question to reflect this.

    – Omnipresent
    Mar 21 '16 at 10:58











  • I have just tried doing it as you said, in your updated question, and it is working for me. So not sure what I have that you don't have. Maybe try restarting the system, and see if that fixes the copy/paste issue? Sorry I can't be of any more assistance :)

    – Kevdog777
    Mar 21 '16 at 11:24











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f271213%2fyour-kernel-headers-for-kernel-2-6-32-504-e16-x86-64-cannot-be-found%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Instead of using an ISO, can you not just install the Guest Additions using the "Devices" tab, on the machine that is running?



Install Guest Additions






share|improve this answer























  • This is what I did. I clicked Devices -> install Guest Additions CD Image

    – Omnipresent
    Mar 21 '16 at 10:50











  • And did that work for you? :)

    – Kevdog777
    Mar 21 '16 at 10:50











  • No. I'm assuming the steps I'm doing are required after I click Insert Guest Additions CD Image

    – Omnipresent
    Mar 21 '16 at 10:53






  • 1





    My presumption about the ISO was incorrect. When I click insert Guest additions CD Image. I guess 5.0.14 image gets inserted and then I execute the ./VBoxLinuxAdditions run command. I've updated the question to reflect this.

    – Omnipresent
    Mar 21 '16 at 10:58











  • I have just tried doing it as you said, in your updated question, and it is working for me. So not sure what I have that you don't have. Maybe try restarting the system, and see if that fixes the copy/paste issue? Sorry I can't be of any more assistance :)

    – Kevdog777
    Mar 21 '16 at 11:24
















0














Instead of using an ISO, can you not just install the Guest Additions using the "Devices" tab, on the machine that is running?



Install Guest Additions






share|improve this answer























  • This is what I did. I clicked Devices -> install Guest Additions CD Image

    – Omnipresent
    Mar 21 '16 at 10:50











  • And did that work for you? :)

    – Kevdog777
    Mar 21 '16 at 10:50











  • No. I'm assuming the steps I'm doing are required after I click Insert Guest Additions CD Image

    – Omnipresent
    Mar 21 '16 at 10:53






  • 1





    My presumption about the ISO was incorrect. When I click insert Guest additions CD Image. I guess 5.0.14 image gets inserted and then I execute the ./VBoxLinuxAdditions run command. I've updated the question to reflect this.

    – Omnipresent
    Mar 21 '16 at 10:58











  • I have just tried doing it as you said, in your updated question, and it is working for me. So not sure what I have that you don't have. Maybe try restarting the system, and see if that fixes the copy/paste issue? Sorry I can't be of any more assistance :)

    – Kevdog777
    Mar 21 '16 at 11:24














0












0








0







Instead of using an ISO, can you not just install the Guest Additions using the "Devices" tab, on the machine that is running?



Install Guest Additions






share|improve this answer













Instead of using an ISO, can you not just install the Guest Additions using the "Devices" tab, on the machine that is running?



Install Guest Additions







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 21 '16 at 10:48









Kevdog777Kevdog777

2,107123259




2,107123259












  • This is what I did. I clicked Devices -> install Guest Additions CD Image

    – Omnipresent
    Mar 21 '16 at 10:50











  • And did that work for you? :)

    – Kevdog777
    Mar 21 '16 at 10:50











  • No. I'm assuming the steps I'm doing are required after I click Insert Guest Additions CD Image

    – Omnipresent
    Mar 21 '16 at 10:53






  • 1





    My presumption about the ISO was incorrect. When I click insert Guest additions CD Image. I guess 5.0.14 image gets inserted and then I execute the ./VBoxLinuxAdditions run command. I've updated the question to reflect this.

    – Omnipresent
    Mar 21 '16 at 10:58











  • I have just tried doing it as you said, in your updated question, and it is working for me. So not sure what I have that you don't have. Maybe try restarting the system, and see if that fixes the copy/paste issue? Sorry I can't be of any more assistance :)

    – Kevdog777
    Mar 21 '16 at 11:24


















  • This is what I did. I clicked Devices -> install Guest Additions CD Image

    – Omnipresent
    Mar 21 '16 at 10:50











  • And did that work for you? :)

    – Kevdog777
    Mar 21 '16 at 10:50











  • No. I'm assuming the steps I'm doing are required after I click Insert Guest Additions CD Image

    – Omnipresent
    Mar 21 '16 at 10:53






  • 1





    My presumption about the ISO was incorrect. When I click insert Guest additions CD Image. I guess 5.0.14 image gets inserted and then I execute the ./VBoxLinuxAdditions run command. I've updated the question to reflect this.

    – Omnipresent
    Mar 21 '16 at 10:58











  • I have just tried doing it as you said, in your updated question, and it is working for me. So not sure what I have that you don't have. Maybe try restarting the system, and see if that fixes the copy/paste issue? Sorry I can't be of any more assistance :)

    – Kevdog777
    Mar 21 '16 at 11:24

















This is what I did. I clicked Devices -> install Guest Additions CD Image

– Omnipresent
Mar 21 '16 at 10:50





This is what I did. I clicked Devices -> install Guest Additions CD Image

– Omnipresent
Mar 21 '16 at 10:50













And did that work for you? :)

– Kevdog777
Mar 21 '16 at 10:50





And did that work for you? :)

– Kevdog777
Mar 21 '16 at 10:50













No. I'm assuming the steps I'm doing are required after I click Insert Guest Additions CD Image

– Omnipresent
Mar 21 '16 at 10:53





No. I'm assuming the steps I'm doing are required after I click Insert Guest Additions CD Image

– Omnipresent
Mar 21 '16 at 10:53




1




1





My presumption about the ISO was incorrect. When I click insert Guest additions CD Image. I guess 5.0.14 image gets inserted and then I execute the ./VBoxLinuxAdditions run command. I've updated the question to reflect this.

– Omnipresent
Mar 21 '16 at 10:58





My presumption about the ISO was incorrect. When I click insert Guest additions CD Image. I guess 5.0.14 image gets inserted and then I execute the ./VBoxLinuxAdditions run command. I've updated the question to reflect this.

– Omnipresent
Mar 21 '16 at 10:58













I have just tried doing it as you said, in your updated question, and it is working for me. So not sure what I have that you don't have. Maybe try restarting the system, and see if that fixes the copy/paste issue? Sorry I can't be of any more assistance :)

– Kevdog777
Mar 21 '16 at 11:24






I have just tried doing it as you said, in your updated question, and it is working for me. So not sure what I have that you don't have. Maybe try restarting the system, and see if that fixes the copy/paste issue? Sorry I can't be of any more assistance :)

– Kevdog777
Mar 21 '16 at 11:24


















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f271213%2fyour-kernel-headers-for-kernel-2-6-32-504-e16-x86-64-cannot-be-found%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay