Today I hit my first problem when creating a new JeOS virtual appliance based on Ubuntu. After I mount and extract the VMWare tools; I tried to run the ./vmware-install.pl script and got the warning below.

/tmp/vmware-tools-distrib/vmware-config.pl
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer.  Please remove them then run this
installer again.

vmnet
vmhgfs
vmblock
vmmon

Execution aborted.
 

I did not install any VMWare tools before, but somehow these VMWare modules were included in the ubuntu-7.10-jeos-i386.iso file. Go to following directory and remove the mentioned directories.

cd /lib/modules/2.6.22-14-virtual/ubuntu
ls
sudo rm -r vmnet/
sudo rm -r vmhgfs
sudo rm -r vmblock
sudo rm -r vmmon
 

That’s all. Rerun the install script.