Ok, I was looking on the forum yesterday and saw a question about how to install VMware in BT so I decided to write a tutorial.

Ok first we need to fix the kernel, we do that by opening a terminal and typing:

Code:
1. apt-get update && apt-get upgrade
	2. apt-get dist-upgrade
	3. apt-get install linux-image-2.6.30.9 (you will get asked for new grub installation, create new one) edit /boot/grub/menu.lst
	4. reboot and choose in grub kernel 2.60.30.9
Ok now most of you woun't have to do this for the kernel is already there next:

Code:
5. cd /usr/src/ && tar xvf linux-source-2.6.30.tar.bz2 
	6. cd linux-source-2.6.30.9 && zcat /proc/config.gz >.config
	7. make && make modules
	8. cd /usr/src && unlink linux && ln -s linux-source-2.6.30.9 linux
	9. cd /usr/src/linux && make-kpkg kernel_headers
	10. cd /usr/src && dpkg -i linux-headers-2.6.30.9_2.6.30.9-10.00.Custom_i386.deb
When you get asked by VMware for the Header Files enter the path: /usr/src/linux/include

After that go to the VMware folder (must be in the same folder as the scripts for them to work) and run the "vmware-server-2.0.x-kernel-2.6.3x-install.sh" script configure your VMware.
Follow the settings displayed at your screen and don't change default values if not necessary. Be sure to add your normal username as VMware Server administrator.
Enter the serial number when prompted

To start VMware just open a terminal and type in
Code:
/etc/init.d/vmware start
you should get all done.
VMware has a nice web interface, to access it log in to : BackTrack Linux. or https://localhost:8333 with your normal user account and password.

The scripts are inspired from https://help.ubuntu.com/community/VMware/Server (Thank Barry for the link) you can get them from that link or on rapidshare and if someone whishes to host them they can do so and post the link here after.

https://help.ubuntu.com/community/VMware/Server

Hope you liked it!