So, the case of the missing kernel headers continues with installing VMware Tools on Kali 2.0... As some of you may know, this issue was seen with Kali 1.0.5 when using it as a virtual machine on VMPlayer. Thankfully the fix is fairly easy. The specific error you might see is:
Exit out of the install of VMware Tools and hammer through the following commands:
Now, from here go back to the install of VMware Tools, and everything should go off without issue.
For those that haven't installed VMware Tools before. After mounting the VMware Tools file, I typically use the File Browser to copy the tar ball to /tmp and run the following commands in the terminal:
http://titantechcorp.com/?p=834
https://www.vmware.com/support/ws55/doc/ws_newguest_tools_linux.html
Or, if you're like me and just press enter:Searching for a valid kernel header path...The path "" is not a valid path to the 4.0.0-kali1-amd64 kernel headers.Would you like to change it? [yes]
The path "" is not a valid path to the 4.0.0-kali1-amd64 kernel headers.
Would you like to change it? [yes]Okay, so let's get this fixed. My experience was similar to what was done in version 1.0.5, but with a small modification form what was done with the previous version (Titan Tech documented what to do in the previous version HERE). Here's what happened with me.
Exit out of the install of VMware Tools and hammer through the following commands:
echo cups enabled >> /usr/sbin/update-rc.d
echo vmware-tools enabled >> /usr/sbin/update-rc.d
apt-get install gcc make linux-headers-$(uname -r)
ln -s /usr/src/linux-headers-$(uname -r)-amd64/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)-common/include/linux/
Now, from here go back to the install of VMware Tools, and everything should go off without issue.
For those that haven't installed VMware Tools before. After mounting the VMware Tools file, I typically use the File Browser to copy the tar ball to /tmp and run the following commands in the terminal:
cd /tmpReferences
tar -zxvf VMwareTools-*.tar.gz
sudo ./vmware-install.p
http://titantechcorp.com/?p=834
https://www.vmware.com/support/ws55/doc/ws_newguest_tools_linux.html
Comments
Post a Comment