Hi, the good news is that you don't even need to add anything to your fstab file for mounting shares automatically; all it takes is a short script file and telling your desktop to load it at startup.
Here's my step by step: == Shares setup: == 1. Assign the host folders to share through the VM settings in VirtualBox. No need to setup shares in Windows Explorer itself. 2. Create mount points for the shares in the guest (as root): mkdir /mnt/share mkdir /mnt/share/music mkdir /mnt/share/videos mkdir /mnt/share/pix mkdir /mnt/share/dox mkdir /mnt/share/down 3. Setup sudo (as root): Add the following at the end of /etc/sudoers: user ALL = NOPASSWD : ALL Replace "user" with your username. 4. Create a script to mount your shares: mkdir ~/Scripts nano scripts/shares #!/bin/sh sudo mount -t vboxsf music /mnt/share/music sudo mount -t vboxsf videos /mnt/share/videos sudo mount -t vboxsf pix /mnt/share/pix sudo mount -t vboxsf dox /mnt/share/dox # sudo mount -t vboxsf down /mnt/share/down Make shared-folders script executable: chmod +x shared-folders 5. Add the script to Gnome startup programs: Desktop > Preferences > Sessions > Startup Programs _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
