* "init not found" after booting GRUB on DOC
@ 2003-08-07 7:47 Selwyn Tang
2003-08-07 10:47 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: Selwyn Tang @ 2003-08-07 7:47 UTC (permalink / raw)
To: linux-mtd
Dear all,
I followed Karim's book to put the kernel, modules, root filesystem
(including busybox and tinylogin) and GRUB on a DOC and tried booting
it. The kernel loaded successfully but it ended with a kernel panic of
"no init found". I use this statements in my menu.lst:
title DiskOnChip 2000
kernel (dc0,0)/boot/vmlinuz-2.4.21-5x86 ro root=/dev/nftla1
I have busybox's init in /sbin and I also tried adding "init=/sbin/init"
to the above statement but with the same result.
The NFTL driver is built-in and it correctly detects my DOC. The kernel
also successfully mounts the root filesystem (ext3).
How should I configure GRUB in order to load the busybox's init?
advTHANKSance!
Selwyn
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "init not found" after booting GRUB on DOC
2003-08-07 7:47 "init not found" after booting GRUB on DOC Selwyn Tang
@ 2003-08-07 10:47 ` David Woodhouse
2003-08-07 13:15 ` Selwyn Tang
0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2003-08-07 10:47 UTC (permalink / raw)
To: Selwyn Tang; +Cc: linux-mtd
On Thu, 2003-08-07 at 08:47, Selwyn Tang wrote:
> The kernel loaded successfully but it ended with a kernel panic of
> "no init found".
> I have busybox's init in /sbin and I also tried adding "init=/sbin/init"
> to the above statement but with the same result.
>
> The NFTL driver is built-in and it correctly detects my DOC. The kernel
> also successfully mounts the root filesystem (ext3).
Sounds like a problem with the _contents_ of your file system. Does it
boot if you use 'init=/bin/sh', and if so, can you then run /sbin/init?
--
dwmw2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "init not found" after booting GRUB on DOC
2003-08-07 10:47 ` David Woodhouse
@ 2003-08-07 13:15 ` Selwyn Tang
0 siblings, 0 replies; 3+ messages in thread
From: Selwyn Tang @ 2003-08-07 13:15 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-mtd
David Woodhouse wrote:
> Sounds like a problem with the _contents_ of your file system. Does it
> boot if you use 'init=/bin/sh', and if so, can you then run /sbin/init?
I figured out what's the problem: Since I wanted to try out booting with
DOC first, I didn't prepare the C library. But my busybox was compiled
with dynamically linking, it's init could not be started and resulted in
the kernel panic.
Now I compiled busybox with static linking and it works.
Thanks for your help!
Selwyn
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-07 13:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-07 7:47 "init not found" after booting GRUB on DOC Selwyn Tang
2003-08-07 10:47 ` David Woodhouse
2003-08-07 13:15 ` Selwyn Tang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox