Results 1 to 6 of 6
Thread: Shared folders in VirtualBox
Enjoy an ad free experience by logging in. Not a member yet? Register.
Shared folders in VirtualBox
I'm using Mandriva Linux as host OS, and have installed Gutsy as a guest. I would like to use a shared folder for application's development. Unfortunatelly the Unix commands has different kind of outputs in the two Linuxes so I need to work paralelly in two OS's.
I have installed VirtualBox Guest Additions, but don't know how to reach the folder from within Gutsy.
Did you try ...mount -t vboxsf [-o OPTIONS] sharename mountpoint
Steps should be ...
1. create folder to share (lets say its /home/your-name/share-folder)
2. select virtual machine and setup share folder (folder path is /home/your-name/share-folder ... and you set folder name to my-share)
3. start vm and create folder in vm to mount share to (lets say its /media/shared-stuff thenCode:
sudo mkdir /media/shared-stuff
4. then mount the shared folder in the vm
sudo mount -t vboxsf my-share /media/shared-stuff
If that does not work what errors do you get ?
O.K. I've succeeded to mount the folder, but I still cannot write into the shared folder from the guest OS. I can list its content, eventually open it, but not change it. How could I gain write access?
You can make the share read only in vbox setup ... so I'd check that first ... what does the guest OS return for mount? is it listing rw or ro access? what permissions does your shared folder have in the host OS?
Basically under the guest it is owned by root. It mounts normally, I've tried to mount with defaults option, but it won't give me write access. In VirtualBox full access is enabled. I'll try to use mc for copy as root.
Yes, it works with mc.