目次

2015.06.02 VHDファイルをマウント

Ubuntuでマウントするしかない。

Step 1: Install the virtualbox fuse package

Install the virtualbox fuse package which is required to open up this vhd image into its raw form

# apt-get install virtualbox-fuse

Step 2: Open up VHD image

# vdfuse -w -f <path to vhd image> <path to mount point>

Step 3: Check the extracted Files

Lets mark this CASE 1

# ls <path to mount point>

Here it could list either

# EntireDisk

(or)

CASE 2

# EntireDisk Partition1 Partion2 . ...

Depending on the number of partitions made on the Disk while creating and lets mark this as CASE 2

Step 4: Mount the extracted RAW image

In case of CASE 1

# mount <path to vhd image>/EntireDisk <path to one more new mount point path>

(or)

In case of CASE 2

# mount <path to vhd image>/Partition1 <path to one more new mount point>

Partition here could be the one you wanted to mount

Step 5: unmounting the IMG and VHD after usage

# umount <path to mounted IMG partition>

# umount <path to vhd image>

http://key-value.blogspot.jp/2013/06/mounting-vhd-image-file-in-linux.html