klippe wrote:The problem is when I try to use fstab to automount the above shared folder. I use the following entry in fstab:
Code: Select all
shared_folder /media/share vboxsf rw,uid=myuser,gid=mygroup 0 0
I don't know why it doesn't work, but I do have the following to offer: When I look at my own fstab file, I see two differences:
Code: Select all
shared_folder /home/stephanec/Desktop/shared_folder vboxsf rw,uid=1000,gid=1000
1) first difference is that I've used the numerics instead of the names for user & group
2) second difference is I don't have the trailing "0 0" at the end of the line for dump/check...though man fstab tells me that if not specified it defaults to zero.
On my Ubuntu 8.10 host & Debian Etch guest, this line in my guest fstab ensures the share is mounted every time I reboot. Like what you are trying to do, if I manually unmount it, then "sudo mount -a" will remount it as expected.
Stéphane