Sunday, June 03, 2007

Installing VMware tools under Debian 4.0

First thing to do, right click on your virtual machine, click "Install VMware Tools"

  • Edit the sources.list in /etc/apt to remove the access to the Debian CD-Rom
  • After this, run apt-get update
  • Mount the cdrom with mount /dev/cdrom /mnt
  • Copy the tar file in /tmp
  • Umount the CDROM with this command : umount /mnt
  • Extract the tar.gz with tar xvfz
  • Install the tools required for VMware Tools : apt-get install autoconf automake binutils cpp gcc linux-headers-$(uname -r) make psmisc
  • You need the "includes" to create your proper module (vmmemctl) for your kernel. The script from VMware ask you where it can found the headers ls -d /usr/src/linux-headers-$(uname -r)*/include
  • Go to /tmp/vmware-tools-distrib
  • Run the command ./vmware-install.pl

Don't forget to enable the shared feature in the VMware Workstation interface.

1 comment:

Tulla said...

Well written article.