Skip to contentSkip to conversation

data rescue

DISCUSSION Sujeet Kumar 3 participants 3 messages Jan 5, 2005

lore
Share & tools
lore
#0 lore raw

I ran
blockdev -v --rereadpt ....
on my harddisk .
It gave re-read partition succeded. Then after rebooting the machine it shows no partitions.

I tried running linux-rescue from bootable disk and it shows no valid partition table.
How do i rescue my data . Tell me what rereadpt basically does

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [email protected] and delete this mail.
_____________________________________________________________________

#1 lore raw

onsdagen den 5 januari 2005 14.59 skrev Sujeet Kumar:

Quoted 9 lines

I ran
blockdev -v --rereadpt ....
on my harddisk .
It gave re-read partition succeded. Then after rebooting the machine it shows no partitions.

I tried running linux-rescue from bootable disk and it shows no valid partition table.
How do i rescue my data .

gpart can recover partition tables. I used it to recover a failed disk where the extended partitions were screwed due to a disk failure. Every attempt to restore the tables on disk failed. The partion table grew stranger each time, but I could recover data from a disk image.

Quoted 1 line

Tell me what rereadpt basically does

no idea other than the man page....,sorry.

-- robin

#2 lore raw
Quoted 3 lines · Robin Rosenberg
Quoted 3 lines

I tried running linux-rescue from bootable disk and it shows no valid partition table.
How do i rescue my data .

In addition to 'gpart' you can try 'rescuept' which is part of
util-linux collection. Each of these may rescue your corrupt partition
table.

Do you have any idea of the partitioning schema? Number of partitions, size, etc.?

If both fail to reconstruct the partition table you can work with a forensic utility such as SMART for Linux (www.asrdata.com) or The Sleuth Kit (www.sleuthkit.org) to recover your files. Depending upon the FS TYPE(s) you may even get deleted files back.

No matter though, once you get everything worked out back up your partition table using 'sfdisk' and/or dd and dump that to a safe place (external media) so that if this happens in future you can reconstruct easily!

-fd