Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


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

You must log in to answer this question.

Browse other questions tagged .