LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2002, 06:47 PM   #1
bluester
LQ Newbie
 
Registered: Dec 2002
Location: USA
Distribution: Debian
Posts: 24

Rep: Reputation: 15
Question How do you patch a kernel?


I have Linux RedHat 8.0 kernel 2.418-18.8.0
I want to patch to 2.4.19.
I have downloaded the patch from kernel.org

I have tried reading the how-to's but they do not make much sense to me.
I have the kernel source loaded and (I think) the proper development utilities.
I am using a desktop manager....WindowMaker. Gnome and KDE are too bulky. I like making the menus the way I want them. ;-)

Any help would be appreciated.

If you can guide me to a step by step section on the web that would be great as well. :-)
 
Old 12-17-2002, 07:02 PM   #2
lowlifeish
Member
 
Registered: Oct 2002
Location: San Francisco, CA
Distribution: redhat
Posts: 50

Rep: Reputation: 16
These are the steps I take to patch a kernel:

1) If your

Last edited by lowlifeish; 12-17-2002 at 07:04 PM.
 
Old 12-17-2002, 07:02 PM   #3
iocain
LQ Newbie
 
Registered: Dec 2002
Location: Canada
Distribution: Debian, BSD, IRIX, MacOS, Solaris, AIX, HP-UX, other Unix, other Linux, other, windos (declining...)
Posts: 25

Rep: Reputation: 15
You essentially just want to use the "patch" program at the command line.

If you have your 2.4.18 kernel in the /usr/src/linux/ directory, and you put the 2.4.19 patch in /usr/src/linux-patch-2.4.19 (after running "gunzip" on it -- I don't remember what the file is really called), you should be able to just "cd /usr/src/linux ; patch < ../linux-patch-2.4.19" and it should chug away, patching the sources for you!

Then you'll get to enjoy the process of building a custom kernel. Don't get too overwhelmed! Defaults are your friends. ;-)
 
Old 12-17-2002, 09:26 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Gidday!

I'd be cautious :}

MDK (as RH) are busy modifying the kernels in
their distro ... I wouldn't bet my life on patching
a MDK-kernel with a diff from kernel.org ;)

Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Patch (Patch-2.6.13) ukez Linux - Hardware 4 08-30-2005 03:40 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 04:25 PM


All times are GMT -5. The time now is 11:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration