develop a new kernel

Hi people,
I am trying to install a second kernel on my Red Hat 8.0 machine.
the existing kernel is 2.4.18 and I am trying to have 2.4.20.
I already downloaded the source extracted it run make , make dep and make bzImage . Now when trying to copy the installed kernel image from /usr/src to /boot/ I don't see the file bzImage in boot directory.

This is all the files that I have in my /usr/src/linux/arch/i386/boot :

bootsect.S compressed install.sh Makefile setup.S tools video.S

Please let me know if I missed any step in the process.

cheers,
Bashir

Steps should be:

[list=1]
[]make config
[
]make dep
[*]make bzimage
[/list=1]
When make bzimage stops processing, you can see the results logged on the screen, including where the image was created.

Hi Neo,
Thanks for the reply! Much appreciated.
I started all over again and this time instead of make I used make conf but it gives me this error:
make: *** No rule to make target `config'. Stop.

Also Do I have to run all these commands from the root or I need to be in /usr/src directory? I tried both and still the error msg was the same.

regards,
Bashir

Please thoroughly read the README file in the /usr/src/linux* directory the source is in. It outlines the steps very clearly. Notably, you forgot to make and install modules, which you'll most likely want to do if you want a usable kernel (assuming it's not for an embedded kernel). Make sure to look at the output of make to make sure you don't get an error building the kernel. A common one I used to get when building the compressed image was that the kernel was too big to be bootable.

Hi there,
I have followed all the steps now after editing lilo.conf and running it using lilo I get this error msg:

Fatal: No images have been defined.

I did copy the bzImage to the /boot.

regards,
Bashir