LILO: Kernel too big

Brad Hards bhards at bigpond.net.au
Sat Apr 20 22:25:56 EST 2002


On Sat, 20 Apr 2002 21:43, Michael Still wrote:
> On Sat, 20 Apr 2002, Brad Hards wrote:
> > On Sat, 20 Apr 2002 12:54, Michael Still wrote:
> > > Hey all.
> > >
> > > I'm trying to compile 2.4.18, and am having troubles with lilo (I have
> > > v24 installed). I am compiling everything I can as modules, and don't
> > > have any fancy options turned on. I am going the make bzImage route.
> > >
> > > Anyway, lilo gives me an error message "Kernel too big".
> >
> > This isn't meant to happen for bzImage, at least according to the docs
> > for v21 that I have.
>
> I am doing:
>
> make clean
> make mrproper
> make xconfig
> make dep
> make bzImage
> make modules
> make modules_install
Looks good. Perhaps some of those steps are more than you need, but the only 
penalty is compile time.

> > Are you copying vmlinux from the top level directory? If so, try copying
> > the compressed image from arch/[archtype]/boot (eg
> > arch/i386/boot/bzImage).
>
> And then copying the top level vmlinux to /boot
You never need the top level vmlinux. Ignore it.

Copy arch/i386/boot/bzImage to /boot/vmlinuz-2.4.18, and make the image line 
in lilo.conf point at that.


Brad




More information about the linux mailing list