Thursday, 2 April 2009

VMWare Shared Folders and BackTrack 4 Beta

I finally got around to trying out the latest version of Backtrack 4 Beta. Using VMWare Workstation 6.5.1 I enabled "Shared Folders" so I could use some pre-complied tables. However when I browsed to /mnt/hgfs I see a blank folder.
Trying mount.hgfs .host:/ /mnt/hgfs/ gave the following error. Error: cannot mount filesystem: No such device

To fix this issue follow these steps.

Download and extract the latest tarball of open-vm-tools from sourceforge.
http://open-vm-tools.sourceforge.net/

Download and extract the latest glib tarball from http://ftp.gnome.org/pub/gnome/sources/glib/2.6/ because open-vm-tools require it

Install glib
./configure && make && make install

Satisfy dependencies of open-vm-tools.
./configure --without-dnet --without-x --without-unity --without-icu && make && make install

Reboot and use the following command to mount your VMWare Shared Folder.

mount -t vmhgfs .host:/ /mnt/hgfs/

4 comments:

  1. correction:
    mount -t vmhgfs .host:/ /mnt/hgfs/

    ReplyDelete
  2. GOOGU,

    Thanks for spotting that. I've updated the blog entry.

    ReplyDelete
  3. I still get the same error, after completing all steps.

    Error: cannot mount filesystem: No such device

    ReplyDelete
  4. Thanks very helpful :). I cant believe this issue isnt fixed yet.

    ReplyDelete