LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   kernel panic: no init found. Try passing init= option to kernel (http://www.linuxquestions.org/questions/red-hat-31/kernel-panic-no-init-found-try-passing-init%3D-option-to-kernel-113563/)

rroorroo 11-07-2003 06:41 PM

kernel panic: no init found. Try passing init= option to kernel
 
Hi Linux friends,

Yesterday I installed Kylix3 open source from Borland on my redhat 8 successfully with the option sh ./setup.sh -m as root user at least I could compile and execute hello.pas then I tried to compile hello.pas as normal user and it failed from here the problems have begun.
1) as normal user I could not open an application from the command line.
Always the same error impossible to localize libx11.so this is not the exact error message.
2) when rebooting the computer I had the following error:

pivot root: pivot_root (/sysroot/sysroot/initrd) failed:2
umount /initrd/proc failed:2
freeing unused kernel memory: 172 freed
kernel panic: no init found. Try passing init= option to kernel.

That's it now I'm blocked I can still enter in rescue mode but I have no idea what file I have to modify ?
One thing is sure next time I install Kylix3 as normal user instead of root user.

I found a link that maybe can help me I did not try it yet and I don't understand it 100%
bugzilla.redhat.com/bugzilla/show_bug.cgi?id=65207

Regards,
Rodrigo

mrhyde 11-07-2003 09:17 PM

Did you make any changes to the boot loader configuration file? You may still enter rescue mode by booting from the cdrom, try viewing the "grub.conf" file to see if there have been any changes since you installed kylix, eg did the installation program update the kernel?

misc 11-08-2003 05:35 AM

Also make sure you have an empty /initrd directory in your top-level directory of your root partition.

rroorroo 11-08-2003 03:46 PM

Hi,

Thank you very much for your quicly reply
I created an empty folder initrd in / and now all is fine again :-)
Also changed a little in my grub.conf as there was not the problem left it like it was before.
By the way what is the meaning of these folder initrd ?

Thank you very very very much
Rodrigo

jmendez 03-07-2004 03:15 PM

Kernel Panic
 
I have this error message AND SYSTEM HANGS....
KERNEL PANIC: NO INIT FOUND TRY PASSING INIT=OPTION TO KERNEL
MOUNT:ERROR 6 MOUNTING EXT3
PIVOTROOT 'PIVOT ROOT(/SYSROOT,SYSROOT/INITR/FAILED2
UMOUNT/INITRD/PROC FAILED:2

INSTALLED RED HAT LINUX 9.2 ON A SECOND usb DRIVE, (FIRST DRIVE winxp). BOOT RED HAT FROM A FLOPPY.
CAN SOMEONE OUT THERE PLEASE HELP...

THANKS
JAMES

misc 03-07-2004 04:11 PM

Red Hat Linux 9.2 does not exist.

Boot first CD into "rescue" mode, then create the /initrd directory as mentioned in the older posts.

Otherwise, more details about your installation are needed. Partitioning layout and things like that.

jmendez 03-07-2004 05:07 PM

Thanks...but how and where do I create this new dir
at the prompt ? and what's the syntax

much appreciated...
James

misc 03-07-2004 05:19 PM

Follow the instructions of "rescue mode" till the end. Read everything carefully. At the shell prompt, first check whether you really don't have the /initrd directory. Run ll /initrd or file /initrd which should print an error. If it does, run mkdir /initrd and exit to try rebooting again. If that's not it, something went wrong during your installation, and it can get complicated to investigate it.


All times are GMT -5. The time now is 05:36 PM.