I’m using VirtualBox 3.1.4 on an OpenSolaris snv_134 x64 host, with an Ubuntu 9.10 x86 guest (with Guest Additions) installed. I used to manually mount a shared folder by executing a little shell script in the Ubuntu guest (launched from a Gnome Panel) containing the following command:
sudo mount -t vboxsf VExchange /home/user/Desktop/VExchange
Where VExchange is the VirtualBox shared folder share name, and /home/administrator/Desktop/VExchange is the guest mount point. The following guide describes how to configure a shared folder to mount automagically on boot:
In summary, I added this to /etc/rc.local, making sure that my guest user account’s (“user” in this example) GID and UID are 1000 respectively:
sudo mount -t vboxsf -o uid=1000,gid=1000 VExchange /home/user/Desktop/VExchange
Reboot and worked fine.