Click to See Complete Forum and Search --> : Kernel upgrade problems


RogueFiend
01-14-2001, 03:01 AM
I just donwloaded the linux 2.4 kernel from rawhide and have installed it onto my RedHat 7.0 system. I have added an extra image to my lilo.conf file but when I try to update lilo it gives me the following error:
Fatal: Kernel /boot/vmlinux-2.4.0-0.43.12 is too big

The size of the new kernel is 2 megs is that really too big?. Has anyone else had this problem?.


[This message has been edited by RogueFiend (edited 14 January 2001).]

Craig McPherson
01-14-2001, 03:11 AM
STARS!!! TWO MEGABYTES!

You've broken my record! NOOOO! I've had that record for YEARS!!! *pout*

Anyway, did you do "make zimage" or "make bzimage" during compiling? You should always do bzimage, because that makes a smaller kernel.

If you DID do bzimage, or if you do it and your kernel's still too big, then I'll have to reluctantly pass along my "most grossly oversized kernel ever" award to you. Try again. And don't say YES to everything this time.

Between half a megabyte and 3/4 of a megabyte is a good size to shoot for. Okay, 2.4 tends to build bigger than previous versions -- I'm a tight kernel builder now (I reformed), and my 2.4 kernel is exactly 700KB, despite the fact that it's pretty trim.

[This message has been edited by Craig McPherson (edited 14 January 2001).]

guitarlyn
01-14-2001, 05:39 AM
It might not be a big kernel, but then and again, the Titanic might not have been a big boat! Should be able to knock it down to under 500K...unless you need TONS of extra's compiled in there. Modules are a lot easier to deal with.

~Guitarlynn

mindwarp
01-14-2001, 05:41 AM
You copied /usr/src/linux/vmlinuz... copy /usr/src/linux/arch/boot/bzImage

RogueFiend
01-14-2001, 06:02 AM
The RPM I donwloaded allready came with the kernel compiled so its not my fault blame redhat http://www.linuxnewbie.org/ubb/smile.gif. I have downloaded the kernel src from ftp.kernel.org and I will have a crack at compiling one for myself.

[This message has been edited by RogueFiend (edited 14 January 2001).]

SlCKB0Y
01-14-2001, 10:13 AM
Originally posted by mindwarp:
You copied /usr/src/linux/vmlinuz... copy /usr/src/linux/arch/boot/bzImage


we all know what you really meant to type was:
/usr/src/linux/arch/i386/boot/bzImage