LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel panic - not syncing: No init found. Try passing init= option to kernel (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-not-syncing-no-init-found-try-passing-init%3D-option-to-kernel-941685/)

5883 04-25-2012 10:55 AM

Kernel panic - not syncing: No init found. Try passing init= option to kernel
 
Hi i was playing with mingetty in my embedded board.

there're times login get stuck because of mingetty ?
so i power cycled several times.

then i got this from my nfs boot, how can i fix it pls ?


VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing init memory: 152K
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[<c0039d78>] (unwind_backtrace+0x0/0xec) from [<c033f54c>] (panic+0x54/0x178)
[<c033f54c>] (panic+0x54/0x178) from [<c002e5cc>] (init_post+0xa0/0xc4)
[<c002e5cc>] (init_post+0xa0/0xc4) from [<c0008444>] (kernel_init+0x10c/0x148)
[<c0008444>] (kernel_init+0x10c/0x148) from [<c00355f8>] (kernel_thread_exit+0x0/0x8)

Kustom42 04-25-2012 11:10 AM

When your grub menu comes up edit into the kernel line parameter and add a number 3 to the end. This will set your init level to 3.

5883 04-25-2012 11:51 AM

this is an embedded board,
i'm using uboot, i saw sth like this,

bootcmd=nand read 0x72200000 0x200000 0x240000; bootm 0x72200000


any suggestions pls ?


Quote:

Originally Posted by Kustom42 (Post 4662823)
When your grub menu comes up edit into the kernel line parameter and add a number 3 to the end. This will set your init level to 3.



All times are GMT -5. The time now is 03:31 AM.