LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-07-2007, 09:43 PM   #1
linuxqu
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Rep: Reputation: 0
Question kernel compilation/recompilation


Please guide me if you can, the difference between kernel compilation and recompilation and how to do,in written form or any website info.linuxqu
 
Old 03-08-2007, 12:22 AM   #2
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 43
Start here. It is one of the only tutorials that's thorough enough to give you good kernels from the start.
http://www.bitbenderforums.com/vb22/...303#post296303

Another thing you might want to do is download a .config file from the Slackware distribution. This way you can compile a kernel the way Slackware does it and know that the configuration is right. To fully configure a new kernel takes many, many hours. More than likely, you won't be able to do it in one sitting. You can find Slackware kernels and configs here:
ftp://slackware.cs.utah.edu/pub/slac...rnels/huge26.s

I pointed you to the huge 2.6 kernel because it is the most generic and useful for different hardware, but feel free to look at some of the others Slackware offers. Once you get good at it, it'll only take about 10 minutes of effort to upgrade or make changes, not including download times and compile times.

I'm making an edit because I realize I didn't answer your question. There is no difference in compiling and recompiling except that when you recompile you probably aren't going through the same amount of effort you would in configuration during a recompile. Typically, when you're recompiling, you're only making a few little changes.

For example, I'm running a kernel now, and I could recompile it to add or remove features. I could also configure and compile a new one from scratch. Hope that helps clarify.

Last edited by meetscott; 03-08-2007 at 09:04 AM.
 
Old 03-08-2007, 06:19 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply

Tags
kernel


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help please .. kernel recompilation .. StarBV Slackware 4 03-05-2007 11:34 PM
Get agpgart as a loadalbe kernel module, without kernel recompilation? TruongAn Linux - Software 3 03-28-2006 10:44 AM
kernel recompilation sachin_malik Linux - Enterprise 1 05-20-2005 01:57 PM
Recompilation of the kernel s_shenbaga Linux - Newbie 2 04-14-2005 03:06 PM
kernel recompilation najeeb Linux - Networking 1 08-31-2003 05:09 AM

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

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