Page 1 of 1

FC14: where is my shared folder

Posted: 1. Dec 2010, 06:55
by ToddAndMargo
host: CentOS 5.5
guest: fedora code 14
VM: Vbox 3.2.10

I have a shared folder on my host that my Windows guests can easily find. But, I can not find it on my Fedora Code 14 guest. Anyone know where to look?

Many thanks,
-T

Re: FC14: where is my shared folder

Posted: 1. Dec 2010, 11:29
by fixedwheel
in HowTo&Tutorials, Linux guests => HOWTO: Use Shared Folders

Re: FC14: where is my shared folder

Posted: 1. Dec 2010, 19:52
by ToddAndMargo
fixedwheel wrote:in HowTo&Tutorials, Linux guests => HOWTO: Use Shared Folders
Thank you. Great link. Problem: still do not know where my shared folder is

Code: Select all

mount -t vboxsf share /home/<username>/host
So, where in the world in "share" to be found on my file system? Is it not even on my file system?

Many thanks,
-T

p.s. you wouldn't happen to know the fstab entry to mount this thing?

Re: FC14: where is my shared folder

Posted: 1. Dec 2010, 20:59
by Perryg
mount -t vboxsf share /home/<username>/host

According to your statement it would be located in your home folder under host.
Are the shared files not there?

Did you actually create the folder "host"

Additionally: I would suggest that you use rc.local to make the mount permanent. Just edit the /etc/rc.local file and add the same mount statement as the last line.
VirtualBox usually does not get loaded before fstab and sometime this can cause a hang.

Re: FC14: where is my shared folder

Posted: 1. Dec 2010, 21:58
by ToddAndMargo
Perryg wrote:mount -t vboxsf share /home/<username>/host

According to your statement it would be located in your home folder under host.
Are the shared files not there?

Did you actually create the folder "host"
Actually, I was asking where "share" was, not the mount point
Additionally: I would suggest that you use rc.local to make the mount permanent. Just edit the /etc/rc.local file and add the same mount statement as the last line.
VirtualBox usually does not get loaded before fstab and sometime this can cause a hang.
Great tip. Thank you!
-T

Re: FC14: where is my shared folder

Posted: 1. Dec 2010, 22:26
by Perryg
In Linux the "share" name is just a name that you use to mount the shared folder. When you mount it you tell it to put "share" in the folder you defined to mount the folder and contents in. In your case using the above information it would be in ~/host

So if you made the folder (mkdir /home/<user name>/host) the files will show up there.
You also may want to look into adding some options to the mount so you can have rwd, permissions. Usual options are rwd,uid=xxxx,gid-xxxx (where xxxx is your ID)