Mount CloneZilla image

From WickyWiki

2009 mounting, system, Command-line

Locate image and go there, you will find files like: "sda1.ntfs-img.aa" and "sda1.ntfs-img.ab" ...

Find what compression has been used, gzip, bzip or lzop?

file *.ntfs-img.aa

Note: the image you are about to extract will be sized to the original partition-size, unused space included. This can take quite some time and disk space.

Windows NTFS partition

You will need ntfsclone, install

sudo apt-get install ntfsprogs

Lets say the compression is gzip (as it probably is), then we need to extract the image using gzip.

sudo cat *.ntfs-img.* | gzip -d -c | ntfsclone --restore-image -o ntfs.img -

Mount with:

sudo mkdir /media/ntfs-img
sudo mount -o loop -t ntfs ntfs.img /media/ntfs-img

Linux ext4 partition

You will need partclone, download the deb package from:

Install with:

sudo dpkg -i partclone_0.2.22-2_amd64.deb

Lets say compression is gzip (as it probably is), then we need to extract the image using gzip:

cat *.ext4-ptcl-img.* | gzip -d -c | sudo partclone.restore -C -s - -O ext4.img

Mount with:

sudo mkdir /media/ext4-img
sudo mount -o loop -t ext4 ext4.img /media/ext4-img