Re: kernel panic, a cry for help

Frank Schneider (SPATZ1@t-online.de)
Wed, 05 Sep 2001 19:50:51 +0200


oscarcvt@galileo.edu schrieb:
>
> ive started with a rescue disk, /sbin/init is present, lilo.conf seems fine,
> where might i go next?
>

Is /sbin/init executable ?

Check it with ls:
ls -l /sbin/init should get you
-rwxr-xr-x 1 root root 26876 Jun 21 20:58 /sbin/init

Is it the correct file ?
Compare it against another maschine or copy it from there (same
Distribution, save the old file)

Try giving the Kernel a parameter at bootime: at the LILO-Prompt, press
<tab>, then enter the imagename followed by the parameter, e.g. "linux
init=/bin/bash"
The kernel should boot up and give you a single (root-) shell.

Uses the kernel the right root-device ?
If not, give it to him at boottime like the init=Stuff: "root=/dev/hda1"
says the kernel to mount /dev/hda1 as rootdevice ("/") and search on
this device for "init".

Solong..
Frank.

--
Frank Schneider, <SPATZ1@T-ONLINE.DE>.                           
Microsoft isn't the answer.
Microsoft is the question, and the answer is NO.
... -.-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/