LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 06-13-2011, 08:14 AM   #1
mukesh.methaniya
LQ Newbie
 
Registered: Dec 2010
Posts: 13

Rep: Reputation: 0
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...........
 
Old 06-14-2011, 04:16 AM   #2
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 847

Rep: Reputation: Disabled
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.
 
Old 06-15-2011, 09:58 AM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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.

Last edited by theNbomr; 08-13-2011 at 02:27 PM.
 
Old 07-25-2011, 01:17 PM   #4
lucasct
LQ Newbie
 
Registered: Jul 2011
Posts: 6

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Diskless: Kernel panic-not syncing: No init found. Try passing init= option to kernel Pier Gentoo 6 10-10-2011 06:17 AM
Red Hat 3.0 Enterprise kernel panic: no init found. try pasing init= option to kernel ytd Linux - Newbie 2 04-01-2010 11:45 PM
Kernel panic-not syncing:No init found. Try passing init=option to kernel cucolin@ Ubuntu 5 12-26-2008 06:44 AM
Kernel panic - not syncing: No init found. Try passing init= option to kernel ranjithmrk Linux - Newbie 4 08-22-2008 02:33 PM
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to fbl Linux - General 12 01-14-2003 03:38 AM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration