General discussion

Locked

LILO does not accept a new zImage

By yarik ·
I just configured a new kernel 2.2.16 on my Rad Hat 6.1 and it was compilled without errors. When I edited LILO Conf and ran LILO -v it prodused something like

Reading boot sector from /dev/hda
Merging with /boot/boot.b
Boot image: /boot/zImage
Kernel: zImage is too big

The fact is that new zImage is smaller than vmlinuz-2.2.12-20 I had before.
I boot to Win98 and ran fdisk /mbr, but it didn't help, after booting from the floppy to Linux I ran LILO again and got the same output
What's the problem?

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

LILO does not accept a new zImage

Hi!

You need to do this.

When compiling the new kernel type:
make bzImage

If this dosen't work you need to do a:
make menuconfig
and remove some things to be statically linked into the kernel.
In other words make more stuff as modules.
/Hasse

Collapse -

LILO does not accept a new zImage

by yarik In reply to LILO does not accept a ne ...

Thank you. That's what I did. I went through the procedure of configuration again and now it's compilled and lilo installed, but when I boot system, it says that System.map has wrong kernel version. How to build a new one? Could you help?

Back to Linux Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums