VBox Guest Additions installation can't find headers for Kali kernal 4.14.0-kali1-amd64Does Debian guest need...

Why is Drogon so much better in battle than Rhaegal and Viserion?

Shortest amud or daf in Shas?

How can I monitor the bulk API limit?

Driving a school bus in the USA

What technology would Dwarves need to forge titanium?

Does a windmilling propeller create more drag than a stopped propeller in an engine out scenario

Why is so much ransomware breakable?

Hotel booking: Why is Agoda much cheaper than booking.com?

Prints each letter of a string in different colors

Who is frowning in the sentence "Daisy looked at Tom frowning"?

Have the writers and actors of GOT responded to its poor reception?

Why does string strummed with finger sound different from the one strummed with pick?

I recently started my machine learning PhD and I have absolutely no idea what I'm doing

Why use a retrograde orbit?

How was the blinking terminal cursor invented?

How to draw pentagram-like shape in Latex?

What is the probability that two cards drawn from a deck are both face cards and at least one is red?

Referring to a character in 3rd person when they have amnesia

FIFO data structure in pure C

Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?

Pedaling at different gear ratios on flat terrain: what's the point?

Should I twist DC power and ground wires from a power supply?

Divisor Rich and Poor Numbers

How to customize the pie chart background in PowerPoint?



VBox Guest Additions installation can't find headers for Kali kernal 4.14.0-kali1-amd64


Does Debian guest need linux headers to install Virtualbox guest additions?I'm on '4.3.0-kali1-amd-64' but cannot install linux-headers?Wrong kernel headers version on Kali Linux 2.0Install Guest Additions on Kali Linux on VirtualBox 5 on Ubuntucan't install virtuabbox guest additions or even update kali linuxCan't install VirtualBox Guest Additions in Kali Linux virtual machine under Debian (problems installing the kernel-headers)(Kali) Can't “make” for RTL8812AUVirtualBox (5.2) installation issue / guest additions for metasploitable3Virtualbox on Slackware: Failed to set up vboxaddHow to install guest additions on Kali Linux 4.15.0






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have installed Kali in VirtualBox and now trying to install Guest Additions to get full screen view.



I updated and installed my packages and installed dkms. When I try to install linux-headers I get the following:



# apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.14.0-kali1-amd64 is already the newest version (4.14.2-1kali1).
0 upgraded, 0 newly installed, 0 to remove and 86 not upgraded.


The headers installed are as follows:



# dpkg --get-selections | grep linux-headers
linux-headers-4.14.0-kali1-amd64 install
linux-headers-4.14.0-kali1-common install
linux-headers-amd64 install


When I try to run the Guest Additions CD I get the following:



Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.40 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 5.0.40 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
update-initramfs: Generating /boot/initrd.img-4.13.0-kali1-amd64
update-initramfs: Generating /boot/initrd.img-4.14.0-kali1-amd64
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.

Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
Press Return to close this window...


It appears to me that the correct linux headers for the kernal are installed. Why is VBox not able to find them?



Tried updating to VBox 5.2.2 but after removing existing version and installing 5.2.2 I was unable to launch Kali-Linux - screenshot attached .










share|improve this question
















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Upgrade virtualbox to VirtualBox 5.2.2 version (for windows or linux) virtualbox.org/wiki/Downloads theen install the guest addition.

    – GAD3R
    Dec 18 '17 at 10:09













  • Make sure the guest additions are the right one for your Vbox

    – George Udosen
    Dec 18 '17 at 10:26











  • VBox is VirtualBox Graphical User Interface Version 5.0.40_Ubuntu r115130 VBox additions is VBOXADDITIONS_5.0.40_115130

    – Chris Fgl
    Dec 19 '17 at 9:10













  • After upgrading to 5.2.2 kali fails to launch. VBox reports "The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing" Running "/sbin/vboxconfig" did not help

    – Chris Fgl
    Dec 19 '17 at 10:21


















0















I have installed Kali in VirtualBox and now trying to install Guest Additions to get full screen view.



I updated and installed my packages and installed dkms. When I try to install linux-headers I get the following:



# apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.14.0-kali1-amd64 is already the newest version (4.14.2-1kali1).
0 upgraded, 0 newly installed, 0 to remove and 86 not upgraded.


The headers installed are as follows:



# dpkg --get-selections | grep linux-headers
linux-headers-4.14.0-kali1-amd64 install
linux-headers-4.14.0-kali1-common install
linux-headers-amd64 install


When I try to run the Guest Additions CD I get the following:



Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.40 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 5.0.40 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
update-initramfs: Generating /boot/initrd.img-4.13.0-kali1-amd64
update-initramfs: Generating /boot/initrd.img-4.14.0-kali1-amd64
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.

Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
Press Return to close this window...


It appears to me that the correct linux headers for the kernal are installed. Why is VBox not able to find them?



Tried updating to VBox 5.2.2 but after removing existing version and installing 5.2.2 I was unable to launch Kali-Linux - screenshot attached .










share|improve this question
















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Upgrade virtualbox to VirtualBox 5.2.2 version (for windows or linux) virtualbox.org/wiki/Downloads theen install the guest addition.

    – GAD3R
    Dec 18 '17 at 10:09













  • Make sure the guest additions are the right one for your Vbox

    – George Udosen
    Dec 18 '17 at 10:26











  • VBox is VirtualBox Graphical User Interface Version 5.0.40_Ubuntu r115130 VBox additions is VBOXADDITIONS_5.0.40_115130

    – Chris Fgl
    Dec 19 '17 at 9:10













  • After upgrading to 5.2.2 kali fails to launch. VBox reports "The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing" Running "/sbin/vboxconfig" did not help

    – Chris Fgl
    Dec 19 '17 at 10:21














0












0








0








I have installed Kali in VirtualBox and now trying to install Guest Additions to get full screen view.



I updated and installed my packages and installed dkms. When I try to install linux-headers I get the following:



# apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.14.0-kali1-amd64 is already the newest version (4.14.2-1kali1).
0 upgraded, 0 newly installed, 0 to remove and 86 not upgraded.


The headers installed are as follows:



# dpkg --get-selections | grep linux-headers
linux-headers-4.14.0-kali1-amd64 install
linux-headers-4.14.0-kali1-common install
linux-headers-amd64 install


When I try to run the Guest Additions CD I get the following:



Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.40 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 5.0.40 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
update-initramfs: Generating /boot/initrd.img-4.13.0-kali1-amd64
update-initramfs: Generating /boot/initrd.img-4.14.0-kali1-amd64
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.

Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
Press Return to close this window...


It appears to me that the correct linux headers for the kernal are installed. Why is VBox not able to find them?



Tried updating to VBox 5.2.2 but after removing existing version and installing 5.2.2 I was unable to launch Kali-Linux - screenshot attached .










share|improve this question
















I have installed Kali in VirtualBox and now trying to install Guest Additions to get full screen view.



I updated and installed my packages and installed dkms. When I try to install linux-headers I get the following:



# apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.14.0-kali1-amd64 is already the newest version (4.14.2-1kali1).
0 upgraded, 0 newly installed, 0 to remove and 86 not upgraded.


The headers installed are as follows:



# dpkg --get-selections | grep linux-headers
linux-headers-4.14.0-kali1-amd64 install
linux-headers-4.14.0-kali1-common install
linux-headers-amd64 install


When I try to run the Guest Additions CD I get the following:



Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.40 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 5.0.40 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
update-initramfs: Generating /boot/initrd.img-4.13.0-kali1-amd64
update-initramfs: Generating /boot/initrd.img-4.14.0-kali1-amd64
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.

Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
Press Return to close this window...


It appears to me that the correct linux headers for the kernal are installed. Why is VBox not able to find them?



Tried updating to VBox 5.2.2 but after removing existing version and installing 5.2.2 I was unable to launch Kali-Linux - screenshot attached .







kali-linux virtualbox header-file






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 19 '17 at 10:18







Chris Fgl

















asked Dec 18 '17 at 9:25









Chris FglChris Fgl

43




43





bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Upgrade virtualbox to VirtualBox 5.2.2 version (for windows or linux) virtualbox.org/wiki/Downloads theen install the guest addition.

    – GAD3R
    Dec 18 '17 at 10:09













  • Make sure the guest additions are the right one for your Vbox

    – George Udosen
    Dec 18 '17 at 10:26











  • VBox is VirtualBox Graphical User Interface Version 5.0.40_Ubuntu r115130 VBox additions is VBOXADDITIONS_5.0.40_115130

    – Chris Fgl
    Dec 19 '17 at 9:10













  • After upgrading to 5.2.2 kali fails to launch. VBox reports "The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing" Running "/sbin/vboxconfig" did not help

    – Chris Fgl
    Dec 19 '17 at 10:21



















  • Upgrade virtualbox to VirtualBox 5.2.2 version (for windows or linux) virtualbox.org/wiki/Downloads theen install the guest addition.

    – GAD3R
    Dec 18 '17 at 10:09













  • Make sure the guest additions are the right one for your Vbox

    – George Udosen
    Dec 18 '17 at 10:26











  • VBox is VirtualBox Graphical User Interface Version 5.0.40_Ubuntu r115130 VBox additions is VBOXADDITIONS_5.0.40_115130

    – Chris Fgl
    Dec 19 '17 at 9:10













  • After upgrading to 5.2.2 kali fails to launch. VBox reports "The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing" Running "/sbin/vboxconfig" did not help

    – Chris Fgl
    Dec 19 '17 at 10:21

















Upgrade virtualbox to VirtualBox 5.2.2 version (for windows or linux) virtualbox.org/wiki/Downloads theen install the guest addition.

– GAD3R
Dec 18 '17 at 10:09







Upgrade virtualbox to VirtualBox 5.2.2 version (for windows or linux) virtualbox.org/wiki/Downloads theen install the guest addition.

– GAD3R
Dec 18 '17 at 10:09















Make sure the guest additions are the right one for your Vbox

