Hello
 
I'm having some problems figuring out the documentation for rebuilding the kernal for redhat.  Actually I managed to rebuild it ok the problem is installing it.
 
I have two new files.  vmlinuz and system.map
 
In my /boot directory I have the following files
 
/boot/System.map-2.2.12-20
/boot/module-info-2.2.12-20
/boot/vmlinuz-2.2.12-20
initrd-2.2.12-20.img
And in my lilo.conf I have the following
 
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux
 
image=/boot/vmlinuz-2.2.12-20
        label=linux
        initrd=/boot/initrd-2.2.12-20.img
        read-only
        root=/dev/hda8
 
So here is the difficulty, I can figure out what do do with image.  I create a new lilo entry and set image to my new vmlinuz.  What I don't know is where do I get another initrd for my new build?  what do I do with my new System.map?  And where can I get another module-info for my new build and how do I put it in my lilo.conf?  Seems like I'm missing some steps here and the docs are a little inadequate.
 
I guess I could just replace all the files in the directory with my new ones but that seems so fatal.  I remember playing with linux several years ago and I could have several kernals installed and select the one I wanted with lilo.  So if I got a bad kernal I could just reboot off the old one.  Has this changed?
 
BTW I also tried to make zlilo and this just put a copy of system.map and vmlinuz in the root directory...
 
Anyway any help would be welcome.
 
John

Reply via email to