Click to See Complete Forum and Search --> : What the hell happened?


Mikenell
01-02-2001, 06:27 PM
Ok my linux system was working perfectly. Someone had just helped me fix the last kernel error I had and it worked fine. Then when i was running linux the power went off so I booted into linux again but just got this:

Parallelizing fsck version 1.19 (13-Jul-2000)
/dev/hda5 contains a file system with errors, check forced/
/dev/hda5:
Unattached inode 161961
/dev/hda5: UNEXPECTED INCONSISTENCY, RUN fsck MANUALLY
(ie without -a or -p options)

Then it gives me some stuff about it mounting hda5 as read only and asks for the root pass or press Ctrl-D to start system normally. First I gave it the root pass and then tried typing fsck which gave me this again:
Parallelizing fsck version 1.19 (13-Jul-2000)
So I pressed Ctrl-D which rebooted to the same message, this time i didnt enter the root pass and just pressed Ctrl-D which rebooted to the same thing!
What has gone wrong? There isnt anything I've done since this happened so the only thing it could be is because of the power going off! Btw, my windows drive was mounted at the time if that matters.
Can anyone help?
Thanks
Mikenell

rod
01-02-2001, 06:59 PM
When prompted enter root password then:
e2fsck /dev/hda5

Regards,
Rod

fancypiper
01-02-2001, 06:59 PM
That happened to me once (Netscape made the disk drive run and I turned it off since I couldn't get a keyboard or mouse response).

I think I just used this command after loging in as root:

e2fsck /dev/hda5

If it doesn't check and ask about repairs, try:

fsck /dev/hda5.

Good luck.

Mikenell
01-02-2001, 07:11 PM
Thanks! It works and booted!
Thanks
Mikenell

mdwatts
01-02-2001, 08:50 PM
This may help if you ever have problems again http://www.linuxdoc.org/HOWTO/LILO-crash-rescue-HOWTO-1.html#ss1.1

Also print out a copy of the man pages for fsck and e2fsck if they exist. Good to have a hard copy of them.

camelrider
01-03-2001, 03:20 PM
fancypiper--Next time Netscape grabs all your system resources use "cntrl-alt-backspace" to kill your X-server, then just startx to restart it. Much easier on your filesystem than re-booting.

fancypiper
01-03-2001, 04:30 PM
Originally posted by camelrider:
fancypiper--Next time Netscape grabs all your system resources use "cntrl-alt-backspace" to kill your X-server, then just startx to restart it. Much easier on your filesystem than re-booting.
When the drive starts grinding, I can't get it to respond to any kayboard command or mouse click. Links works better anyhow.