Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 15617  / 1 Year ago, wed, november 23, 2022, 5:31:18

I am trying to restore an image that was taken with clonezilla. It was taken from a Windows 7 machine and was broken up into multiple files of the following format..



sda1.ntfs-ptcl-img.gz.a* (where * goes from a-k)



I have searched online for methods of restoring these images and the most frequently used is as follows:



sudo cat /dir-to-images/sdb1.ntfs-ptcl-img.gz.* | sudo gzip -d -c | sudo partclone.restore -C -s - -O /dir-to-new-image/hda1.img


However, when I try this:



sudo cat sda1.ntfs-ptcl-img.gz.a* | sudo gzip -d -c | sudo partclone.restore -C -s - -o partclone-restore.img


I get the following error:



Partclone v0.2.70 http://partclone.org
Starting to restore image (-) to device (partclone-restore.img)
device (partclone-restore.img) is mounted at
error exit
Partclone fail, please check /var/log/partclone.log !


So, let's look at partclone.log...



Partclone v0.2.70 http://partclone.org
Starting to restore image (-) to device (partclone-restore.img)
device (partclone-restore.img) is mounted at
error exit


Same exact error..am I missing something here? Can anyone point me in the right direction?



I am using Ubuntu 12.04


More From » 12.04

 Answers
6

TL;DR: install partclone 0.2.58 from source and attempt the partclone step again.



I stumbled upon this question while attempting to do something similar on my Arch-Linux machine. I approached the problem a little differently than you did but I'm hoping that my solution will at least get you on the right track.



I first unpacked the compressed backup that I had made with a previous version of Clonezilla:



cat sda4.ext4-ptcl-img.gz.a* | gzip -d -c > sda4.img


I then attempted to restore this file using partclone with the following command:



partclone.extfs -r -s sda4.img -o sda4-restored.img --restore_raw_file


Things should be familiar up to this point; all I've done here is split the process you attempted into two commands. Now, I ran into the same issues you did with these commands and it appears to be an issue with the version of partclone that we are using.



It appears that both Partclone v0.2.70 and Partclone v0.2.69 are not compatible with the back-ups I had made with Clonezilla v3.5.1.



However, installing an old version of Partclone, namely Partclone v0.2.58, allowed me to restore the backup image I had created using the same command as above. Since partclone had no prepared images for Arch-Linux it was necessary for me to compile from source, however running Ubuntu 12.04 you may be able to finagle the .deb files provided at this partclone mirror: http://partclone.nchc.org.tw/download/stable/0.2.58/.



The steps I followed to compile 0.2.58 we're pretty Arch-Linux specific, but I'd be happy to share this process with you if you still need some help.



Cheers!


[#25778] Thursday, November 24, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
girdleas

Total Points: 1
Total Questions: 112
Total Answers: 114

Location: Lesotho
Member since Wed, Jun 2, 2021
3 Years ago
;