2008/12/23 Quan Sun <cfk.q...@gmail.com>:
> First of all, you need to make a byte-to-byte backup of your external hard
> disk.
> A single 'dd' command will achieve that.
>
> Then, if you can remember the original partition scheme, try to manually
> restore it. Hopefully most data can be found with minor inconstancies.
>
> BTW There was a thread on 'Recovering data from failed hard drive' around 1
> December 2008, and it may be useful to you.

Maybe it's also worth trying to find one of the alternate superblocks.
If you used ext2/ext3 then a "mke2fs -n ..." will tell you where htey
could have been and a "e2fsck -b ..." will use them.

There could be also tools around to search for superblocks by their
"magic number", I can't find one right now but maybe the
afore-mentioned sysrescuecd includes such tools.

I've just had a dig through the kernel sources and I didn't complete
it but I think I can write you something to lookup blocks with the
magic number in the right place if it comes to that.

Cheers,

--Amos
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to