LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2009, 01:23 PM   #1
mefizto
LQ Newbie
 
Registered: Oct 2008
Posts: 14

Rep: Reputation: 0
Recompiled kernel and patches?


Greetings,

it is my understanding that if I use a kernel that comes with a distribution, I can just apply (security) patches and updates to the kernel without re-compiling. However, if I re-compile a kernel, e.g., to remove support for hardware I do not have and/or to add support for a file system, every time a patch and/or update is provided, I will have to re-compile the kernel anew.

Is the above correct?

Thank you,

M
 
Old 04-22-2009, 03:07 PM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
No, your patching kernel sources and then you're recompiling it. By the way, it's quite unusual to have to recompile by yourself the kernel... Your distribution will provide you a kernel that fit 99% of your usual needs. And the kernel will be updated as soon as your distribution will release a new one, and this is done through your package manager.
By the way, if you really need (or why not, just want) to recompile your own kernel:

-get the sources from kernel.org, or through your packages manager, but often distributions add some changes to the mainstream kernel.

-get your current kernel configuration file (often in the /boot directory)

-configure and compile

-install

If you want to go for the adventure, you'd better find a tutorial which explains this.

Last edited by jf.argentino; 04-22-2009 at 03:10 PM. Reason: posted to early by error
 
Old 04-23-2009, 07:00 PM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Some distros have quite some slick procedures to apply patches and compile kernels.

Why not state your distribution?

jlinkels
 
  


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
using recompiled kernel gruelius Linux - Newbie 2 02-17-2007 06:25 AM
recompiled kernel 2.6.3-13 what does this mean? rbonafied Mandriva 8 06-07-2004 01:00 PM
Why Won't Recompiled Kernel Work? duerra Linux - Newbie 17 01-16-2004 06:42 PM
recompiled kernel not in use taoweijia Linux - Newbie 1 01-09-2004 09:33 AM
recompiled kernel and no vmlinuz.old or kernel module for Nvidia Bruce Hill Slackware 13 12-11-2003 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:54 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