LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-04-2004, 01:27 PM   #1
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
HowTo patch a kernel?


I've been doing some searching on kernel patching and it is really blowing my mind. I haven't been able to find a clear description of the patch command. So my questions are:

1. What are the tools used to patch a kernel?
2. What is the process of patching a kernel?

I'm not extreme noobie but I do like detailed discussions. Thanks in advance for any input.
 
Old 03-04-2004, 03:03 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: HowTo patch a kernel?

Quote:
Originally posted by busbarn
I've been doing some searching on kernel patching and it is really blowing my mind. I haven't been able to find a clear description of the patch command. So my questions are:

1. What are the tools used to patch a kernel?
2. What is the process of patching a kernel?

I'm not extreme noobie but I do like detailed discussions. Thanks in advance for any input.
1. Patch
2. patch -p1 < path/to/patch/file

The second step would be performed in the top level directory of the kernel source tree eg. /usr/src/linux-2.4.24. You will then see output of the files being patched and the success or failure of the effort. The patch will most likely be b or g zipped you will have to uncompress the file before issuing the command above.
 
Old 03-04-2004, 04:07 PM   #3
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Original Poster
Rep: Reputation: 30
Wow that seems easy. Two things I didn't know: untarring the patch and needing to apply it in the top level directory. Pretty cool--thanks!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
howto patch advice dred Mandriva 0 12-29-2004 02:50 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
howto patch kernel? silversky Slackware 3 04-22-2004 02:41 PM
Applying patch HOWTO webboss Linux - Software 0 09-27-2001 02:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:07 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
Open Source Consulting | Domain Registration