FC14: where is my shared folder

Discussions about using Linux guests in VirtualBox.
Post Reply
ToddAndMargo
Posts: 306
Joined: 6. Aug 2007, 02:24

FC14: where is my shared folder

Post 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
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: FC14: where is my shared folder

Post by fixedwheel »

in HowTo&Tutorials, Linux guests => HOWTO: Use Shared Folders
ToddAndMargo
Posts: 306
Joined: 6. Aug 2007, 02:24

Re: FC14: where is my shared folder

Post 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?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: FC14: where is my shared folder

Post 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.
ToddAndMargo
Posts: 306
Joined: 6. Aug 2007, 02:24

Re: FC14: where is my shared folder

Post 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
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: FC14: where is my shared folder

Post 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)
Post Reply