Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-15-2005, 10:27 AM   #1
LQ Newbie
Registered: Feb 2003
Location: San Jose, CA
Distribution: Mandrake V?
Posts: 5

Rep: Reputation: 0
Linux crashed and I can't get up

If anyone has any pointers on how I can get LINUX going again, I would appreciate it.

I am using Mandrake 7, but I am a DOS / Windows user.

The power went out unexpectedly. When the power can back up, the boot process started, then stops with an error, and requests the root password to continue. When the root password is entered, the startup process stops completely as if it cannot find the commands to execute.

Here is the startup screen where things come to halt:

/dev/hda5 contains a file system with errors, check forced
unattached inode 16401

(i.e. without –a or –p options)

*** An error occurred during the file system check.
*** dropping you to a shell: the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D for normal startup):

<< I entered user “root” password here >>

bash: id: command not found
bash: dircolors: command not found
bash: tty: command not found
[root@linux /root]#

LINUX seems to recognize the root password as valid (in that it reports a bad password for other data entered here), but then seems unable to continue.

Question: SULOGIN reprompts for the root user password, but I get the same results. Do I need to be in a specific directory for this login to work (as in going into the WINDOWS directory to run WIN.EXE)?

Question: any other ideas / pointers?

Thank you

Old 06-15-2005, 10:51 AM   #2
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31

You have a BIG problem.
This happens when the system was shut down suddenly (in your case by power cutoff). Usually this goes without problems, just a quick file system check and it's all right then. But in your case the system was unable to boot again after a node in the file system was lost when the power cut off. Therefore the file system check couldn't complete. The system dumped you to a shell presuming you would fix the problem yourself. The shell is very limited, only enough to fix the file system error. I'm afraid, there is not much to do in this situation, but you could try to fix the error.

umount /dev/hda5
fsck /dev/hda5
If the check starts properly, it would begin asking you a lot of yes-or-no-questions. You should answer the default, which is written on the right like: .......................[y] (the default is y).
When the check is done your system will work without problems. Try it, if it fails come back here

By the way, your question: No, the shell you were dumped to is the shell you have to work in, you can't use your default login here.

Hope this helps
Old 06-15-2005, 03:06 PM   #3
LQ Newbie
Registered: Feb 2003
Location: San Jose, CA
Distribution: Mandrake V?
Posts: 5

Original Poster
Rep: Reputation: 0

umount /dev/hda5
fsck /dev/hda5

Running these and taking the default answers ("Fix<y>?" yes each time) allowed me to cleanly re-start the Mandrake system.

Thank you very much.

It seems to have forgotten to run the KDE explorer shell automatically, but I'm sure I can fiugure that part out.

Thank you very much, again.


Old 06-15-2005, 08:57 PM   #4
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
It seems to have forgotten to run the KDE explorer shell automatically
That's *way* later in the boot process. There's a slim chance (too slim to bet anything on) that the power cutoff magically wiped exactly those parts of your disk that contained exactly those parts of the config files that starts up KDE, but... "whelk's chance in a supernova"



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux RH9 Crashed Haric Linux - General 4 01-07-2005 07:52 AM
my Linux crashed salmanucit Linux - Software 4 07-24-2004 07:12 AM
Linux crashed tonystaf Linux - Software 3 05-27-2004 07:05 AM
linux redhat 9.0 crashed or did it wogga Linux - Software 1 05-26-2004 06:05 PM
Linux crashed now won't load zynor Linux - General 4 08-24-2003 10:12 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration