LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Patching 2.6.9 Kernel w/ Con Kolivas patch? (Many searches done) (https://www.linuxquestions.org/questions/linux-newbie-8/patching-2-6-9-kernel-w-con-kolivas-patch-many-searches-done-267349/)

DreameR-X 12-17-2004 05:20 AM

Patching 2.6.9 Kernel w/ Con Kolivas patch? (Many searches done)
 
I downloaded the bz2 file from Con Kolivas site. How do I patch/use the patch? Thank you so much for your patience! (And yes, I did lots of searches on these forums and google'd it)
-Galen

Andrew Benton 12-17-2004 09:41 AM

Well you'll need the linux-2.6.9 kernel source to apply the patch to and when you've applied it you'll need to compile the code to create a new kernel. It will help if you have a .config file that you know works. If you have to start from scratch working out what kernel options work for you it'll take forever. Well, not forever but, anyway, so untar the kernel source somewhere convenient like your desktop, bunzip2 /path/to/patch-2.6.9-ck*.bz2
cd /path/to/linux-2.6.9
patch -p1 < /path/to/patch-2.6.9-ck*
make mrproper
cp /path/to/config .config
make menuconfig
make
su
password
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz
cp System.map /boot

Then you need to update grub or lilo so it will boot the new kernel and reboot

DreameR-X 12-17-2004 08:34 PM

So this is something I apply as I'm upgrading my kernel?
-Galen


All times are GMT -5. The time now is 10:46 PM.