I have a question about recompiling
The first time I compiled, I went from my 2.4.26 kernel to the 2.6.9 kernel using the following steps…..
downloaded the Kernel source from kernel.org
opened the tarball into the /usr/src directory
edited the lilo.conf file by making a second linux section and adding ".old" to the end of vmlinuz and the label
edited the Makefile in the 2.6.9 directory by uncommenting "export INSTALL_PATH=/boot"
opened terminal and changed directory to /usr/src
fixed the symbolic link by typing
rm -f linux
ln -s linux-2.6.9 linux
then changed directory to /usr/src/linux
typed "make mrproper"
typed "cp /usr/src/linux-2.4.26 /usr/src/linux" to import my old kernel's config
typed "make gconfig" (the only changes I made were the ones that optimized the kernel to run on an Athlon processor)
typed "make clean"
typed "make dep" (got a message saying I didn't need to do this)
typed "make"
typed "su -c "make modules_install""
typed "make install"
typed "/sbin/lilo"
Lilo recognized the new Kernel and the old kernel. I am able to boot both up except I can't get my Nvidia drivers to work on the 2.6.9 kernel.
I found that the problem is that a line must be added to the kernel source code and the code must be recompiled.
And now for my question.....
How do I recompile so that my recompiled 2.6.9 kernel overwrites my old 2.6.9 kernel that doesn't work? Currently there are three choices in my lilo menu....
Windows
Linux.old (my old 2.4.26 kernel which works fine)
Slackware 2.6.9 (my new kernel which won't load x because of the nvidia module)
When I recompile will my lilo menu look something like this?
Windows
Linux.old (my old 2.4.26 kernel which works fine)
Slackware 2.6.9 (my new kernel which won't load x because of the nvidia module)
Slackware 2.6.9 (my recompiled kernel with the proper nvidia module)
I just don't want more than one 2.6.9 kernel and I want to have a lilo menu that links to my windows partition, linux 2.4.26, and linux 2.6.9 kernelt with the nvidia working properly.
If you can explain how to recompile in layman's terms I would appreciate it. Thanks!