Mac Host + Linux Guest + SharedFolder issue

Discussions about using Linux guests in VirtualBox.
Post Reply
miragetetra
Posts: 3
Joined: 14. May 2010, 04:35
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Ubuntu

Mac Host + Linux Guest + SharedFolder issue

Post by miragetetra »

For some reason while trying to mount folders between a Mac OS 10.6.3 host and an Unbuntu 10.04 LTS guest I keep getting the following message:

"/sbin/mount.vboxsf: mounting failed with the error: No such device"

The command I'm using to mount (on the guest) is

"sudo mount -t vboxsf notes ~/desktop/notes"

The only thing I can find concerning this error message is:
"Q: I get a protocol error when mounting.
Q: I get the error /sbin/mount.vboxsf: mounting failed with the error: No such device.
A: You mount the SF on a mount point with the same name as the share itself, change the name or mount point.
A: You're sharing a personal folder like your Home Folder (Linux), or My Documents (Windows) on the Host. Define a new share, like a sub folder."

That said, I have the lastest "Guest Additions" installed as well as the latest version of VB . The sharedfolder in question sits on my desktop on the Mac host and the mount_point sits on the Desktop of the Ubuntu guest. My sharedfolder options are set up correctly and the path of the sharefolder is pointing to where it should be. I've tried moving the sharedfolder on my mac to my Public folder (with filesharing active) as well as moving the contents of the folder to another folder, nothings worked so far. I'm at a lost as to what I should do next to get this working so any help would be very much appreciated

Note: Posted this question on the "Mac Host" section of the forums as well as it may concern both
humdinger70
Posts: 29
Joined: 7. Mar 2010, 23:28
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: PCLinuxOS-2010-beta2

Re: Mac Host + Linux Guest + SharedFolder issue

Post by humdinger70 »

Did you check the Shared Folders sticky topic in this forum?
humdinger70
Posts: 29
Joined: 7. Mar 2010, 23:28
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: PCLinuxOS-2010-beta2

Re: Mac Host + Linux Guest + SharedFolder issue

Post by humdinger70 »

You're missing the trailing '/' in your mount command.

It should look like this: "sudo mount -t vboxsf notes ~/desktop/notes/"
miragetetra
Posts: 3
Joined: 14. May 2010, 04:35
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Mac Host + Linux Guest + SharedFolder issue

Post by miragetetra »

Firstly, The Q&A in my original post is directly from the sticky. It doesn't provide pertinent (or enough) information to my situation as the folder I am sharing is not my Host's home folder; nor is the mount_point my Guest's home folder. However as an extra measure I've changed the name of the mount_point folder to "notes1" yet I still get the same error.
Next, Regardless if I use

~/Desktop/notes1
~/Desktop/notes1/
/home/<user name>/Desktop/notes1
/home/<user name>/Desktop/notes1/

I get the same error. I always shutdown the virtual machine before making any changes to either folder (on the guest or host) but that hasn't seemed to work.
Would anyone know if there is a way to view what values vboxsf holds from inside the Guest environment (Unbuntu in this case)?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Mac Host + Linux Guest + SharedFolder issue

Post by Sasquatch »

This is a Linux Guest problem. I can't mount my shared folder on a 10.04 Guest either (with a 10.04 Host) using 3.2.0 beta 3. It appears that the shared folder function is broken in this case.

Updating the GA on my 9.10 guest now to see if it's a generic problem, or 10.04 only.

Edit:
It seems it was still a 9.04 guest, but shared folders work in it, so it seems it's a Lucid Guest issue. Please create a bug report about this in the Bugtracker (separate account needed)
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply