Kernel panic - not syncing: No init found. Try passing init= option to kernel
b3nton at gmail.com
Sun Jan 24 09:01:04 PST 2010
On 24/01/10 16:40, Rambabu Dasari wrote:
> Hi all,
> I am trying to build Linux from Scratch(LFS), while booting the kernel
> throughing the following error.
> [ 4.586704] Warning: unable to open an initial console.
> [ 4.592188] Failed to execute /init
> [ 4.595746] Kernel panic - not syncing: No init found. Try passing
> init= option to kernel.
> [ 4.604190] Pid: 1, comm: swapper Not tainted 184.108.40.206 #1
> [ 4.609649] Call Trace:
> [ 4.612168] [<c164073c>] ? printk+0xf/0x11
> [ 4.616417] [<c1640695>] panic+0x39/0xd1
> [ 4.620493] [<c10012e5>] init_post+0xd3/0xd6
> [ 4.624916] [<c1aa231f>] kernel_init+0x152/0x15c
> [ 4.629686] [<c1aa21cd>] ? kernel_init+0x0/0x15c
> [ 4.634456] [<c100340f>] kernel_thread_helper+0x7/0x10
Looks like you've screwed up somewhere. Have you compiled support for
you motherboard's chipset into you kernel? Likewise support for whatever
device your root filesystem is on and whatever filesystem you use. I get
the "No init found" error if I screw up the grub.cfg and try to boot the
wrong partition (which doesn't have /sbin/init) but that shouldn't
produce an oops. Sorry I can't be more help.
More information about the lfs-support