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%
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?
Also make sure you have an empty /initrd directory in your top-level directory of your root partition.
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
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
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...
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.
Thanks...but how and where do I create this new dir
at the prompt ? and what's the syntax
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 09:17 AM.|