kernel panic, a cry for help
im not sure if this q belongs here but i need all the help i can get.
the www, dns, mail server at my site mysteriously got corrupted (not sure how). Now i boot it up and get
Kernel panic: No init found. Try passing init= option to kernel
what can i do? where should i start? i dont want to break anything so please help me,
thanx to all,
oscar
Doesn't sound like a kernel bug. Try a rescue CD, or, failing that it's backup retrieval time...
Good luck!
Quoted 9 lines · At 10:00 -0600 [email protected] wrote:
im not sure if this q belongs here but i need all the help i can get.
the www, dns, mail server at my site mysteriously got corrupted (not sure how). Now i boot it up and get
Kernel panic: No init found. Try passing init= option to kernelwhat can i do? where should i start? i dont want to break anything so please help me,
Quoted 8 lines
im not sure if this q belongs here but i need all the help i can get. the www, dns, mail server at my site mysteriously got corrupted (not sure how). Now i boot it up and get
Kernel panic: No init found. Try passing init= option to kernelwhat can i do? where should i start? i dont want to break anything so please help me,
I suspect back up tapes. The kernel cannot find an /sbin/init to run when it starts up. That could be on of several things
- Disk failure
- Someone broke in and erased it all
- Misconfiguration
A rescue disk is probably the starting point
ive started with a rescue disk, /sbin/init is present, lilo.conf seems fine, where might i go next?
thanx to all,
oscar
Quoted 21 lines
Quoted 2 lines
im not sure if this q belongs here but i need all the help i can get. the www, dns, mail server at my site mysteriously got corrupted (not
sure how).
Quoted 5 lines
Now i boot it up and get
Kernel panic: No init found. Try passing init= option to kernelwhat can i do? where should i start? i dont want to break anything so
please
Quoted 1 line
help me,
I suspect back up tapes. The kernel cannot find an
/sbin/initto run when
it starts up. That could be on of several things- Disk failure
- Someone broke in and erased it all
- MisconfigurationA rescue disk is probably the starting point
Quoted 7 lines · On Wed, 5 Sep 2001 [email protected] wrote:
ive started with a rescue disk,
/sbin/initis present, lilo.conf seems fine, where might i go next?thanx to all,
oscarFrom the root account, just execute lilo with no parameters.
Then you can boot normally.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).
I was going to compile a list of innovations that could be attributed to Microsoft. Once I realized that Ctrl-Alt-Del was handled in the BIOS, I found that there aren't any.
Quoted 4 lines · [email protected] schrieb:
ive started with a rescue disk,
/sbin/initis 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, <[email protected]>.
Microsoft isn't the answer.
Microsoft is the question, and the answer is NO.
... -.-
well,
try these:
first start with a ckfs of your root filesystem, that'd be:
# ckfs /dev/hdax for ide systems where x is usually 1-4 or # ckfs /dev/sdax for scsi systems where x is 0-6
if no troubles reported, the I'd suggest that you check some of the important files for sign of tampering ( /etc/passwd /etc/shadow )
if no tampering is evident, then check to see if you can boot the machine by giving lilo a command line (right as the machine boots, you get the lilo prompt (or you have to press CTRL-X to get it):
lilo: linux init=/sbin/init
if this boots the machine, then all that is needed is to add this paramater to lilo.conf:
append = "init=/sbin/init"
and then rerun lilo.
if it's something else, I need more info.
good luck
Fred
__________________________________________________
Quoted 36 lines · On Wednesday 05 September 2001 11:26 am, [email protected] wrote:
ive started with a rescue disk,
/sbin/initis present, lilo.conf seems fine, where might i go next?thanx to all,
oscarQuoted 19 lines
Quoted 2 lines
im not sure if this q belongs here but i need all the help i can get. the www, dns, mail server at my site mysteriously got corrupted (not
sure how).
Quoted 5 lines
Now i boot it up and get
Kernel panic: No init found. Try passing init= option to kernelwhat can i do? where should i start? i dont want to break anything so
please
Quoted 1 line
help me,
I suspect back up tapes. The kernel cannot find an
/sbin/initto run when
it starts up. That could be on of several thingsQuoted 5 lines
- Disk failure
- Someone broke in and erased it all
- MisconfigurationA rescue disk is probably the starting point
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/