Kernel panic - not syncing: No init found. Try passing init= option to kernel
bruce.dubbs at gmail.com
Sun Jan 24 10:03:12 PST 2010
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 220.127.116.11 #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
At least linux is being loaded. It sounds like you have the wrong
parameters (e.g. root=/dev/sda5) on your linux line in
/boot/grub/grub.cfg. The init program should be at /sbin/init.
The initial console problem looks like it can't find /dev/console which
should be created explicitly. That can be because of the wrong disk
More information about the lfs-support