[CLUE-Tech] Monolithic Kernel....needs to be smaller

Timothy C. Klein teece at silverklein.net
Sun Mar 3 12:07:24 MST 2002


Hmm, sounds fishy.  I thought vmlinux was the name for an uncompressed
kernel, and vmlinuz was the compressed one.  If it were for some reason
not compressed, maybe that is why it is so big?  But make bzImage is the
right target for a compressed kernel.  So the one it is making in
arch/i386/boot is called vmlinux?  Wierd.

As for shrinking, there is only one thing to do.  First, eliminate the
options you don't need in make menuconfig, (or xconfig, or config).
Thus, if you don't have scsi disks, for example, eliminate all scsi code
that you don't need.  Also, if there are things in there that you might
only rarely need, make them into modules, so that they don't have to be
in the kernel except when you really need them.  My kernel isn't that
small, but it only weighs in at 910K, compressed.

HTH,

Tim

* Eric Batalden (ghotinet at yahoo.com) wrote:
> I am working on getting my kernel down to a managable
> size.  it currently weighs in at 1.6MB.  I have looked
> to linux.com and tunelinux.com for their articals and
> shrinking the kernel.  they have been little help. 
> does any one know where same additional resources may
> be?
> 
> the other troubling detail is my "make bzImage" yeilds
> a kernel named vmlinux.  what is the difference
> between vmlinux and vmlinuz?
> 
> thanks in advance
> 
> Eric
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - sign up for Fantasy Baseball
> http://sports.yahoo.com
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
> 
--
==============================================
== Timothy Klein || teece at silverklein.net   ==
== ---------------------------------------- ==
== "Hello, World" 17 Errors, 31 Warnings... ==
==============================================



More information about the clue-tech mailing list