custom kernel config

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Tue Jan 4 11:43:53 UTC 2005


On Tue, Jan 04, 2005 at 04:42:52AM -0500, Madison Kelly wrote

> Is there some way to base a new downloaded kernel's initial config
> on the running kernel? Thanks!

  IFF you have a copy of the .config file for your current kernel...
  - copy it over to /usr/src/linux
  - and execute the command "make oldconfig".  That will copy over what
    can be copied and use it to generate a new .config

  The process is not 100% guaranteed perfect, but it does most of the
initial grunt work.  Check your generated .config manually just to be
sure.  Of course, if you're running *ABSOLUTELY IDENTICALLY* configured
machines, and the same point-release of the same kernel tree, you could
use the old .config, but those constraints are hard to meet.

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list