Projects / BusyBox / Comments

Comments for BusyBox

23 Dec 2003 02:07 andersee

Re: Problem with busybox as init

> 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

17 Nov 2003 00:14 opqdonut

Re: Problem with busybox as init

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

16 Nov 2003 23:49 opqdonut

Problem with busybox as init

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

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.