LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Kernel Build problem (https://www.linuxquestions.org/questions/programming-9/kernel-build-problem-8369/)

bataii 11-06-2001 01:06 PM

Kernel Build problem
 
I'm trying to build a new kernel for my system. I've downloaded the sources for both 2.4.10 and 2.4.12.

I do the following:
make config
make dep
make
make boot

At this point I always get an error in zImage stating the statistics of the sizes, then it says;
System is 566 kB
System is too big. Try using bzImage or modules.
{zImage} error.

It doesn't matter how big the kernel is or which kernel I'm using. Can anyone help?

thanks,
bataii

rshaw 11-06-2001 01:15 PM

use bzImage instead of zImage. it compresses the kernel into a smaller file.

bataii 11-06-2001 01:33 PM

Thanks
 
Thanks for the help. I have another question then:

Once I get the bzImage, do I just copy that to /boot and rename it vmlinuz for Lilo? or is there something else I have to do?

bataii

isajera 11-06-2001 01:42 PM

it's easiest to copy it to /boot and rename it, but be sure to save the old kernel as vmlinuz.old or something like that.

rshaw 11-06-2001 01:49 PM

here's the steps i use:
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
make bzlilo

bzlilo will backup the current kernel,install the new, and run lilo(saves a lot of typing)

bataii 11-06-2001 02:21 PM

Again, thanks.
 
Thanks, I'll try both just to make sure everything is fine.

bataii


All times are GMT -5. The time now is 08:00 AM.