LinuxQuestions.org
Help answer threads with 0 replies.
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 08-12-2005, 09:44 AM   #1
Erik_the_Red
Member
 
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113

Rep: Reputation: 15
I'm interested in compiling a 2.6.x kernel, is this is a decent guide?


Ubuntu Hoary comes with 2.6.10.

For kicks (aka the heck of it), I'd like to compile 2.6.12.3. I'm on 56K, so I downloaded this older version a month ago.

Is this a good guide?

Or is this better?
 
Old 08-12-2005, 09:52 AM   #2
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
The second guide looks better, read it through before you start. If you have problems, 9/10 you've made a bad selection during the configuration.
Not many succeed the first time they do a custom compile, but if you keep trying and you manage to make a good configuration, it is certainly worth the trouble.
btw. once you have a good configuration, save it for later, it is in the .config file in the /usr/src/linux directory, but I expect the guide to tell you all about that .

greetings,
elluva
 
Old 08-12-2005, 11:35 AM   #3
phaeton2000
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
A good tutorial for compiling kernels on debian and debian based distros is here:

http://newbiedoc.sourceforge.net/system/kernel-pkg.html
 
Old 08-12-2005, 06:15 PM   #4
Erik_the_Red
Member
 
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113

Original Poster
Rep: Reputation: 15
Can I use my old configuration (ie. the one I have for 2.6.10) for this new kernel compile?

Is that what oldconfig means?
 
Old 08-12-2005, 06:29 PM   #5
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
you can use the config with the stock kernel if you like, but it is better and more educational to at least adjust it so that you do not compile stuff you do not need. oldconfig is a method of picking options like menuconfig, xconfig, or gconfig. I think most people think of it as deprecated. menuconfig is the all-around best option.
 
Old 08-13-2005, 08:07 AM   #6
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
Quote:
Can I use my old configuration (ie. the one I have for 2.6.10) for this new kernel compile?
Yes, you can probably retrieve it in /boot/config-*. You just copy it to /usr/src/linux/.config and run 'make oldconfig' from that directory. It is possible to retrieve your config by the proc filesystem as well, but this functionality has to be compiled in the kernel (I think it is /proc/sys/kernel/config or something).

Quote:
Is that what oldconfig means?
yes.
 
Old 08-13-2005, 04:24 PM   #7
Erik_the_Red
Member
 
Registered: Jun 2003
Location: Georgia
Distribution: Arch
Posts: 113

Original Poster
Rep: Reputation: 15
There's nothing wrong with using an oldconfig IF I am not interested in using any new features, right?
 
Old 08-14-2005, 07:03 AM   #8
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
There is never something wrong with using oldconfig, since you'll be prompted with the new features available . btw. you can just copy an old config into the /usr/src/linux dir and then use menuconfig as well. The old configuration will appear in the menu's as well, but the new options will be marked (NEW).
 
  


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
Newbie Guide To Compiling A Kernel! DrOzz Linux - General 318 08-20-2008 06:21 AM
How to Guide to create your own web server - interested? shazam75 Mandriva 7 10-06-2005 05:11 PM
Kernel compiling guide for newbies... DaOne Slackware 127 04-17-2005 05:20 AM
Acid Guide to compiling Kernel 2.6.10 on Slack 10.1 acidjuice Slackware 54 03-11-2005 06:16 PM
: Kernel compiling guide for newbies Question Anibal Slackware 6 08-01-2003 08:06 AM


All times are GMT -5. The time now is 08:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration