Page 1 of 1

Mac Host + Linux Guest + SharedFolder issue

Posted: 14. May 2010, 05:00
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

Re: Mac Host + Linux Guest + SharedFolder issue

Posted: 14. May 2010, 08:11
by humdinger70
Did you check the Shared Folders sticky topic in this forum?

Re: Mac Host + Linux Guest + SharedFolder issue

Posted: 14. May 2010, 08:13
by humdinger70
You're missing the trailing '/' in your mount command.

It should look like this: "sudo mount -t vboxsf notes ~/desktop/notes/"

Re: Mac Host + Linux Guest + SharedFolder issue

Posted: 14. May 2010, 10:00
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)?

Re: Mac Host + Linux Guest + SharedFolder issue

Posted: 14. May 2010, 13:51
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)