Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

DISCLAIMER: Linux noob :)

I have a corrupted clonezilla (partclone) image of entire disk. It was made of failing disk and as a result there is discrepancy in geometry information for partitions. I'm trying to restore image manually.

Clonezilla / Partclone displays warning for every target partition being smaller than source:

(Target partition size (0 MB) is smaller than source (xxxxx MB). Use option -C to disable size checking(Dangerous).)

I did exactly that I manually extracted single partition image:

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

Mounting this image I get read only access, can browse it. df -T displays it as NTFS disk. So it seems I can access files and not everything is lost.

However, I'm thinking, as a "pet project"... If I extracted all partitions and then merge them together, would it be possible to run a program such as TestDisk on the image and correct the filesystem? I have tried this on sda1 image and TestDisk finds a NTFS partition, but it also warns that the size of data is bigger than disk and that partition is not recoverable.

So i'm thinking - if I merged all partitions into one image file and maybe even expanded (padded) it to match original disk size, would it be possible to repair it with TestDisk or similar program?

Does this sound feasible? If so, how do I do it?

TNX!

share|improve this question
    
Hmm? Is there really noone who could help me? –  imagodei Aug 13 '11 at 17:57
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.