fsck.ext2 - booting problems -- HELP
Hey all, I'm running Gentoo on 2600+ and 512 MB RAM. I have a 200GB hd w/ 3 partitions-- hda1 (boot) hda 3(root) and hda4 (/home/user)
anyway, everything was running okay- but i noticed that i couldnt log into root from my shell... which i figured could be solved by a reboot. anyway, i restarted the system and it gave me this error on startup:
checking root filesystem ..
fsck: fsck.xfs not found
fsck: Error 2 while executing fsck.xfs for /dev/ROOT
.....
fsck.ext2: No such file or directory while trying to open /dev/BOOT
/dev/BOOT:
The supermount could not be read or it doesn't describe a correct ext2 filesystem. If device is valid and it contains ext2 filesystem(and not swap or system or somely device), then the superbloxk is corrrupted, and you might try running e2fsch with an allernative system file
e2fsck -b 8193 <device>
Fsck could not correct all errors, manual repair needed [!!]
Root password or Control-D for normal startup:
--> CtrlD: takes me to X11 login screen-- when I attempt to log in, gives me a blank screen
--> cd /sbin then ./fsck but no luck, gives the above supermount error msg again.
so I do e2fsck -b 8193 /dev/hda1 then it tells me that disk was uncleanly mounted, check forced. then asks if I would like to fix such and such-- after all that then it tells me that I have 3.4% noncontiguous disk space.
I know for sure the data is all still there b/c when I pop in a Knoppix CD, I can still see everything. So its not a hardware problem...
Also, my sshd still runs (I think) so I suppose I could ssh into my box and cp all the important data out of it... but I'd like to fix it rather than format
THANKS in advance to all for the help!!
|