[BusyBox] urgent help at change_root inside of initrd

Stephan Linz linz at MAZeT.de
Fri Feb 15 04:51:03 UTC 2002


Am Freitag, 15. Februar 2002 12:35 schrieben Sie:
> On Fri, 15 Feb 2002 11:52:47 +0100, Stephan Linz <linz at MAZeT.de> wrote:
> >BIOS boots from first master IDE device (LILO). LILO loads kernel and
> > initrd image. Kernel mounts initrd image as first root FS in
> > ramdisk(/dev/ram0); in lilo.conf is standing: append="root=/dev/ram
> > init=/linuxrc rw". Initrd image covers a small busybox, /linuxrc is a
> > shellscript and has to mount /dev/hda1, extract the real root FS from a
> > tarball to /dev/ram1, unmount /dev/hda1 and
>
> Sorry not to answer directly, but why don't you put the tarball in a fs
> image and load that directly through initrd (without the intermediate
> step)?

Yes, that's the current state, but the plan is to make the system environment 
inclusive boot management as flexible as possible. There are already several 
application packages (tarballs) with different size. Each packeg is 
extracting while boot the target. Even the root FS isn't, so the current root 
FS (as initrd image) is a non resizeable ramdisk at runtime. The idea is to 
tell the initrd image by kernel parameter string the wished setting and 
/linuxrc can build me enougth sized ramdisk for root FS.

If I could use the dynamik ramdisk (of 2.4.x kernels) in 2.2.x, then I would 
not think about this mechanism.


Stephan

-- 

======================================================================
Stephan Linz
Software Engineer

MAZeT GmbH                   Email:   mailto:linz at mazet.de
Branche office Jena          Phone:   +49-3641-2809-55
Göschwitzer Straße 32        Fax  :   +49-3641-2809-12
D-07745 JENA
Germany

Visit our web-pages: http://www.MAZeT.de
======================================================================



More information about the busybox mailing list