Linux Horizon

Partclone bug in Clonezilla

Hacker Emblem

Restoring a Clonezilla partition backup using partclone v0.2.73 could fail as follow:

root@ubuntu:/home/partimag/2015-10-22-15-img# cat /home/partimage/sda4.ntfs-ptcl-img.gz.aa | gzip -d -c | partclone.restore -C -s - -O /home/partimage/sda4.iso
Partclone v0.2.73
Starting to restore image (-) to device (sda4.iso)
device (sda4.iso) is mounted at
error exit
Partclone fail, please check /var/log/partclone.log !
Digging a little bit, I found that the reason is very simple and I do not know if I can call it a bug or not.
Pure and simple, before running the restoring command you should create the iso file. In my example, you should create the sda4.iso file and the simple way is:
root@ubuntu:/home/partimag/2015-10-22-15-img#touch sda4.iso
I'm pretty sure that other partclone versions have the same issue...
I must say that Clonezilla distribution is a very useful tool for disk and/or partition cloning/restoring. Partclone is included in the Clonezilla distribution.
If your recovered partition is NTFS and want to mount it, use ntfs-3g as here: Mounting NTFS partitions in Linux

If you need additional infos or Q&A please go to Contact Page for our e-mail addresses...

LiNUX Horizon it is a NetXpert Partner

LiNUX Horizon Main Page | LiNUX Horizon Online Shop | LiNUX Horizon Forum

No Banana Union - No Software Patents Say NO to software patents!

Valid XHTML 1.0! Valid CSS! Viewable With Any Browser