Install VMware Tools on Debian Lenny VM

..was easy, no messing around with export CC=/usr/bin/gcc4.1. or something

ESXi Server 4.0.0 Build 219382

VM Linux lenny2 2.6.26-2-686 #1 SMP Wed Feb 10 08:59:21 UTC 2010 i686 GNU/Linux

  1. apt-get install build-essential autoconf automake linux-headers-`uname -r`
  2. Click 'Install VMWare Tools' on your VMconsole.
  3. mount /dev/cdrom /mnt/
  4. cd /tmp/
  5. cp /mnt/VMwareTools-4.0.0-219382.tar.gz /tmp
  6. tar -zxvf VMwareTools-4.0.0-219382.tar.gz
  7. cd vmware-tools-distrib/
  8. ./vmware-install.pl
  9. <ENTER> Default values

and voilá

Stopping VMware Tools services in the virtual machine:
 Guest operating system daemon:                                      done
 Unmounting HGFS shares:                                             done
 Guest filesystem driver:                                            done
 Adding system startup for /etc/init.d/vmware-tools ...
 /etc/rc0.d/S36vmware-tools -> ../init.d/vmware-tools
 /etc/rc6.d/S36vmware-tools -> ../init.d/vmware-tools
 /etc/rcS.d/S38vmware-tools -> ../init.d/vmware-tools
The bld-2.6.26-2-i686smp-Debian5.0.1 - vmmemctl module loads perfectly into the
running kernel.

Could not create the '/mnt/hgfs' directory.
The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.

If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

The bld-2.6.26-2-i686smp-Debian5.0.1 - vmxnet module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - vmblock module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - vmci module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - vsock module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - vmxnet3 module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - pvscsi module loads perfectly into the
running kernel.

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-2.6.26-2-686
No X install found.

 Checking acpi hot plug                                              done
Starting VMware Tools services in the virtual machine:
 Switching to guest configuration:                                   done
 Paravirtual SCSI module:                                            done
 Guest memory manager:                                               done
 VM communication interface:                                         done
 VM communication interface socket family:                           done
 Guest operating system daemon:                                      done

The configuration of VMware Tools 4.0.0 build-219382 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team

4 comments

  1. superadmin sagt:

    du bist ein tighter nigger! weiter so… ;)

  2. Roman sagt:

    Falls zum installieren der vmware tools ein neuer Kernel gebraucht wird sollten diese Zeilen helfen: ;-)

    479 apt-cache search linux-image
    480 apt-get install linux-image-2.6.26-2-686
    481 reboot
    482 /etc/init.d/networking stop
    483 rmmod pcnet32
    484 rmmod vmxnet
    485 modprobe vmxnet
    486 /etc/init.d/networking start

    490 cd /tmp/
    492 mount /dev/cdrom /mnt/
    493 cp /mnt/VMwareTools-4.0.0-236512.tar.gz /tmp
    494 tar -zxvf VMwareTools-4.0.0-236512.tar.gz
    495 cd vmware-tools-distrib/
    496 ./vmware-install.pl

  3. Roman sagt:

    falls ‘killall’ vermisst wird hilft ein
    apt-get install psmisc