Mount CloneZilla image: Difference between revisions
From WickyWiki
| Line 34: | Line 34: | ||
Download the deb package from: | Download the deb package from: | ||
* http://sourceforge.net/projects/partclone/ | * http://packages.debian.org/sid/amd64/partclone/download (amd64) | ||
* http://sourceforge.net/projects/partclone/ (i386) | |||
Install i386 version on 64 bit machine with '--force-all': | Install i386 version on 64 bit machine with '--force-all': | ||
Revision as of 16:47, 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 i386 version on 64 bit machine with '--force-all':
sudo dpkg -i --force-all partclone-dbg_0.2.42_i386.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