Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th February 2008, 02:33 PM
leadgolem's Avatar
leadgolem Offline
Registered User
 
Join Date: Apr 2005
Location: Littleton, CO
Age: 28
Posts: 2,855
How to mount shares inside fedora virtualbox?

I have been looking at the following links.
http://virtualdebian.blogspot.com/20...irtualbox.html
http://forums.virtualbox.org/viewtop...t=share+folder
http://blogs.sun.com/tao/entry/virtu...folder_between

I believe the command should be something like this.
Code:
su
mount -t vboxsf sharename mountlocation
Unfortunately my "fedora in a box", doesn't seem to recognize "vboxsf" or "mount.vboxsf" as a valid filesystem.

Does anyone know what filesystem I should be using inside Innotek VirtualBox for the shares? Do I need to make any other alterations to the command above?

EDIT Another try.
Code:
mount -t auto sharename mountlocation
mount: mountlocation is not a block device
__________________
Only two things are infinite, the universe and human stupidity, and I am not sure about the former. -Albert Einstein-
yum -y --enablerepo=morals install honesty&
remove piratedcontent
S.C.O.U.R.G.E. Heroes of lesser renown, contributor.
Wine Basics Logitech g15 How-To Community made packages.

Last edited by leadgolem; 29th February 2008 at 02:42 PM.
Reply With Quote
  #2  
Old 29th February 2008, 04:20 PM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
I was having problems with this, too, and eventually decided on Samba shares. This is probably a stupid question, but did you install the "VirtualBox Guest Additions" thingy in the guest? None of those guides mention installing the guest additions, so I have to ask.

If not, try putting this .iso in the virtual cd-rom drive for your guest machine (this is where it is for me - 1.5.6, installed from the official rpm):
/usr/share/virtualbox/VBoxGuestAdditions.iso

Then mount it to a mount point of your choosing in the guest. I think there's a *.sh of some sort in there for Linux guests and an .exe for Windows guests.

If you've already done this, not sure...

The other option is Samba shares, I suppose, which I think is more flexible anyway (run a Samba server on your host and then just mount the share in the guest as if it's remote using mount -t cifs blah blah).
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner

Last edited by forkbomb; 29th February 2008 at 04:23 PM.
Reply With Quote
  #3  
Old 29th February 2008, 06:03 PM
leadgolem's Avatar
leadgolem Offline
Registered User
 
Join Date: Apr 2005
Location: Littleton, CO
Age: 28
Posts: 2,855
I believe that was the missing step.
Code:
Building the shared folder support kernel module
Now it is sorta working. Here is the command I used to mount it.
Code:
mkdir vbox
mount.vboxfs vbox /root/vbox
I should mention that this was done as root. Mounting it after running "su" in a normal users terminal works too. The reason my virtual machine is logged in as root is that I could not change the ownership of the mount away from root after I had actually mounted it.
__________________
Only two things are infinite, the universe and human stupidity, and I am not sure about the former. -Albert Einstein-
yum -y --enablerepo=morals install honesty&
remove piratedcontent
S.C.O.U.R.G.E. Heroes of lesser renown, contributor.
Wine Basics Logitech g15 How-To Community made packages.
Reply With Quote
Reply

Tags
fedora, inside, mount, shares, virtualbox

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox: How can I access the internet from inside it? Psycho Using Fedora 3 21st February 2009 07:56 PM
Fedora 8 can't mount partitions after the install [screenshot inside] TheN00BeXpert Hardware & Laptops 8 30th December 2007 04:18 PM
mount smb/nfs shares safely axelseap Guides & Solutions (No Questions) 0 23rd January 2006 06:35 AM
mount smb-shares at boot? dezibel Servers & Networking 0 26th February 2005 10:41 PM


Current GMT-time: 16:32 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat