Tanjir's IBlog » Page 'Virtualbox: Shared directory- “unknown filesystem type vboxsf”'

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!

  • Slashdot
  • Digg
  • Diglog
  • Reddit
  • Delicious
  • Google Bookmarks
  • Facebook
  • Faves
  • Share/Bookmark

18 comments to “Virtualbox: Shared directory- “unknown filesystem type vboxsf””

  1. 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

  2. try running this as root user: “modprobe vboxvfs” then follow step 6.

  3. it is a crap. it does not work.

  4. Andrius Burlega@ how far have you gone? or you got no clue what you are trying to do?

  5. If mount works from / , but does not works from /export/home/andrius, is it not an idiocity?

  6. “sbin/modprobe vboxvfs” , Step 6
    Then it works

  7. This is what worked for me:

    sudo /sbin/mount.vboxfs

  8. Doing a

    1
    sudo modprobe vboxvfs

    worked for me. Careful not to forget the v in vboxvfs.

  9. 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.

  10. 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

  11. Thanks a lot! It worked

  12. [...] 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 [...]

  13. [...] 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 [...]

  14. Thanks a lot. Big help.

  15. Hi Man,
    Thanks a lot. After a long struggle for 3 hours finally saw ur blog. It worked! Grt Help. Bye

  16. Thanks a lot. Very helpful.

  17. 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

  18. try vboxsf rather than vboxfs when mounting. It worked for me.

Leave a comment

XHTML - You can use:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2008 Tanjir's IBlog is powered by WordPress