patch to kernel
Mick Mearns
off_by_1 at yahoo.com
Thu Dec 23 09:24:02 UTC 2004
> Hi!
>
> How to patch ?
>
> Ringo
>
Hello Ringo;
This is how I do it: (I am sure there are better/faster ways)
"su -" and enter the password for root.
"cd /usr/src"
Download the base kernel:
http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.9.bz2
Download the latest prepatch:
http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.10-rc3.bz2
Download the latest snapshot:
http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.10-rc3-bk15.bz2
Uncompress the files: "bunzip2 *.bz2"
Untar the base: "tar -xvf *.tar"
Get the .config file from your latest working kernel, or the Redhat
base: "cp XXXX/.config mick"
change the directory name to the new kernel:
"mv linux-2.6.9 2.6.10-rc3-bk15"
get the patches there:
"cp pat* 2.6.10-rc3-bk15"
and the config:
"cp mick 2.6.10-rc3-bk15/.config"
cd there:
"cd 2.6.10-rc3-bk15 "
FINALLY patch the kernel:
"cat *rc3 | patch -p1"
"cat *bk15 | patch -p1"
Compile it:
"make"
"make modules_install"
"make install"
and - reboot to the new kernel.
This is just my tedious, boring, slow way of doing it.
Mick
=====
Dogs have Masters - Siamese Cats have Staff!
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
More information about the fedora-list
mailing list