March 28, 2024, 08:36:45 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Kernel Panic  (Read 8521 times)

Offline sathish

  • Linux Learner
  • ***
  • Posts: 73
Kernel Panic
« on: August 16, 2004, 02:39:24 PM »
Hello Linux team !!

I have restarted the linux server Redhat 9.0.. by suddenly itz halted and the following message itz given.. like this

Kernel panic:No init found. Try passing init=option to kernel.

wat to do ?? the system is halted...... how to restore... plz help me.

Thanks in advance  

Sathish.

Offline GNUrag

  • Tux Awared
  • **
  • Posts: 41
    • http://tends.ourproject.org/~anurag
Re: Kernel Panic
« Reply #1 on: August 16, 2004, 03:23:50 PM »
Quote from: "sathish"
Kernel panic:No init found. Try passing init=option to kernel.

wat to do ?? the system is halted...... how to restore... plz help me.

Please give more information... like what you did before restarting... what other messages are there before Kernel Panic message...
most probably it could be initrd... but .... please elaborate more....

Offline michaeln

  • New Member
  • Posts: 3
kernel panic
« Reply #2 on: August 16, 2004, 11:48:15 PM »
Hello

On the info you have provided.

i have the 2.6.7 kernel complied
i had to make initrd image I did as follows

I would make and initrd.img file based on your current kernel

cd /lib/modules

mkinitrd initrd-2.6.7.img 2.6.7

cp initrd-2.6.7.img  /boot

cd /boot/grub

vi /boot/grub/menu.1st

add the following under were grub shows the information for my 2.6.7 kernel boot image.

initrd           /boot/initrd-2.6.7.img

hope this helps

 :D

Offline Bonzi

  • New Member
  • Posts: 3
Kernel Panic
« Reply #3 on: September 01, 2004, 10:17:30 AM »
oops it was
 initrd = /boot/initrd-2.6.7.img

N

Make sure that you've given root=xyz correctly

Btw if it is lilo a file named lilo.comf can be found in /etc edit it it should be something like this

image=/boot/vmlinuz-2.4.22-1.2188.nptlBOOT ////link to .img or nptl
            label=xyzLINUX      ///(no spaces)
            root=/dev/hdc9          ///(your device could differ)

If you want bootsplash then some more lines are to be written

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Kernel Panic
« Reply #4 on: January 06, 2005, 11:09:02 AM »
hi buddy
search my mail here, i have gave the sol already