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. |
Re: kernel panic: no init found
Quote:
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 |
Re: Re: kernel panic: no init found
Quote:
http://www.linuxquestions.org/questi...hreadid=335927 |
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 |
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 |
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! |
Quote:
|
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. |