Xiang Jun Wu wrote:
> Whereas, the size of initrd is too large to netboot.
> Since the protocol of netboot is bootp, I am not sure the maximum size
> of bootp can transfer. (zimage are not able to exceed no more than 10M?
> not sure . depend on openfirmware?)
> In fact, the size of initrd I built has already reached 16M (gzip
> compressed 15M). I have tried to run si_prepareclient command with
> "--modules" option to recude the size of initrd.

Do you mean --my-modules, right?

> But it make no sense.
> After scanning the layout of entire initrd, I found out the "/lib"
> directory hold the majority size (14M) of initrd.
> There are such as"libnss_ldap-2.3.4.so (2.5M),libcrypto.so.4 (1.1M)"
> files and so on.
> I run "ldd" command to check such as "busybox" and so on binary's share
> libraries dependencies. I found they don't depend on "libnss_ldap.." or
> other lib files.

libnss* are not reported by ldd, but some binaries require them to run.
So the only solution is to entirely copy them into the initrd.

Anyway in general the big size of /lib is due to /lib/modules, so check
if you can remove some modules first. Then if you're not using the
bittorrent transport you can reduce the initrd size removing
/lib/bittorrent (maybe we could add an option of si_prepareclient to
explicitly remove that, if the user doesn't want to install via bittorrent).

Cheers,
-Andrea

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to