> I am trying to compiling it myself.  Instead of patching the
> kernel, I am trying to figure how to use the initrd to load
> root.lrp, then bootstrap from there.  I am seeing some rather
> strange things, like some binaries cannot be executed (ae, ash)
> while others are fine (bash).  It is probably library issues.(?)

Or possibly problems with your initial ramdisk.

> Have anybody tried to use Debian's mkinitrd to build the initrd?
> I am using the Debian's 2.4.17 kernel source.

If you want to use an unpatched 2.4 kernel, I suggest you at least start
with the contents of root.lrp from a distribution image.  Just make a
ramdisk (or even better, use a pre-sized/zero'd file and the loopback
device) on a handy linux system, format it with the filesystem of your
choice, mount it, untar-gz the contents of root.lrp to it, and use it to
create your initial ramdisk image.

As long as you've got ramdisk and linuxrc support configured in the kernel
(as well as support for the file-system you used to format the ramdisk), the
system should come up.

NOTE:  You may need to set the root device to something other than /dev/ram0
on the kernel command line to get linuxrc to run...if so, to keep normal LRP
functionality, you'll also have to re-write the real-root-device (in /proc)
to /dev/ram0 in linuxrc.

Refer to recent threads on the leaf-developer list regarding using unpatched
kernels with LEAF/LRP.

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to