Saturday, June 15, 2013

Mount a Shared Directory in VMware Fusion

Using a OS X host and a Ubuntu Server 12.04 LTS guest, run the following commands:
$ ls /mnt

In your guest OS (in this case, Ubuntu Server) look for a directory called "hgfs". If it is not there, run:
$ sudo mkdir -pv /mnt/hgfs

In the host OS (OS X), under the VMware Fusion menu for the guest OS, go to
Virtual Machine > Sharing > Sharing Settings...

Next, in the dialog box pop-up, move the slider to "ON", then click on the "+" sign on the lower-left to add a shared directory (in this case, I am using /Users/<user-name>/Public. Once you are done, click on the red window button to close the dialog box pop-up.

Going back to Ubuntu, try to mount the shared directory manually in order to test if we have a working configuration:
$ sudo mount -t vmhgfs .host:/ /mnt/hgfs

Verify by running the following command:
$ ls /mnt/hgfs/Public

You should be able to see the contents of the shared folder.

Coutesy of:
https://wiki.archlinux.org/index.php/Installing_Arch_Linux_in_VMware

No comments:

Post a Comment