mkext2fs -c -c -v /dev/sda disaster
So I typed "mkext2fs -c -c -v /dev/sda" to find the badblocks on a harddrive that had corrupted some files on it. However, it was running much too long so I terminated the process to try again with only one -c.
Thats when I realised this was a horrible idea, since my superblock had now been overwritten. What was also horrible is that fdisk /dev/sda returned an error and will not detect the disk. Is there anything that I can do to save my drive? Thanks. |
Huh... did you type mke2fs -c -c -v /dev/sda? The extra "-c" uses a read-write test makeing the whole process a lot slower.
What's the error you get when you type in "fdisk /dev/sda"? Did you try "fdisk /dev/hda" yet? Just a thought... |
Try some forensic tools...
You might want to start here to see what's actually salvagible: http://www.sleuthkit.org/sleuthkit/desc.php
|
I believe that ext3 makes copies of its superblock that are stored at fixed intervals. If you are lucky, you may be able to recover from one of those (using, for example, testdisk). I don't know whether that would apply to ext2 as well.
|
All times are GMT -5. The time now is 11:11 AM. |