Virtualbox could not map shared folder from CentOS host
I have Virtualbox installed in CentOS 5.5 and an Ubuntu as Guest OS. I am having a problem of sharing host folder to guest.
I have done these already: 1. (HOST): VBoxManage sharedfolder add "ubuntu_vpn" -name "media" -hostpath "/home/username/media" 2. (GUEST): VBoxLinuxAdditions is already installed in Guest OS successfully 3. Reboot Guest OS 4. I try to use both commands: Code:
sudo mount -t vboxsf media /home/username/shared Code:
sudo mount.vboxsf media /home/username/shared Code:
mounting failed with the error: Protocol error |
|
Quote:
|
If you have already added your username to the vboxusers group, via "sudo adduser <yourusername> vboxusers", then i am lost. Very sorry to have removed your question from the zero replies list without resolving it.
|
Quote:
Code:
/usr/sbin/usermod -a -G vboxusers username |
Again i apologize, i suggest you go directly to the source, virtualbox.org, register and login, then register with their forum and post the question there. One of my tricky issues,(nothing similar was resolved there). All the better if someone else here is able to solve it here.
|
Quote:
|
I came across this too at some point, when I set up shared directories on a CentOS guest with Ubuntu host.
added this to the /etc/rc.local in the guest and don't have a problem since: Code:
mount.vboxsf -o uid=500 -o gid=500 <sharename> <sharedirectory> did you also run Code:
/etc/init.d/vboxdrv setup iirc that was necessary too |
Quote:
|
All times are GMT -5. The time now is 10:03 AM. |