Can't Mount Shared folder

Discussions about using Linux guests in VirtualBox.
Post Reply
Mustafa
Posts: 2
Joined: 21. May 2014, 03:22

Can't Mount Shared folder

Post by Mustafa »

Trying to mount shared folder.
host windows 7.
guest Oracle Linux Server 6.5
I created shared folder in e:\ora

and trying to run the below command

mount -t vboxsf ora /media

The message getting
/sbin/mount.vboxsf: mounting failed with error : no such device.

any assist on the above
Thanks
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Can't Mount Shared folder

Post by mpack »

Did you install the Guest Additions? Also, the name which the host gives to the folder doesn't matter, only the share name matters - which you have not mentioned.

See the user manual for details on installing Linux GAs.

Also: I have a suspicion that you may be mixing GA shared folders with true network shares. If you created a true network share then the guest mount command you used is incorrect, since as the name "vboxsf" name implies, that command only works on "VBox Shared Folders" not network shares. For network shares replace "vboxsf" with the correct server name.

If you need to discuss this further then post a .zip containing a VM log file. Include your .vbox file in the .zip. Minimum information needed for assistance.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't Mount Shared folder

Post by Perryg »

Moving to Linux guest since Windows 7 is not a Linux Host.
sparkee
Posts: 6
Joined: 20. May 2014, 05:06

Re: Can't Mount Shared folder

Post by sparkee »

Mustafa wrote:Trying to mount shared folder.
host windows 7.
guest Oracle Linux Server 6.5
I created shared folder in e:\ora

and trying to run the below command

mount -t vboxsf ora /media

The message getting
/sbin/mount.vboxsf: mounting failed with error : no such device.

any assist on the above
Thanks
Most likely you need to yum update and install, at least gcc and kernel-devel. This link worked for me for OEL 6.5.
http://ecmtech.wordpress.com/2012/05/19 ... x-6-guest/
Mustafa
Posts: 2
Joined: 21. May 2014, 03:22

Re: Can't Mount Shared folder

Post by Mustafa »

Thank you very much .

i configure IP on both and copy it thru network.

Thanks again for all your efforts.
Post Reply