Created
October 1, 2016 15:14
-
-
Save dungmanh88/b413db815c171f1987f3952ade53e98c to your computer and use it in GitHub Desktop.
Recovery bad super block
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Umount /dev/sda1 | |
fsck -V /dev/sda1 to get the location of bad super block | |
mke2fs -n /dev/sda1 to get the location of backup super block | |
e2fsck -b <the location of backup super block in output of mke2fs -n> /dev/sda1 to replace bad super block |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment