LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-01-2004, 02:47 AM   #1
kola
Member
 
Registered: Jul 2004
Location: Christchurch, New Zealand
Distribution: FC2, Debian 'Sarge'
Posts: 64

Rep: Reputation: 15
updating custom kernel


Ok so i have installed kernel 2.6.8-1.

Now assuming i understand this ok, if a security risk was found in this kernel, a new one would be released, maybe 2.6.8-2. And then i could download and install this, easy enough.

But what if i have customised my own kernel from the kernel source. How would i go about updating it, or would i have to download it and go through the whole menuconfig again to recompile or something?

If so, would the .config file for 2.6.8-1 be usable with a future 2.6.8-20?

cheers
 
Old 12-01-2004, 03:19 AM   #2
hostile1313
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: Slackware 14
Posts: 25

Rep: Reputation: 15
you can get the new source then copy your old .config file into the directory and use "make oldconfig" this should keep your old setting and ask you for any new settings that the kernel has that wasn't specefied in the old kernel.
 
Old 12-01-2004, 03:38 AM   #3
kola
Member
 
Registered: Jul 2004
Location: Christchurch, New Zealand
Distribution: FC2, Debian 'Sarge'
Posts: 64

Original Poster
Rep: Reputation: 15
Ah that makes sense. I'd hate to have to edit every option every time a new kernel came out.

On this old machine a recompile takes almost an hour.
 
Old 12-01-2004, 04:02 AM   #4
hostile1313
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: Slackware 14
Posts: 25

Rep: Reputation: 15
Quote:
Originally posted by kola
Ah that makes sense. I'd hate to have to edit every option every time a new kernel came out.

On this old machine a recompile takes almost an hour.
will after you have the config file setup you will still have to compile, and I do remember that when I had linux on a slow machine it would take hours to compile, then you get an error and have to start over. The good thing though is once you have a kernel thats up to date and properly configued then there is no need to update it for sometime. Most people will actually waite 6 months or a year and see how a new kernel release is doing before they trust to upgrade. So there is no need unless the new kernel supports something on your box that you need and can not get it to work with old kernel.

If you just want to play though, I should say once I got a new computer and put linux on it, the compiling only takes 15 minuts are so, so thats defiantly something to look at, linux isnt just for old machines
 
Old 12-01-2004, 04:16 AM   #5
kola
Member
 
Registered: Jul 2004
Location: Christchurch, New Zealand
Distribution: FC2, Debian 'Sarge'
Posts: 64

Original Poster
Rep: Reputation: 15
Yeah i know id have to recompile. but i wouldnt have to do it several times because i missed a few options, or removed the wrong one causing errors

Is there really much point in configuring it yourself? There must be a speed difference maybe, but where would you notice it?

Is the system more secure to remove all the unneeded stuff from the kernel?
 
Old 12-01-2004, 04:22 AM   #6
hostile1313
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: Slackware 14
Posts: 25

Rep: Reputation: 15
well I still consider myself a newbie to linux so maybe your asking the wrong guy. But I think with the speed of todays computers your not going to notice a real differene. I configured my kernel manually just so I could learn more about it, but now looking back on it if say my network card failed I would have to reconfigure my kernel again because it doesnt have the ability to use any other enthernet cards. The only real reason to configure your kernel is for special needs that the default doesnt offer, or if you have a specialized system that say your wanting to use as a a router or something then you could make the kernel a lot more secure with not having some of the features enabled that could cause a vunerbility and you can reduce the size of the kernel. But from my experience, a basic install with the default kernel works on most desktops
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
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
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
Slackware 10, custom 2.6.7 kernel, lilo, loads kernel very slowly entropyv Slackware 3 08-19-2004 06:06 PM
Updating a custom-compiled kernel mooreted Linux - Software 2 03-01-2004 09:55 AM
base kernel vs custom kernel with distros geyes30 Linux - Newbie 8 01-02-2004 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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