Senin, 23 Juli 2012
How to mount VirtualBox drive image (vdi) in Ubuntu 12.10/12.04
Do you like this story?
If you want to mount VirtualBox drive image (vdi) in Ubuntu 12.04/12.10 use vdfuse.This Fuse module uses the VirtualBox access library to open a VirtualBox supported VD image file and mount it as a Fuse file system. The mount point contains a flat directory containing the files EntireDisk, Partition1 .. PartitionN. These can then be loop mounted to access the underlying file systems
Install vdfuse in ubuntu 12.10/12.04
Open the terminal and run the following command
Using vdfuse
vdfuse syntax
-h help
-r readonly
-t specify type (VDI, VMDK, VHD, or raw; default: auto)
-f VDimage file
-a allow all users to read disk
-w allow all users to read and write to disk
-g run in foreground
-v verbose
-d debug
NOTE: you must add the line "user_allow_other" (without quotes) to /etc/fuse.confand set proper permissions on /etc/fuse.conf for this to work.
Example
If you want to mount .vdi file use the following syntax
/path/to/mountpoint will now contain files like ‘EntireDisk', ‘Partition1′, etc. If there's only one partition showing, you probably want that one. So to mount the filesystem, just type:
The filesystem should now be mounted on /path/to/someother/mountpoint.
Source : http://www.ubuntugeek.com/how-to-mount-virtualbox-drive-image-vdi-in-ubuntu-12-1012-04.html
Install vdfuse in ubuntu 12.10/12.04
Open the terminal and run the following command
sudo apt-get install virtualbox-fuse
Using vdfuse
vdfuse syntax
vdfuse [options] -f image-file mountpoint
-h help
-r readonly
-t specify type (VDI, VMDK, VHD, or raw; default: auto)
-f VDimage file
-a allow all users to read disk
-w allow all users to read and write to disk
-g run in foreground
-v verbose
-d debug
NOTE: you must add the line "user_allow_other" (without quotes) to /etc/fuse.confand set proper permissions on /etc/fuse.conf for this to work.
Example
If you want to mount .vdi file use the following syntax
sudo vdfuse -f /path/to/file.vdi /path/to/mountpoint
/path/to/mountpoint will now contain files like ‘EntireDisk', ‘Partition1′, etc. If there's only one partition showing, you probably want that one. So to mount the filesystem, just type:
mount /path/to/mountpoint/Partition1 /path/to/someother/mountpoint
The filesystem should now be mounted on /path/to/someother/mountpoint.
Source : http://www.ubuntugeek.com/how-to-mount-virtualbox-drive-image-vdi-in-ubuntu-12-1012-04.html
Langganan:
Posting Komentar (Atom)
0 Responses to “How to mount VirtualBox drive image (vdi) in Ubuntu 12.10/12.04”
Posting Komentar