fixing a corrupt /dev/hdar .. debugfs assistance...

Mike Moran
Mon, 28 Jul 2003 15:42:04 -0000

Had a drive crash which a very critital inode.   e2fshck
returns a stream of :

Entry '..' in ... (#######) points to inode (2) located in a bad block

Pass 3:  Checking directory connectivity
Root inode is not a directory:  aborting
e2fsck:  aborted

/dev/hda4:  ***** FILE SYSTEM WAS MODIFIED *****
Floating point exception


I'm wondering if I can use debugfs to relocate (rebuild) inode (2) a
good block.  If so, how would I go about doing it

Mike Moran