newest on this list and working with BUSYBOX

Rob Landley rob at landley.net
Tue Sep 20 01:00:05 UTC 2005


On Monday 19 September 2005 16:49, Thiago Germano Beier wrote:
> Hi all, I´m newest on using busy box and I need a good help I read the
> documentation at the busybox SITE and it´s not working anymore does anyone
> has a good howto here ? (a small step-by-step that allow me to set up my
> first BOX)

What's not working anymore?

If you just want to play with busybox, do a "make allyesconfig", then make, 
and then run "./busybox sh".  In standalone shell mode (which allyesconfig 
enables), busybox will run the built-in version of each of its commands (if 
any) before looking elsewhere on the system for that command.  (You're 
probably better off playing with -current than 1.0.1 here, actually.)  You 
can even use this in a chroot environment, although it requires /proc be 
mounted to run any of the built-in commands.  (It wants to re-exec itself 
after forking to reset the global variable state and such, and the only way 
to do that we've found is to exec /proc/self/exe.  Someday that requirement 
may go away, but it hasn't yet.)

If you're asking how to set up your own system, then there's this:
http://www.tldp.org/HOWTO/From-PowerUp-To-Bash-Prompt-HOWTO.html

Although what I learned from way back when was this:
http://www.tldp.org/HOWTO/Bootdisk-HOWTO/

And the comprehensive thing is the Linux From Scratch project:
http://www.linuxfromscratch.org
http://www.linuxfromscratch.org/lfs/downloads/stable/

Busybox can in theory replace bash, bzip2, coreutils, file, findutils, gawk, 
grep, gzip, inetutils, less, modutils, net-tools, patch, procps, sed, shadow, 
sysklogd, sysvinit, tar, util-linux, and vim.

In reality, it still has a few rough edges (see the TODO list).  I'm trying to 
build a system around busybox that's a full development environment that can 
rebuild itself from source code (http://www.landley.net/code/firmware, but 
don't bother downloading the 100 megabyte tarball there as I should finally 
have a new release in a few days), and last time I tried it I still needed to 
replace bits of busybox with the standard bash, gzip, and patch.  (Although I 
think patch and gzip have now been fixed in -current, but haven't tested it 
in my build yet.)

Rob



More information about the busybox mailing list