stevewabc
01-02-2003, 09:16 PM
How do I make the kernel smaller ?
I Ran this :
-make xconfig
-make dep
-make bzImage
Need to make a boot disk or boot zip but again how..
JohnT
01-02-2003, 09:38 PM
When you ran xconfig did you remove anything or just add? You'll have to decide, based upon your architecture and demands what to remove or add. I doubt your kernel is too large for a zipdisk, for a 3.5 floppy maybe.
Follow ths link HERE (http://www.digitalhermit.com/linux/kernel.html)
the difference between 'zImage' files and 'bzImage' files is that 'bzImage' uses a different layout and a different loading algorithm, and thus has a larger capacity. Both files use gzip compression. The 'bz' in 'bzImage' stands for 'big zImage', not for 'bzip'!)
As the Kbuild documentation states:
Some computers won't work with 'make bzImage', either due to hardware problems or very old versions of lilo or loadlin. If your kernel image is small, you may use 'make zImage', 'make zdisk', or 'make zlilo' on these systems.
Use the "Help" link tab in xconfig for each category to obtain an explanation of each determination.