From: -* FireHawk *- (firehawk@centauri.unm.edu)
Date: 07/05/93


From: firehawk@centauri.unm.edu (-* FireHawk *-)
Subject: Re: How do I enable the new kernel
Date: 5 Jul 1993 18:31:35 GMT

In article <C9Lzqz.7B3@choate.edu> roland@spock.choate.edu (Dave Braun) writes:
:I snagged the latest kernel update and managed to compile it, but now I don't
:know how to actually enable it - I got a zImage from "make all" but it's in
:"/usr/src/linux" and copying it to / doesn't have any effect - how do I get
:the kernelto boot?

Here are two things I do:

1) I always like to test the new kernel out before I zap the old one, so I make
a bootable disk first. To do this, after you make the kernel, do either
'make disk' or 'make zdisk' (zdisk, if you built a compressed kernel). You
will need, of course, a blank disk. Then reboot your system with that disk
in drive A. If your system boots up fine, then go onto the next step below,
else, reconfigure and rebuild the new kernel.

2) 'cd' into your root directory and do:
    % cp <name of current kernel image> Image.old
    (on mine, I do 'cp Image Image.old')
to backup the current kernel image. Then do:
    % cp /usr/src/linux/<whatever the new image is called> <old kernel's name>
    (on mine, I do 'cp /usr/src/linux/Image Image'. )
to copy the new kernel image over the old one.

However, you are not done yet! If LILO or some other special booting
software is activating your linux side, then you should re-run it on the new
kernel image (double check this with your booting software to determine
if this step is even needed). From my experience using LILO, you need to
re-run the lilo 'install' script if you update the kernel or else LILO will
do strange things when it attempts to reboot the new kernel.

Hope this is helpful to some folks. Cheers! =)

-Jeff

-- 
INTERNET: firehawk@carina.unm.edu