How can I restore those *-ptcl-img.* images into a file manually ? |
Say if your image is /home/partimag/YOURIMAGE/, and the image is /home/partimag/YOURIMAGE/sda2.ntfs-ptcl-img.gz.aa, sda2.ntfs-ptcl-img.gz.ab..., and you want to restore the image to a file sda2.img which you can mount later.
Before you do it, make sure the disk space is big enough for you to store this image file "sda2.img".
Now you can run:
"file /home/partimag/YOURIMAGE/sda2.ntfs-ptcl-img.gz.aa"
to see it's gzip, bzip or lzop image. Say it's gzip, then you can run
- cd /home/partimag/YOURIMAGE/
- cat dir/sda2.ntfs-ptcl-img.gz.* | gzip -d -c | partclone.ntfs -r -C --restore_raw_file -s - -o sda2.img
(There is a bug about this mode for partclone 0.2.66 to 0.2.69. You should use partclone version >= 0.2.70 for this purpose.)
Now you can mount the file sda2.img by:
mount -o loop sda2.img /mnt
and all the files are in the dir /mnt/.
|
|