Archive for February, 2008

Installing the VMware tools in Ubuntu/Debian using .deb archives

February 22, 2008

Searching VMware tools packaged as .deb archives for Debian or Ubuntu has failed for all of my searches. The solutions I found in the first place were all related to install the tools from the tar Archive provided by VMware, e.g.

http://www.ubuntugeek.com/howto-install-vmware-tools-in-ubuntu.html,
VMware – Community Ubuntu Documentation,
VMware/Tools – Community Ubuntu Documentation.

The problem is that the name of the package has changed to open-vm-tools and open-vm-tools-gui in the not upcoming Ubuntu release named Hardy:

Ubuntu — Informationen über Paket open-vm-tools-gui in hardy
Ubuntu — Informationen über Paket open-vm-tools in hardy

The packages are based on these source releases:
SourceForge.net: Files for Open Virtual Machine Tools

Installing these packages from Hardy in a Ubuntu 7.10 (Gutsy ) system you may take the following way:

  • Add the following line to /etc/apt/sources.list to get the sources from Hardy:
    deb-src http://de.archive.ubuntu.com/ubuntu hardy main universe
  • Then it is possible to build the package from source (as it is decribed at http://www.selflinux.org/selflinux/html/apt06.html):
    $ sudo apt-get update
    $ sudo apt-get build-dep open-vm-tools
    $ sudo apt-get -b source open-vm-tools
  • Finally install the succefully build deb archives:
    $ sudo dpkg -i open-vm-tools_2008.01.23-74039-0ubuntu1_i386.deb open-vm-tools-gui_2008.01.23-74039-0ubuntu1_i386.deb
    
    Wähle vormals abgewähltes Paket open-vm-tools.
    (Lese Datenbank ... 114218 Dateien und Verzeichnisse sind derzeit installiert.)
    Entpacke open-vm-tools (aus open-vm-tools_2008.01.23-74039-0ubuntu1_i386.deb) ...
    Wähle vormals abgewähltes Paket open-vm-tools-gui.
    Entpacke open-vm-tools-gui (aus open-vm-tools-gui_2008.01.23-74039-0ubuntu1_i386.deb) ...
    Richte open-vm-tools ein (2008.01.23-74039-0ubuntu1) ...
    * Loading open-vm-tools modules
    FATAL: Module vmhgfs not found.
    FATAL: Module vmmemctl not found.                     [ OK ]
    * Starting open-vm guest daemon guestd                           [ OK ]
    Richte open-vm-tools-gui ein (2008.01.23-74039-0ubuntu1) ...
  • The FATAL messages above are showing that the named kernel modules are missing. As far as I can remember the module vmhgfs eases the use of host files within the guest system. I suppose that these modules will be available with the upcoming Hardy release.
Advertisements