Wednesday 9 March 2011

Linux HD ATA problem : fsck, e2fsck

when disk has problem, normally you done fsck.

when fsck generates error like ext2 not recognized, please run e2fsck -b xxxx, this one what you must do:

1. linux rescue
2. fdisk /dev/sdX
3. fsck to each partition, NOT to the disk /dev/sda NOR to the swap NOR to the sda4(extended partition - 0 length partition)

If you got error about superblock, then:
4. each partition : mkfs -n -S /dev/sdXY
5. Get the superblock backup number xxxx, xxx, xxx and run : efsck -b xxxx /de/sdXY, try till succesfully

Reminder : Do not fsck to the disk /dev/sdX, but do it to the partition instead.

No comments:

Post a Comment