LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VirtualBox:I want to share folders between Fedora 14 as guest and OS/2 as host (https://www.linuxquestions.org/questions/linux-newbie-8/virtualbox-i-want-to-share-folders-between-fedora-14-as-guest-and-os-2-as-host-872318/)

pinky@linux 04-01-2011 03:57 AM

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

smoker 04-01-2011 08:12 AM

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.

frankbell 04-01-2011 09:42 PM

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.

jefro 04-02-2011 02:34 PM

OS/2 or OS/X ?

pinky@linux 04-04-2011 10:07 AM

hi Jefro

It is OS/X

szboardstretcher 04-04-2011 02:11 PM

OS/2?


Wow.


What version of OS/2 are you trying to run? Warp?

frankbell 04-04-2011 09:17 PM

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.


All times are GMT -5. The time now is 09:45 AM.