Hi,
I'm new to Linux. I've enabled my shares in Virtual Machine Settings. I'm assuming that the instructions here are the relevant ones. Mounting Shared Folders in a Linux Guest. It states that
mount -t vmhgfs .host:/ /home/user1/shares
mounts all shares to /home/user1/shares. I assume I replace "user1" with my user name.
When I try this I get "Error: cannot canonicalize mount point: No such file or directory".
Just in case "no such file or directory" was referring to ~user1/shares I tried creating a "shares" folder but that made no difference.
I also tried
mount -t vmhgfs .host:/ /home
which resulted in
Error: cannot mount filesystem: No such device
Any suggestions please?
Thanks!
This works on my Mint VM:
I have a host share named data (it is enabled in settings).
check to make sure the Mint VM can "see" it:
vmware-hgfsclient
Returns: data
Make a directory for mounting in my home directory:
mkdir ./testmnt
Mount it:
sudo vmhgfs-fuse -o nonempty -o allow_other .host:/data ./testmnt
note spaces.
Lou
Simple question - have you installed the VMware Tools in your guest? They are needed for the Shared Folders feature to work.
This works on my Mint VM:
I have a host share named data (it is enabled in settings).
check to make sure the Mint VM can "see" it:
vmware-hgfsclient
Returns: data
Make a directory for mounting in my home directory:
mkdir ./testmnt
Mount it:
sudo vmhgfs-fuse -o nonempty -o allow_other .host:/data ./testmnt
note spaces.
Lou
Thanks very much Lou.
Mint could indeed see my shares and
sudo vmhgfs-fuse -o nonempty -o allow_other .host:/data ./testmnt
works perfectly.
So, next question, how do I make my shares mount at boot-up?
Regards, Dave.
Does it not show up in /mnt/hgfs? If it does, you could make a link to it.
Otherwise, I think you could put the command in /etc/rc.local although I have not done so.
I would also guess that you could make an entry in fstab but have never done that either.
Personally, I use smb in Konqueror.
Lou
Thanks Lou
I worked around on it for a week
where are these commands documented?
thank you very much!