Mount vdi files in ubuntu

Source: Internet
Author: User
I want to mount the vdi partition file of VirtualBox in Ubuntu12.04/12.10 on ubuntu? You can use vdfuse. This user space File System (FUSE) module enables the virtual disk image files supported by VirtualBox through the VirtualBox access library...
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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.