Every time I tried to load - this error was loading up. ERROR Kernel 4.6.0-amd64 not found
What I tried this approach from Kali Linux forum but it didn't help
e.g 1 from https://forums.kali.org/showthread.php?31734-Vmware-Kernel-Module-Updater-Issues-with-latest-Kernel-version-4-6-0-kali1-amd64&highlight=Vmware+kernel+issues :
Solution or Workaround: Modify 2 files in /usr/lib/vmware/modules/source/vmmon.tar and /usr/lib/vmware/modules/source/vmnet.tar
Steps:
1- Extract /usr/lib/vmware/modules/source/vmmon.tar
2- Modify /vmmon-only/linux/hostif.c
3- Replace "get_user_pages" to "get_user_pages_remote"
4- tar and replace original
5- Extract /usr/lib/vmware/modules/source/vmnet.tar
6- Modify ./vmnet-only/userif.c
7- Replace "get_user_pages" to "get_user_pages_remote"
8- tar and replace original
Now you should be able to compile the modules successfully.
Tested on Kali Linux 2016 with kernel 4.6.
It was still failing ..
Then - I removed VMware completely from my system and clean dkpg ..
The Edited the /etc/apt/source.list file with this two repositories ..
e.g 2:
Edit your sources.list
The easiest way is to edit the
Add official repo’s only:
Copy paste the following repositories (remove existing lines or you can comment them out – your take). Following repo list was taken from official Kali sources.list Repositories page:
Then ...
Clean your apt-get
Do an apt-get update
Do an upgrade
Finally do a distribution upgrade
That’s it, you’re set.
Then, Install the Kernel headers ...
Then ...
Install VMware Workstation 12 on Kali
And That's all done ...