Page 1 of 1

setting up share on Linux Mint guest (XP host)

Posted: 15. Jul 2009, 09:31
by myotis
I suspect this may be more a Linux question than a VB one, but I have set up a share using VB additions for a folder on the Windows XP Host. (C:\Home\My dropbox called dropbox in Guest addditions)

I have created a folder called dropbox in linux (/home/graham/dropbox)

Then using advice in other questions in the forum I have tried

sudo mount -t vboxsf -o rw,gid=1000,uid=1000 dropbox /home/graham/dropbox

to mount the shared folder but get:

/sbin/mount.vboxsf: mounting failed with the error: Protocol error

Is this because I need to create a proper mount point in Linux rather than just creating a folder, or is the problem somewhere else (I have tried other options, but none work) I typed id into the terminal and confirmed the gid and uid settings match those on this machine.

A little bit of hand holding would be appreciated. Assuming I get this sorted I would also like it to mount every time I launch Linux Mint, so some help with that would also be appreciated.

Many thanks,

Graham

Re: setting up share on Linux Mint guest (XP host)

Posted: 15. Jul 2009, 09:59
by baf
Rename the share! Mounting something on a folder with the same name fails!
So dropbox on dropbox fails. DROPBOX on dropbox should be ok.

Re: setting up share on Linux Mint guest (XP host)

Posted: 15. Jul 2009, 10:43
by myotis
baf,

Thanks that fixed it :-)

Can I also ask how I make this persistent between log ins. Does it just get added to the bottom of /etc/fstab as

mount -t vboxsf -o rw,gid=1000,uid=1000 dropbox /home/graham/DROPBOX

This seems to be where things are automounted, but would appreciate it being confirmed.

Many thanks,

Graham

Re: setting up share on Linux Mint guest (XP host)

Posted: 15. Jul 2009, 10:52
by baf
try a line like this in fstab or put your current line in rc.local
dropbox /home/graham/DROPBOX vboxsf rw,gid=1000,uid=1000 0 0

Re: setting up share on Linux Mint guest (XP host)

Posted: 15. Jul 2009, 11:31
by myotis
Many thanks again, the line you suggested in etc/fstab seems to work fine.

Graham