– George Udosen
Dec 18 '17 at 10:26





Make sure the guest additions are the right one for your Vbox

– George Udosen
Dec 18 '17 at 10:26













VBox is VirtualBox Graphical User Interface Version 5.0.40_Ubuntu r115130 VBox additions is VBOXADDITIONS_5.0.40_115130

– Chris Fgl
Dec 19 '17 at 9:10







VBox is VirtualBox Graphical User Interface Version 5.0.40_Ubuntu r115130 VBox additions is VBOXADDITIONS_5.0.40_115130

– Chris Fgl
Dec 19 '17 at 9:10















After upgrading to 5.2.2 kali fails to launch. VBox reports "The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing" Running "/sbin/vboxconfig" did not help

– Chris Fgl
Dec 19 '17 at 10:21





After upgrading to 5.2.2 kali fails to launch. VBox reports "The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing" Running "/sbin/vboxconfig" did not help

– Chris Fgl
Dec 19 '17 at 10:21










1 Answer
1






active

oldest

votes


















0














You sould follow the tutorial to install VirtualBox Gest Additions on the Kali Linux Official Documentation.




The VirtualBox Guest Additions provide proper mouse and screen
integration, as well as folder sharing, with your host operating
system. To install them, proceed as follows.



Start up your Kali Linux virtual machine, open a terminal window and
issue the following commands.



apt-get update
apt-get install -y virtualbox-guest-x11
reboot






share|improve this answer
























  • Using the method in the official doc I get the exact same error....The installation fails during the installation of the main Guest Additions module, right after the script reports not being able to find the headers (however, this was also reported in the official documentation).

    – Chris Fgl
    Dec 19 '17 at 9:56












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%2f411554%2fvbox-guest-additions-installation-cant-find-headers-for-kali-kernal-4-14-0-kali%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














You sould follow the tutorial to install VirtualBox Gest Additions on the Kali Linux Official Documentation.




The VirtualBox Guest Additions provide proper mouse and screen
integration, as well as folder sharing, with your host operating
system. To install them, proceed as follows.



Start up your Kali Linux virtual machine, open a terminal window and
issue the following commands.



apt-get update
apt-get install -y virtualbox-guest-x11
reboot






share|improve this answer
























  • Using the method in the official doc I get the exact same error....The installation fails during the installation of the main Guest Additions module, right after the script reports not being able to find the headers (however, this was also reported in the official documentation).

    – Chris Fgl
    Dec 19 '17 at 9:56
















0














You sould follow the tutorial to install VirtualBox Gest Additions on the Kali Linux Official Documentation.




The VirtualBox Guest Additions provide proper mouse and screen
integration, as well as folder sharing, with your host operating
system. To install them, proceed as follows.



Start up your Kali Linux virtual machine, open a terminal window and
issue the following commands.



apt-get update
apt-get install -y virtualbox-guest-x11
reboot






share|improve this answer
























  • Using the method in the official doc I get the exact same error....The installation fails during the installation of the main Guest Additions module, right after the script reports not being able to find the headers (however, this was also reported in the official documentation).

    – Chris Fgl
    Dec 19 '17 at 9:56














0












0








0







You sould follow the tutorial to install VirtualBox Gest Additions on the Kali Linux Official Documentation.




The VirtualBox Guest Additions provide proper mouse and screen
integration, as well as folder sharing, with your host operating
system. To install them, proceed as follows.



Start up your Kali Linux virtual machine, open a terminal window and
issue the following commands.



apt-get update
apt-get install -y virtualbox-guest-x11
reboot






share|improve this answer













You sould follow the tutorial to install VirtualBox Gest Additions on the Kali Linux Official Documentation.




The VirtualBox Guest Additions provide proper mouse and screen
integration, as well as folder sharing, with your host operating
system. To install them, proceed as follows.



Start up your Kali Linux virtual machine, open a terminal window and
issue the following commands.



apt-get update
apt-get install -y virtualbox-guest-x11
reboot







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 18 '17 at 9:35







user264413




















  • Using the method in the official doc I get the exact same error....The installation fails during the installation of the main Guest Additions module, right after the script reports not being able to find the headers (however, this was also reported in the official documentation).

    – Chris Fgl
    Dec 19 '17 at 9:56



















  • Using the method in the official doc I get the exact same error....The installation fails during the installation of the main Guest Additions module, right after the script reports not being able to find the headers (however, this was also reported in the official documentation).

    – Chris Fgl
    Dec 19 '17 at 9:56

















Using the method in the official doc I get the exact same error....The installation fails during the installation of the main Guest Additions module, right after the script reports not being able to find the headers (however, this was also reported in the official documentation).

– Chris Fgl
Dec 19 '17 at 9:56





Using the method in the official doc I get the exact same error....The installation fails during the installation of the main Guest Additions module, right after the script reports not being able to find the headers (however, this was also reported in the official documentation).

– Chris Fgl
Dec 19 '17 at 9:56


















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%2f411554%2fvbox-guest-additions-installation-cant-find-headers-for-kali-kernal-4-14-0-kali%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

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m