Virtual Box and mounting shared folders

Lee

Lee

Associate
Joined
21 Dec 2006
Posts
474
Location
Northampton
Hi, I'm a bit of a Linux noob. I have installed Ubuntu 11.10 within a Virtual Box VM. I can manually enter the terminal command below to mount the Virtual Box shared host folder (Cosmos) to Home/host folder in the VM, and it works fine:

sudo mount -t vboxsf Cosmos ~/host


What I can't work out is how to automate this on bootup. I've googled and tried adding a line to the /etc/fstab file:

Cosmos /home/lee/host vboxsf defaults 0 0

which is as far as I tell exactly what is suggested, but it doesn't seem to mount the shared folder.

Can anyone help with this ?

Cheers,

Lee.
 
Guys, thanks for the pointers. Some of it is a bit beyond my current capability, but hell that's why I'm running a Linux VM, to learn...
 
Back
Top Bottom