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
setting up share on Linux Mint guest (XP host)
-
baf
- Volunteer
- Posts: 829
- Joined: 27. Sep 2008, 06:18
- Primary OS: Mac OS X Leopard
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: linux,xp,win7
- Location: Luleå or Skellefteå, Sweden
Re: setting up share on Linux Mint guest (XP host)
Rename the share! Mounting something on a folder with the same name fails!
So dropbox on dropbox fails. DROPBOX on dropbox should be ok.
So dropbox on dropbox fails. DROPBOX on dropbox should be ok.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
My way: "You live as long as you learn".
-
myotis
- Posts: 12
- Joined: 21. Jun 2009, 08:37
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: ubuntu
Re: setting up share on Linux Mint guest (XP host)
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
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
-
baf
- Volunteer
- Posts: 829
- Joined: 27. Sep 2008, 06:18
- Primary OS: Mac OS X Leopard
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: linux,xp,win7
- Location: Luleå or Skellefteå, Sweden
Re: setting up share on Linux Mint guest (XP host)
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
dropbox /home/graham/DROPBOX vboxsf rw,gid=1000,uid=1000 0 0
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
My way: "You live as long as you learn".
-
myotis
- Posts: 12
- Joined: 21. Jun 2009, 08:37
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: ubuntu
Re: setting up share on Linux Mint guest (XP host)
Many thanks again, the line you suggested in etc/fstab seems to work fine.
Graham
Graham