Monday, 25 March 2013

Kali linux - vmware workstation

Finally took the step since Kali is out and its based on Debian (7)... so I replaced the base OS of my laptop with Kali :) good times (one would think!).

Installing VMware workstation 8 (there is a reason I am still using 8 I will not get into more detail here.. just go with it)

First of all make sure that in your /etc/apt/sources.list you got:

deb http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free


deb-src http://http.kali.org/kali kali main contrib non-free

Then install your build essentials and the headers you need for the modules to be compiled after you are done with the install:

apt-get update && apt-get install build-essential linux-headers-$(uname -r)

cp /lib/modules/3.7-trunk-amd64/build/include/generated/uapi/linux/version.h /lib/modules/3.7-trunk-amd64/build/include/linux/

Now you can download VMware-Workstation-Full-8.0.6-1035888.x86_64.bundle make it executable and run it.

After you are done though... make sure you add the following to the corresponding init.d files (otherwise they will break your update-rc.d mojo)

Just add the following lines after the shell definitions on the top

File: /etc/init.d/vmware-USBArbitrator

### BEGIN INIT INFO
# Provides:          vmware-USBArbitrator
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 5
# Default-Stop:      2 3 5
# Short-Description: Start daemon when vmware starts
# Description:       Enable service provided by daemon.
### END INIT INFO

File:  /etc/init.d/vmware
### BEGIN INIT INFO
# Provides:          vmware
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 5
# Default-Stop:      2 3 5
# Short-Description: Start daemon when vmware starts
# Description:       Enable service provided by daemon.
### END INIT INFO

File :  /etc/init.d/vmware-workstation
### BEGIN INIT INFO
# Provides:          vmware-workstation
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 5
# Default-Stop:      2 3 5
# Short-Description: Start daemon when vmware starts
# Description:       Enable service provided by daemon.
### END INIT INFO

I am quite sure that same thing would apply if you would like to install VMware Workstation 9 on Kali Linux but I make no promises, this is what worked for version 8 for me.


That's all for now, stay tuned..