Skip navigation

Tag Archives: vboxsf

nce upon a time I’m writing another blog post about Virtualbox. It’s my obsession lately.

So, I finally discovered a simple way to make it so that any folders I share using Virtualbox will mount automatically when I start up the guest operating system. I am using Windows Vista as my host, and Ubuntu 8.04.1 (Hardy Heron) as my guest. I have shared my Videos folder in Windows with my virtual Ubuntu installation (using Devices/Shared Folders in VirtualBox). I used to have to type

mount -t vboxsf Videos /home/my_user_name_here/Videos

in the Terminal everytime I wanted to use the folder. But now I add

Videos /home/my_user_name_here/Videos vboxsf defaults 0 0

to the end of my fstab file (in Terminal: sudo gedit /etc/fstab) and when I restart Ubuntu, my Videos folder is populated with all of my beloved video files sitting on my Windows host machine. Hope that helps someone. And they all lived happily ever after. ZZZZZZ

UPDATE: FYI, this works on Ubuntu 8.10 (Intrepid Ibex) as well.

UPDATE: To get this to work in Ubuntu 9.04 (Jaunty Jackalope) I used this:

videos /home/my_user_name_here/Videos vboxsf

I guess it just uses the defaults. Security concerns? Probably.

Advertisements