vmware install problem on kernel 2.6.24-16-Unable to build the vmmon module

Following error message can appear during vmware installation due to incompatible kernel version and vmware installation package:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config0/vmmon-only/linux/driver.c:198: warning: initialisation from incompatible pointer type
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only’
Unable to build [...]

Convert virtual machine from vmware.vmdk to virtualbox.vdi

Easiest way to convert virtual machine from vmware.vmdk to virtualbox.vdi is to use these two tools: qemu and vditool
Navigate to you vmware machine which you would like to convert. Then run following command:
qemu-img convert -f vmdk vmware.vmdk -O raw virtualbox.bin
then you need to download vditool from:
http://www.virtualbox.org/download/testcase/vditool
make vditool executable:

chmod +x vditool
Use vditool to convert virtual images:
./vditool [...]

Reduce compression size of vmware linux virtual machine on ext2,ext3 file system

As I need from time to time compress my vmware virtual machine I needed to find out the way to compress it to a minimum size possible. Even, I removed all unnecessary files from my file system the actual compressed file of my vmware virtual machine did not reduce on size. The reason for this [...]

Command to Create virtual disk for vmware with vmware-vdiskmanager

Here is a simple way to create virtual disk for vmware:
vmware-vdiskmanager -c -t 0 -s 1GB -a ide vmware_virtual_disk.vmdk
this creates 1GB IDE disk.
to create SCSI virtual disk with vmware-vdiskmanager use command:
vmware-vdiskmanager -c -t 0 -s 1GB -a buslogic vmware_virtual_disk.vmdk