Re: [RFH] Partion table recovery

From: Willy Tarreau
Date: Sat Jul 21 2007 - 15:40:59 EST


On Fri, Jul 20, 2007 at 08:35:45AM +0100, Anton Altaparmakov wrote:
> On 20 Jul 2007, at 06:13, Al Boldi wrote:
> >As always, a good friend of mine managed to scratch my partion
> >table by
> >cat'ing /dev/full into /dev/sda. I was able to push him out of the
> >way, but
> >at least the first 100MB are gone. I can probably live without the
> >first
> >partion, but there are many partitions after that, which I hope should
> >easily be recoverable.
> >
> >I tried parted, but it's not working out for me. Does anybody know
> >of a
> >simple partition recovery tool, that would just scan the disk for lost
> >partions?
>
> parted and its derivatives are pile of crap... They cause corruption
> to totally healthy systems at the best of times. Don't go near them.
>
> Use TestDisk (http://www.cgsecurity.org/wiki/TestDisk) and be happy.
> (-:

Thanks for this link Anton, it looks awesome and I'll add it to my
collection :-)

I mostly use vche (virtual console hex editor) to look for strings, find
offsets and/or fix data by hand. This should make me save some time !

Regards,
Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/