Friday, 23 October 2015

Partclone (v0.2.73) bug

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 http://partclone.org
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: http://cybersec-linuxhorizon.blogspot.ro/2015/10/mounting-ntfs-partition-saved-as-iso.html

1 comment:

  1. Casinos Near Me - Harrah's Philadelphia Casino & Racetrack
    Find 포항 출장안마 Casinos 나주 출장마사지 Near 평택 출장안마 Me Near Me in Philadelphia, PA in realtime and see activity. Harrah's Hotel Philadelphia 강릉 출장안마 Casino 광주 출장마사지 & Racetrack.

    ReplyDelete