LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kernel panic: no init found (https://www.linuxquestions.org/questions/linux-general-1/kernel-panic-no-init-found-335077/)

tanveer 06-19-2005 02:38 AM

kernel panic: no init found
 
hi all,
suddenly I am facing a problem booting my RHEL3 which @ boot time gives me this messsage:-

pivotroot : pivor_root (/sysroot,/sysroot/initrd) failed :2
umount /initrd/proc failed :2
kernel panic : no init found : try passing init = option to kernel.

Any idea. I think I had deleted some init file or something.
Thanks in advance.

rwhite7890 06-22-2005 11:57 AM

Re: kernel panic: no init found
 
Quote:

Originally posted by tanveer
hi all,
suddenly I am facing a problem booting my RHEL3 which @ boot time gives me this messsage:-

pivotroot : pivor_root (/sysroot,/sysroot/initrd) failed :2
umount /initrd/proc failed :2
kernel panic : no init found : try passing init = option to kernel.

Any idea. I think I had deleted some init file or something.
Thanks in advance.

Tanveer,
I am getting the same error message when I recompiled my kernel and trying to boot it up. Did you figure this out? What was the problem?

If you could help me, that'd be great. My post is:

http://www.linuxquestions.org/questi...hreadid=335927

Thanks so much

win32sux 06-23-2005 12:14 AM

Re: Re: kernel panic: no init found
 
Quote:

Originally posted by rwhite7890
If you could help me, that'd be great. My post is:

http://www.linuxquestions.org/questi...hreadid=335927

your link is broken... here's the fixed one:

http://www.linuxquestions.org/questi...hreadid=335927

tanveer 06-23-2005 10:12 PM

Hi,
I haven't yet completely figured that out. But I think somehow I accientallly deleted an empty directory named 'initrd'. But dont know the exact location where to make that dir again. If I find I will let u know. The directory was offcourse empty. If you find let me know. I think making that dir will solve the prob.
-Tanveer

floppywhopper 06-24-2005 07:02 PM

Do you have a file called
/etc/inittab
if so
you should have a line in that file that reads something like
id : 5 :initdefault :
or
id : 3 : initdefault :

hope this helps
floppy

kevinatkins 06-24-2005 07:12 PM

rwhite7890,

I think you need to create an initial RAMdisk, which your kernel will be looking for when it boots. The following link should provide you with all the information you need -

http://www.digitalhermit.com/linux/K...ild-HOWTO.html

Good luck!

rwhite7890 06-24-2005 07:19 PM

Quote:

Originally posted by kevinatkins
rwhite7890,

I think you need to create an initial RAMdisk, which your kernel will be looking for when it boots. The following link should provide you with all the information you need -

http://www.digitalhermit.com/linux/K...ild-HOWTO.html

Good luck!

Hey thanks for the reply, but I already did this. Any other suggestions? :confused:

kevinatkins 06-24-2005 07:31 PM

OK, so initrd is in order.. Have you remembered to point to the RAMdisk in your GRUB / LILO config files?

If you've done all that, then I'm a bit puzzled.

Only other thing I can suggest, if you continue to struggle with the RAMdisk business is to reconfigure and recompile your kernel so that vital drivers (eg, filesystem, etc) are compiled in to the kernel, not built as modules.


All times are GMT -5. The time now is 05:23 AM.