Mount CloneZilla image: Difference between revisions
From WickyWiki
| Line 37: | Line 37: | ||
* http://sourceforge.net/projects/partclone/ (i386) | * http://sourceforge.net/projects/partclone/ (i386) | ||
Install | Install with: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
sudo dpkg -i | sudo dpkg -i partclone_0.2.43-1_amd64.deb | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 16:48, 1 January 2012
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:
- http://packages.debian.org/sid/amd64/partclone/download (amd64)
- http://sourceforge.net/projects/partclone/ (i386)
Install with:
sudo dpkg -i partclone_0.2.43-1_amd64.deb
Lets say compression is gzip (as it probably is), then we need to extract the image using gzip:
sudo cat *.ext4-ptcl-img.* | gzip -d -c | 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