If a filesystem check fails and returns the error message “Damaged Superblock”
Solution:
There are backups of the superblock located on several positions and we can restore them with a simple command. Backup locations are: 8193, 32768, 98304, 163840, 229376 and 294912. ( 8193 in many cases only on older systems, 32768 is the most current position for the first backup )
Now, suppose you get a ¨Damaged Superblock¨ error message at filesystem check ( after a power failure ) and you get a root-prompt in a recovery console, then you give the command:
# e2fsck -b 32768 /dev/hda5
System will then check the filesystem with the information stored in that backup superblock and if the check was successful it will restore the backup to position 0.
If this is not working try using the other copy of Superblock located at the above mention location in your HD.
1 comments:
dumpe2fs /dev/sda | grep supperblock
fsck -b 111111 /dev/sda
mount /dev/sda /post
111 == block size
Post a Comment