Registered 2008-11-05 by Christian Kellner

VBoxMount utilizes the virtual disk API of the VirtualBox Porject and the linux kernel's network block device driver to expose a given virtual disk image as a block device. Found partitions on that device can then be mounted with the normal linux mount tools.


You need to have the VirtualBox libraries and headers around. Libraries are shipped with the VirtualBox binary package (and in ubuntu stored in /usr/lib/virtualbox). Header files are currently only found in the virtualbox source code, so at the moment you need to have the source code around. (cf. Pass both directories to configure with "--with-vbox-libdir=<path-to-libs>" and "with-vbox-incdir=<path-to-incs>".

Use a kernel > 2.6.26! [Otherwise you'll need to use kpartx which is totally untested].
1) Load the nbd kernel module with max_part option (e.g. max_part=16).
2) Invoke VBoxMount as following: VBoxMount <nbd> <vdi> [vdi...] where <vdi> is your virtual disk image and <nbd> is any of /dev/nbdX where X is most likely something between 0 or 12.
  -> After that, you should have /dev/nbdXpY where Y is now mapped to the partitions.
3) You can mount those with the normal mount tools, e.g.: "mount /dev/nbd0p0 /mnt".

"VBoxMount -u /dev/nbdX"

Have Fun.

Project information

Christian Kellner
Christian Kellner
Development focus:

trunk series 

Browse the code

Programming Languages:

RDF metadata

View full history Series and milestones

VBoxMount trunk series is the current focus of development

All bugs Latest bugs reported

All questions Latest questions

Get Involved


Latest version is 0.3.0
released on 2008-12-08

All downloads