LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   kernel panic : no init found (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/kernel-panic-no-init-found-886037/)

mukesh.methaniya 06-13-2011 08:14 AM

kernel panic : no init found
 
in build root 2011 i have following error exist
kernel panic : no init found....
what is i m missing in my build root or config file...........

honeybadger 06-14-2011 04:16 AM

I do not think I understood your post correctly. To top it I do not have a clue what distro you are using and what bootloader (lilo/grub) are you using. Apart from that I really do not have an idea how did you manage to get yourself in this situation (upgrade bootloader or upgrade kernel or making a custom kernel).
Here are a few pointers if you are using grub. Try and put 'init=/bin/bash' and see if you have access to root shell. If that does not help try passing 'root=/dev/sda<root partion number>.
Also have a look at the /etc/fstab (you would require a live cd) and see if everything is fine there.
Hope this helps.

theNbomr 06-15-2011 09:58 AM

The kernel starts up the first userspace process, which it identifies as 'init'. It loads this from the root filesystem, and must be told where in the root filesystem to look for it. This is usually done as a kernel argument (init=/blah/blah) supplied by the bootloader, or can be a pre-defined kernel argument built into the kernel at compile time. Your error message suggests that either the kernel wasn't told what to look for, or it couldn't locate what was specified when it did look for it.
--- rod.

lucasct 07-25-2011 01:17 PM

MAy be the U-boot if you are using it is not looking the filesystem in the correct place, show us how are you writing the filesystem and kernel to the device.


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