How can I mount a vdi partition file of VirtualBox on ubuntu 12.04/12.10? You can use vdfuse. This user space File System (FUSE) module enables the Virtual Disk Image File supported by VirtualBox through the VirtualBox access library, and mounts it as a FUSE file system. The mount point is a flat file directory, including the entire disk, partition 1, partition 2 ......... Until the last partition.
(Note: If you do not understand it, you can directly view the final instance .) Install vdfuse on www.2cto.com in 12.10/12.04. Open the terminal and enter: sudo apt-get install virtualbox-fuse vdfuse Syntax: vdfuse syntax rules: vdfuse [options]-f image-file mountpoint www.2cto.com-h help-r read-only-t type (VDI, VMDK, VHD, or raw; default: auto) -f image file-a allows all users to read-w allows all users to write-g foreground run-v output feedback-d debug mode Note: You must edit/etc/fuse. remove the annotator before "user_allow_other". Otherwise, it cannot run correctly. Example of www.2cto.com: Use the following statement to mount the file. vdi file sudo vdfuse-f/path/to/file. vdi/path/to/mountpoint should contain the following files: 'entiredisk', 'partition1', and so on. If there is only one file, you may need to mount it like this: mount/path/to/mountpoint/Partition1/path/to/someother/mountpoint file system is mounted to/path/to/someother/mountpoint. Www.2cto.com. Then install $ sudo add-apt-repository ppa: debfx/virtualbox $ sudo apt-get update $ sudo apt-get install virtualbox-fuse and then: sudo gedit/etc/fuse. confand. Remove # From user_allow_other #. Then: $ cd/media $ sudo mkdir vdisk $ sudo vdfuse-f/home/ray/VirtualBox \ VMs/HardDisks/E-Port.vdi/media/vdisk-w www.2cto.com open the folder, the two files,
Then: $ cd/media $ sudo mkdir Partition1 $ sudo mount/media/vdisk/Partition1/media/Partition1