On Mon, 3 Jul 2000, Derek Martin wrote:
> On Sun, 2 Jul 2000, Tom Rauschenbach wrote:
>
> > I need to rebuild my kernel to get support for my Zip drive. I'm very
> > reluctant to do this since it took me months to get 16 bit sound to
> > work. If any one has tip on kernel rebuilding I'd love to start a
> > thread on this. How does one specify *changes* to the kernel.
> > Discussion of System.map and modules are especially welcome.
> > Especially if you know what System.map does and even more welcome if
> > you know how to have more than one kernel/set of modules/version of
> > glibc at the same time.
>
>
> My first question would be why you would want to maintain several versions
> of the same kernel on the same machine... I would make sure I've got the
> latest version of the stable kernel sources, and use that as my new
> kernel, configured the way it needs to be. I generally rely on the
> default kernel my distro shipped as the backup kernel, or some other
> earlier version of the kernel that I've compiled since then.
Wait I wasn't done! Hit send by mistake...
You *CAN* have more than one version of the same kernel on the system, if
you need to. You'll need to edit the Makefile in the root of the kernel
source tree. Right at the beginning you'll see something like:
VERSION = 2
PATCHLEVEL = 2
SUBLEVEL = 16
EXTRAVERSION =
What you need to do is set EXTRAVERSION to something... then your kernel
will be called 2.2.16-whatever-you-called-it. Your modules directory will
have the same name. What you do now may be distro-specific, but generally
what you'll do is
# cp System.map /boot/System.map-2.2.16-whatever-you-called-it
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.2.16-whatever-you-called-it
Then edit lilo.conf to add an entry for that specific kernel, and run
lilo. Then you should be all set.
--
Derek Martin
System Administrator
Mission Critical Linux
[EMAIL PROTECTED]
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************