Skip to contentSkip to conversation

How to extract CONFIG file for a kernel

DISCUSSION SK 3 participants 3 messages Dec 10, 2002

lore
Share & tools
lore

SK

author
#0 lore raw

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

#1 lore raw

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!

Quoted 21 lines · SK

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/

Signature · 6 lines
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
#2 lore raw
Quoted 6 lines · Richard B. Tilley (Brad)

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