Wednesday, September 21, 2011

Shared Folder settings between Windows7 and uBuntu guest OS in VMWare

PS: Please make sure that your VMTools is installed correctly on the uBuntu Guest.

Virtual Machine Settings
  • Folder sharing = Always Enabled.
  • Make sure you have at least one Folder shared between the host and guest.
    • For example: my-D-drive
On the uBuntu Guest
  • check /mnt/hgfs that you can access your shared folder
    •  If you cannot see the folder, then skip it. Next step will create the folder automatically.
  • update your fstab using the details below:
    • Open terminal and type:
      • gksu gedit /etc/fstab
    • Add below to the end of the file:
      • .host:/{shared-folder} /{path-to-mount-on} vmhgfs defaults,ttl=5,uid=1000,gid=1000 0 0
      • Change {shared-folder} to the shared folder of Virtual Machine Settings (my-D-drive).
      • Change {path-to-mount-on} to the folder inside uBuntu (/mnt/hgfs/my-D-drive).
  • Restart your vm.
    • You may need to restart few times or get error message saying unable to mount just skip the error and restart.

    No comments:

    Post a Comment