Recently, when I booted my ubuntu partition, I recieved an Initramfs error. I followed the directions in this post:
However, when I ran the command:
sudo fsck /dev/sdb1(As a side note, my ubuntu partition is on sdb) I recieved another error saying:
ext2fs_check_desc: Corrupt group descriptor: bad block for block bitmap
fsck.ext4: Group descriptors look bad... trying backup blocks...
Journal superblock has an unknown incompatible feature flag set.
Abort <y>?I type no and the next thing says:
Journal superblock is corrupt
Fix<y>?Next comes a series of y to fix this issue.
My question is this, is there a better method to fix a corrupt superblock? Or does this mean I need to reinstall ubuntu 14.04?
1 Answer
Let me offer you a solution I found:
Reboot from a
live CDFind out which partition we are dealing with"
sudo fdisk -l # but in your case its sdd1Make sure its a superblock problem with:
sudo fsck.ext4 -v /dev/xxx # in your case xxx => sdbCheck for your super block backups location:
sudo mke2fs -n /dev/xxx # Results: Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208Restore superblock from backup with and repeat till its fixed:
sudo e2fsck -b block_number /dev/xxxIf step
4does not work repeat with next value instep 3
Source: