Linux in General > Linux Kernel
Kernel Panic
(1/1)
sathish:
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.
GNUrag:
--- 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.
--- End quote ---
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....
michaeln:
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
Bonzi:
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
gauravbajaj:
hi buddy
search my mail here, i have gave the sol already
Navigation
[0] Message Index
Go to full version