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.

Compile:

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. www.virtualbox.org) Pass both directories to configure with "--with-vbox-libdir=<path-to-libs>" and "with-vbox-incdir=<path-to-incs>".

Usage:
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".

Unmounting:
"VBoxMount -u /dev/nbdX"

Have Fun.

Project information

Maintainer:
Christian Kellner
Driver:
Christian Kellner
Licence:
GNU GPL v2

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Development focus:

lp:vboxmount 
Browse the code

Version control system:
Bazaar
Programming languages:
C++

All questions Latest questions

All bugs Latest bugs reported

Get Involved

Downloads

Latest version is 0.3.0
released on 2008-12-08

All downloads