Virtualbox: Shared directory- “unknown filesystem type vboxsf”
I got the error message “unknown filesystem type vboxsf” while I was trying to share a directory from my Windows XP host to Ubuntu Interpid Ibex (8.10). In almost every where it said to install Guest additions. After spending few hours I found the solution. So decided to share with you for reference.
Step 1: Install host additions (usually you install them when you install virualbox).
Step 2: If you have created a new machine, then create a shared directory/folder. (From the machine’s Devices menu)
Step 3: From machine’s Devices menu, select “Install guest additions”
Step 4: Now in the guest (Ubuntu Ibex Interpid for my case), fire up a console and type the following:
1 | sudo /media/cdrom/VBoxLinuxAdditions-x86.run |
It should install the additions.
Step 5: Now create a directory where you want to mount your shared drive. For example I have created shared directory under mount using following:
1 2 3 | #cd /media #sudo mkdir shared |
Step 6: Mount using following command:
1 | sudo mount -t vboxsf shared /media/shared |
Note that shared was the name of the directory I shared from virtual box and /media/shared is the directory where I wanted to mount my shared directory.
Now you should be able to see the files under shared directory in both system.
Enjoy!

24. March 2009 at 9:54 am :
thank you this was helpful. I followed all the steps and got the following error
/sbin/mount.vboxsf: mounting failed with the error: No such device
24. March 2009 at 10:03 am :
try running this as root user: “modprobe vboxvfs” then follow step 6.
17. June 2009 at 7:25 am :
it is a crap. it does not work.
17. June 2009 at 10:10 am :
Andrius Burlega@ how far have you gone? or you got no clue what you are trying to do?
17. June 2009 at 5:08 pm :
If mount works from / , but does not works from /export/home/andrius, is it not an idiocity?
21. July 2009 at 2:55 am :
“sbin/modprobe vboxvfs” , Step 6
Then it works
5. August 2009 at 9:07 am :
This is what worked for me:
sudo /sbin/mount.vboxfs
11. September 2009 at 10:51 am :
Doing a
worked for me. Careful not to forget the v in vboxvfs.
5. October 2009 at 10:51 am :
I am new to VirtualBox and just exploring. I am running Ubuntu 9.04 as the Host Machine, and have successfully setup guest machines on my computer and on a USB drive. I have not been successful at finding a way to share. I couldn’t do the first suggestion, since I don’t know where to get the guest additions. I have tried all of the other suggestions and all end up with “unknown filesystem type vbox”. Still searching.
3. November 2009 at 12:45 pm :
The filesystem type name seems to have changed in recent editions of Virtualbox, if a type of vboxfs does not work for you then try vboxsf, this worked for me in 3.0.10, e.g.
mount -t vboxsf sharename mountpoint
17. November 2009 at 1:04 pm :
Thanks a lot! It worked
14. December 2009 at 4:38 am :
[...] http://www.tanjir.net/2009/01/virtualbox-shared-directory/ Possibly related posts: (automatically generated)AJAX and PHP Building Responsive Web Applications by Cristian Darie, Bogdan…Essential downloads [...]
16. December 2009 at 1:22 am :
[...] of shared folders using which you can seamlessly move files from the host box to the guest box. Setting this up was not child’s play, but once it was done it saved me tons of donkey work. In VMware, I had to use Samba to get this [...]
10. January 2010 at 8:35 am :
Thanks a lot. Big help.
17. January 2010 at 1:18 am :
Hi Man,
Thanks a lot. After a long struggle for 3 hours finally saw ur blog. It worked! Grt Help. Bye
12. February 2010 at 8:26 am :
Thanks a lot. Very helpful.
20. February 2010 at 1:11 am :
My ubuntu is not configured to build the kernel… do you know what I need to install to be able to build a kernel?
Thanks,
Wayne
9. March 2010 at 4:54 pm :
try vboxsf rather than vboxfs when mounting. It worked for me.