Hey! Did you see what David Erdman wrote on Apr 28 ?

DE> Does anyone know how to update the kernel via patch, or do I have to 
DE> download the entire thing.

        Okay, lets assume you've got 2.2.6 and you want to upgrade to
2.2.7 ...

1 - Download the patch
2 - cd /usr/src
3 - zcat /path/to/patchfile/patch-2.2.7.gz | patch -p0
4 - find ./ -name "*.rej" -print 
5 - mv /usr/src/linux-2.2.6 to /usr/src/linux-2.2.7
6 - rm linux
7 - ln -s /usr/src/linux-2.2.7 /usr/src/linux
8 - cd linux
9 - make mrproper
10 - make menuconfig, make dep, make clean, make zImage, make zlilo, make
modules, make modules_install
11 - reboot and Bob's yer uncle :-)

Notes:
I - You may want to backup your kernel source before you start, just to be
on the safe side.  I don't, but I do have a tarball of a clean kernel
source.  So, if something does go wrong I can always go back to that
source and try again.  It is possible to "back out" of a patch, but not if
you really screw things up :(

II - Step 4 above finds any file that couldn't be patched for whatever
reason.  If you get *.rej files, you've got problems.  Have a look in
those (hopefully you won't get any) they will tell you what the patch
expected to find in the original file, what it did find, and what it tried
to change.  The original file will be renamed to *.orig

III - A friend of mine tells me that Redhat is a real bitch to patch the
kernel source.  Because they use a non-standard source-tree the patch
will not work. Well that was the case with RH 5.?, maybe that's not the 
case now.

Regards, Steve Youngs <[EMAIL PROTECTED]>   ICQ: 34307457
----------------------------------------------------------
|                                __                      |
|Isn't it good to know that     / /   __ ___  __ ____  __|
|There _IS_ an alternative!    / /__ / // _ \/ // /\ \/ /|
|                             /____//_//_//_/\_,_/ /_/\_\|
----------------------------------------------------------

The best way to accelerate Windows is at escape velocity.

Reply via email to