Branches
Articles referencing this project
Comments
[»]
Problem with busybox as init
by Joel Kaasinen - Nov 16th 2003 23:49:29
I've been making my own bootdisk/minilinux. I use busybox, and I dont
have initd, so the kernel is started with "init=/bin/sh" where sh is a link
to busybox (yes, i compiled sh into bb). But when the system boots, busybox
prints out its list of functions and quits! This results to "kernel panic:
tried to kill init"
help would be appreciated :)
cheers,
J
-- cheers,
J
[reply]
[top]
[»]
Re: Problem with busybox as init
by Joel Kaasinen - Nov 17th 2003 00:14:25
Got hush to boot, but it only displays the "hush - humble shell... blah
blah blah" text and doesnt display a prompt or respond to commands
The shell works when i execute it from my normal linux... wierd?
cheers,
J
-- cheers,
J
[reply]
[top]
[»]
Re: Problem with busybox as init
by Erik Andersen - Dec 23rd 2003 02:07:22
> I've been making my own
> bootdisk/minilinux. I use busybox, and I
> dont have initd, so the kernel is
> started with "init=/bin/sh" where sh is
> a link to busybox (yes, i compiled sh
> into bb). But when the system boots,
> busybox prints out its list of functions
> and quits! This results to "kernel
> panic: tried to kill init"
> help would be appreciated :)
> cheers,
> J
This is the result of a kernel bug where the kernel fails to properly set
the value of argv[0] for init to /bin/sh. I got a patch into 2.4.23, and
2.6.0-preX fixing this bug, so this will now work properly with the latest
Linux kernels.
-Erik
[reply]
[top]
|