From: virus@eel.micro.umn.edu (Tom Maki) Subject: Re: How do I enable the new kernel Date: Wed, 7 Jul 1993 06:30:13 GMT
In <219s27INNegf@lynx.unm.edu> firehawk@centauri.unm.edu (-* FireHawk *-) writes:
>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.
Why not keep the old kernels? I 'make' a new kernel, then just
'mv /linux/zImage /zImage.<somestring>', edit /etc/lilo/config to put
a new entry for the image, and then run '/etc/lilo/lilo' with no parameters.
At boot time I can pick any one of several images to boot......
I have found it very valuable for testing and tweaking purposes ;-)
Tom
=====
______ _ _ _ virus@mermaid.micro.umn.edu
[ / ' ) ) ) / maki0019@gold.tc.umn.edu
___/_________ / / / __ /_ o < this space open >
\_/ (_) / / < / / (_(_/|_/ <_<_ < for suggestions >