[klibc] Query regarding initramfs

Andreas Jellinghaus aj at ciphirelabs.com
Fri Feb 18 03:17:24 PST 2005

Hi Rachita,

you need to mount something to /newroot.

the run-init.c in klibc expects that this has already been done.

so insert a mount() call somewhere in the main() function, for example
should work (untested).

or add /bi/mount and all libs used by it to the initramdisk,
and write an init that first calls mount, and then calls run-init.
but adding a single function call to mount might be easier :-)

Good luck!

Regards, Andreas

---------------------[ Ciphire Signature ]----------------------
From: aj at ciphirelabs.com signed email body (409 characters)
Date: on 18 February 2005 at 11:17:39 UTC
To:   rachitako at in.ibm.com, klibc at zytor.com
: Ciphire has secured this email against identity theft.
: Free download at www.ciphire.com. The garbled lines
: below are the sender's verifiable digital signature.
------------------[ End Ciphire Signed Message ]----------------

More information about the klibc mailing list