Daily Archives: November 11, 2009 5:57 pm

Recovery after a hardisk disaster

Published by:

I had screwed up my hardisk a day ago..
wipe off all the “160Gb” hardisk back to factory setting sort of..hehee

but I did managed to recover some partition and data with
I boot with a LiveCD and run downloaded TestDisk binary for
generic linux.
The step to recover using TestDisk:

1. Select the hardisk device to recover:
mine “/dev/sda”

2. Select type of :
mine “Intel”

3. Select option “Analyze”
some current partition will appear.
4. Select “Search Deeper”
wait until all old partition appear.
.. this moment can see old “/”, “/home”,”vfat” thingy.
wait until completed scanning cyclinder to “100%”

5. Go to each partition .. try list the old data.
by pressing “L”
.. it shall shows some folder inside inside the partition
if recoverable.
if not .. select next partition till can see data ..

6. press “q” to return to previous menu..
7. at the listing when confirmed which one is recoverable.
use arrow key “Left” / “Right” to set properties of partition
either “D-Delete” “P-primary” ,”*–bootable”,”L-Secondary”, “E-Extended”
.. hmm.. on Dell laptop..
there is the first partition for Dell Utility ,
have to press “t” ammend the partition type code to “DE”

8. repeat step 6-7 until all partition got into place correctly,
and the status of MBR become OK…
9. now press “ENTER” to continue..
10. It shall asked to “Write” , “Extend”.
to “MBR” ..the extend is to grow “Extended” partition to fit free space..

11. press write.. “it shall asked for a reboot before can see the old partition again”..

reboot the system and check the newly restored partition table,
peform some fsck and try to read, write.. until satisfied..

some partition had been damaged though..

.. personally from above step , i managed to recover :
Continue reading

Sharing is caring
Sharing is caring