[BusyBox] Busybox init with devfs, shmfs, and pivot_root

Laurence Anderson l.d.anderson at warwick.ac.uk
Sat Jan 11 11:52:03 UTC 2003


On Saturday 11 January 2003 2:37 pm, Thomas Lundquist wrote:
> On Sat, Jan 11, 2003 at 02:17:18PM +0000, Laurence Anderson wrote:
> > I had exactly the same problem. The problem seems to be that linuxrc
> > doesn't get PID 1, therefore neither does init. This is because of some
> > kernel root swapper process, used to support the old linuxrc mechanism.
>
> but I am kinda using the old linuxrc mechanism?
>
> (my /linuxrc is a script which then execs /sbin/init)

If you use the old linuxrc mechanism, you shouldn't use piovit_root.

> > The way I solved it was to have the kernel command line:
> >
> > linux init=/linuxrc root=/dev/ram0
>
> sure you need that root=/dev/ram0 ?

Yep

Basically you're mixing the old & the new way of doing linuxrc, thats why it 
isn't working.

Laurence



More information about the busybox mailing list