I'm running VirtualBox in Windows. I have Ubuntu Linux 10.04 installed as a VM.
Whenever I log in I have to run to following command to mount my shared Windows web dev folder:
sudo mount.vboxsf web_apps /mnt/web_apps
Where can I put this line (minus the sudo) so that it will run once when Linux boots up? I'm guessing there must be a root .profile or .login script that runs at some point?
Thanks to The Operator I figured it out, for future superusers, here's what I did:
sudo nano /etc/modules
Added the following to the bottom of the file:
Save and exit. Then:
sudo nano /etc/fstab
Then, at the bottom of this file added:
web_apps /mnt/web_apps vboxsf defaults 0 0