LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   is it possible to extract config of system???? (https://www.linuxquestions.org/questions/linux-newbie-8/is-it-possible-to-extract-config-of-system-650247/)

webquinty 06-19-2008 02:38 AM

is it possible to extract config of system????
 
Hello,

I have problem to compile new kernel for geode LX.
I look for defconfig file configuration but I do not find it.
My doubt is if it is possible to extract configuration from a runtime system??? In a few words, I have installed slackware in Geode and it works fine, so is there any command to extract a config file from system???

best regards
John Martin

jomen 06-19-2008 03:03 AM

Code:

zcat /proc/config.gz
?

webquinty 06-19-2008 03:58 AM

Quote:

Originally Posted by jomen (Post 3189023)
Code:

zcat /proc/config.gz
?

Thanks a lot jomen.

jomen 06-19-2008 04:16 AM

you're welcome!

This is kind of standard today - I added the question-mark because it is an option one can enable/disable when building the kernel - so it was possible that it would not work for you.

webquinty 06-19-2008 04:41 AM

Quote:

Originally Posted by jomen (Post 3189068)
you're welcome!

This is kind of standard today - I added the question-mark because it is an option one can enable/disable when building the kernel - so it was possible that it would not work for you.

I am lucky, because command works fine.

Thanks

nx5000 06-19-2008 04:55 AM

You can even extract offline the config from a linux kernel image (as long as config support was enable) with the script :
/usr/src/linux/scripts/extract-ikconfig <name of image>


All times are GMT -5. The time now is 03:05 AM.