Home Programming

Discussion

Left ArrowBack to discussions page
DanielDaniel Partner Posts: 15 Apprentice

Hi, is there an easy way to mount a VMware shared folder in URSim, the simulation software for Universal Robots?

I'm talking about the shared folders set up in the settings of the virtual machine in VMware workstation.

It should be possible to accsess the shared folders since the mount command in URSim / lubuntu does support vmhgfs.

I’ve tried this commands without success:
sudo mount -t vmhgfs .host:/ /mnt/hgfs/
or
sudo mount -t vmhgfs .host:/ /home/ur/shares/
I’m getting the error: “Error: cannot mount filesystem: No such device”.

If I type the command “vmware-hgfsclient” in terminal I get the VMWare shared folders listed up successfully.


I have also tried to mount a windows share, but I got the error message “mount: unknown filesystem type: smbfs”.


Comments

  • louis_bergeronlouis_bergeron Beta Tester Beetle, Wrist Camera URCap 1.3.0, Vacuum Beta tester Posts: 94 Handy
    @Daniel,

    I've found this little procedure on the web, it works for me but I can't remember if everything is exact.  I hope it will help.

    0.     Go to Virtual Machine > Install VMware Tools (or VM > Install VMware Tools).
    1.      Run this command to create a directory to mount the CD-ROM:

    sudo mkdir /mnt/cdrom

    When prompted for a password, enter your Ubuntu admin user password.

    2.      Run this command to mount the CD-ROM:

    sudo mount /dev/cdrom /mnt/cdrom or sudo mount /dev/sr0 /mnt/cdrom
     3.      The file name of the VMware Tools bundle varies depending on your version of the VMware product. Run this command to find the exact name:

    ls /mnt/cdrom
    4.      Run this command to extract the contents of the VMware Tools bundle:

    tar xzvf /mnt/cdrom/VMwareTools-x.x.x-xxxx.tar.gz -C /tmp/

    Notex.x.x-xxxx is the version discovered in the previous step.
     5.      Run this command to change directories into the VMware Tools distribution:

    cd /tmp/vmware-tools-distrib/
     6.      Run this command to install VMware Tools:

    sudo ./vmware-install.pl -d

    Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept each default or supply your own answers.
     3.      Run this command to reboot the virtual machine after the installation completes:

    sudo reboot

    Louis Bergeron
    Integration Coach
    robotiq.com
    [email protected]
  • DanielDaniel Partner Posts: 15 Apprentice
    Thank you for the reply. I'll test with installing the VMware tools later on...
Sign In or Register to comment.
Left ArrowBack to discussions page