[BusyBox] how to get "reboot" to work when using "minit"??

Robert P. J. Day rpjday at mindspring.com
Thu May 6 17:45:26 UTC 2004

On Thu, 6 May 2004, Rob Landley wrote:

> On Monday 03 May 2004 17:43, Robert P. J. Day wrote:
> >   ok, given the impending demise of the BB "minit" applet, i downloaded
> > the actual minit source, cross-compiled it, installed it in /sbin/minit,
> > created a minimal /etc/minit boot structure, and successfully booted
> > using minit using:
> >
> >   boot: ... init=/sbin/minit
> Alright, what's the difference between init and minit again?

"init" being the busybox applet
"minit" being the actual cross-compiled utility, built from the source

  as others have pointed out (and i've only had time to skim the 
responses), if i configure BB to use init, but *also* add a separate
/sbin/minit executable and corresponding /etc/minit structure to go
with it, then i can boot using minit by adding

  ... init=/sbin/minit

at the end of the boot line.

  however, if i do that, the BB "reboot" applet is unable to actually
reboot the system since it apparently doesn't identify that it's actually
minit that's running.  i may be oversimplifying drastically, but it's just
an observation i made a few days ago.


More information about the busybox mailing list