LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-01-2011, 03:57 AM   #1
pinky@linux
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
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.
 
Old 04-01-2011, 08:12 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
F14 users should already have a directory called shares in their home directory.

You can use samba to share files between the 2 OSes. I create a link to my vmware guest by using the guests ip address.
i.e.

smb://192.168.1.67/shares

where the ip is the ip of the guest.


I'm not sure what you mean by "OS/2" as the host as macs run OSX these days. OS/2 is an old OS developed by microsoft and IBM.
 
Old 04-01-2011, 09:42 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
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,
  1. Create a mountpoint as root: mkdir /mnt/foo.
  2. Mount the shared folder as root: vboxsf -t vboxshare /mnt/foo.
  3. 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.

Last edited by frankbell; 04-01-2011 at 09:43 PM.
 
Old 04-02-2011, 02:34 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
OS/2 or OS/X ?
 
Old 04-04-2011, 10:07 AM   #5
pinky@linux
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
hi Jefro

It is OS/X
 
Old 04-04-2011, 02:11 PM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
OS/2?


Wow.


What version of OS/2 are you trying to run? Warp?
 
Old 04-04-2011, 09:17 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
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.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox: Slackware64 host and guest; NFS mount from host fails catkin Linux - Virtualization and Cloud 0 11-15-2010 06:54 AM
Virtualbox CentOS Guest can not connect to Internet from XP Host sokha Linux - Virtualization and Cloud 2 03-30-2010 11:28 PM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 12:15 AM
VirtualBox: I want to share files between Fedora 9 host and Windows XP guest. Iltbreg Linux - Networking 5 10-22-2008 05:03 AM
Ubuntu Host Virtualbox guest Networking weirdness ddales Linux - Networking 0 01-20-2008 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration