On Saturday 30 June 2001 20:10, Wolfgang Bornath wrote:
> On Sun, Jul 01, 2001 at 01:55 +0200, Maxim Heijndijk wrote:
> > The source for LM-8.0 is not clean. Do a "make mrproper" before doing
> > anything else.
>
> This is just one step further on my way, thank you!
>
> Kernel-compiling-related:
>
> I have a working kernel. It's the plain kernel after the installation
> process is done.
> Now I'll have to compile a new kernel, more custimized to the hardware I
> have. The routine is easy:
>
> make mrproper
> make menuconfig
> make dep
> make clean
> make bzImage
> make modules
> --- save my existing /lib/modules/2.4.3-20mdk to 2.4.3-20mdk.old
> make modules_install
> make install
>
> ok
>
> Now, how do I do this if I want to keep my old kernel as working kernel
> and list the new kernel as option 'linux-new' in LILO?
>
> I know how to edit lilo.config and how to copy the new kernel from the
> source-branch to /boot. But what do I do with the modules? What do I do
> with or without initrd. Problem is that I don't know how I put that in
> LILO that I want either kernel with it's own modules and what about
> system.map?
>
> Can someone shed a light on this or just slap the right RTFM into my
> face?
>
> wobo
I know I am not answering your entire question, but it seems to me the
cleanest way to handle the modules problem is to edit the top level Makefile
and change the EXTRAVERSION = line to something else (i.e. -20mdk01mgg). I
think this will result in another modules directory being created for your
build.