VirtualBox:I want to share folders between Fedora 14 as guest and OS/2 as host
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
VirtualBox:I want to share folders between Fedora 14 as guest and OS/2 as host
I am using Mac and have Fedora 14 as my virtual machine. I am struggling to share files between the two.I tried to install the GuestAdditions and get an error message:"Unable to mount the CD/DVD image /Application/VirtualBox.app/Contents/MacOs/VBox GuestAdditions.iso on the machine my fedora.
Would you like to force mounting of the medium. Could not unmount the currently mounted media/drive(VERR_PDM_MEDIA_LOCKED)" , then when I force unmount and choose the option shared folder under devices, it displays a shared folder window where I select the folder to be shared. This does not seem to work because when I search on fedora,under documents, the folder is not there.
Your assistance will be highly appreciated .
Thank you in advance
Last edited by pinky@linux; 04-01-2011 at 04:30 AM.
If you want to use the VB shared folders feature, here's the short version. Guest additions must be installed and compiled into the kernel.
Create the folder that you want to share on the host machine, say, ~/vboxshare. Make sure the folder permissions allow sharing.
In VirtualBox, select the machine to which you wish to share the folder and go to Settings-->Shared folders. Add that folder. I made mine "permanent." The folder name (say it's "vboxshare") should now show in the settings for that VM without the path: vboxshare. Put a file in it for testing.
Fire up the Virtual Machine. Once you are logged into the virtual machine,
Create a mountpoint as root: mkdir /mnt/foo.
Mount the shared folder as root: vboxsf -t vboxshare /mnt/foo.
Test: dir /mnt/foo. The test file you put in ~/vboxshare in the host should show in response to dir /mnt/foo in the VM.
This is the capsule version of the directions in section 4.7 of my copy of the VirtualBox manual. Instructions for installing Guest Additions are in section 4.1.1.
My VirtualBox manual does not seem to address OSX specifically (only one reference to OSX in the changelog on page 194). I would try the Linux or Solaris suggestions and see whether they work, since OSX is based on BSD.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.