2002-12-10 18:40:26

by SK

[permalink] [raw]
Subject: How to extract CONFIG file for a kernel


Is there any way to extrace the CONFIG file
used to compile a kernel. I have 2.4.18-14 kernel
from RedHat and I want to know the config options
used for compiling that kernel.

Any ideas..?
Thanks
Santhosh



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


2002-12-10 18:46:46

by Brad Tilley

[permalink] [raw]
Subject: Re: How to extract CONFIG file for a kernel

If you have RH's /usr/src directory installed, you can cd to
/usr/src/linux-2.4/configs and pick from several pre-built config files.
they work nicely. I use them to build kernel.org kernels. It's *much*
easier to make a few config changes to their config file than starting
from scratch. They tend to be highly modular though... some people don't
like this.

Good luck!

On Tue, 2002-12-10 at 13:48, SK wrote:
>
> Is there any way to extrace the CONFIG file
> used to compile a kernel. I have 2.4.18-14 kernel
> from RedHat and I want to know the config options
> used for compiling that kernel.
>
> Any ideas..?
> Thanks
> Santhosh
>
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Richard B. Tilley (Brad), System Administrator & Web Developer
Virginia Tech, Office of the University Bursar
Phone: 540.231.6277
Fax: 540.231.3238
Page: 557.0891
Web: http://www.bursar.vt.edu

2002-12-10 19:06:10

by Arjan van de Ven

[permalink] [raw]
Subject: Re: How to extract CONFIG file for a kernel

On Tue, 2002-12-10 at 19:54, Richard B. Tilley (Brad) wrote:
> If you have RH's /usr/src directory installed, you can cd to
> /usr/src/linux-2.4/configs and pick from several pre-built config files.
> they work nicely. I use them to build kernel.org kernels. It's *much*
> easier to make a few config changes to their config file than starting
> from scratch. They tend to be highly modular though... some people don't
> like this.

in addition there's a copy of the current config as
/boot/config-`uname -r`