On 11/01/10 15:34, Michel G..Maria-Sube wrote:
Hello,
Does anybody kno if there is a mean to retreive a partition table erased after doing
option 'w' in the fsdisk menu??
Thank you in advance
Regards
You could try to "guess" the location of the partition. If you have still
some info about the disk, this may not be as difficult as it sounds:
1. Most disks have only one partition.
2. Often, the first partition starts at first sector of second head of
first cylinder. If not, searching for the boot signature may help:
hexdump -C /dev/sdf | egrep '[13579bd]f0 .* 55 aa \|'
3. If there is indeed only one partition, it extends to the end of the disk.
4. If there is more than one partition, you can find the others by:
a. search for boot signatures as described above, or
b. mount the first partition(s) found, determine the size using df, and
then check after this (rounding up to nearest track boundary)
Regards,
Alain