Mount CloneZilla image: Difference between revisions

From WickyWiki
Line 33: Line 33:
== Linux ext4 partition ==
== Linux ext4 partition ==


3. you will need partclone, install
3. you will need partclone


Go to:
Download deb package:
* http://sourceforge.net/projects/partclone/
* http://sourceforge.net/projects/partclone/


Install on 64 bit machine with '--force-all':
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
sudo dpkg -i partclone-dbg_0.2.42_i386.deb
sudo dpkg -i --force-all partclone-dbg_0.2.42_i386.deb
</syntaxhighlight>
</syntaxhighlight>


4. lets say its gzip (as it probably is), then we need to extract the NTFS image using gzip.
4. lets say compression is gzip (as it probably is), then we need to extract the image using gzip.


Note: the image will be sized to the original partition-size, unused space included. This can also take quite some time.
Note: the image will be sized to the original partition-size, unused space included. This can also take quite some time.

Revision as of 16:07, 1 January 2012

2009 mounting, system, Command-line

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

2. find what compression has been used, gzip, bzip or lzop?

file *.ntfs-img.aa

Windows NTFS partition

3. you will need ntfsclone, install

sudo apt-get install ntfsprogs

4. lets say its gzip (as it probably is), then we need to extract the NTFS image using gzip.

Note: this will take considerable time.

Note: the image will be sized to the original partition-size, unused space included

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

5. mount with:

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

Linux ext4 partition

3. you will need partclone

Download deb package:

Install on 64 bit machine with '--force-all':

sudo dpkg -i --force-all partclone-dbg_0.2.42_i386.deb

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

Note: the image will be sized to the original partition-size, unused space included. This can also take quite some time.

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

5. mount with:

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