Results 1 to 4 of 4
I successfully compiled my first kernel a couple of days ago (I'm building LFS), but wasn't 100% sure exactly which options I should choose from the compilation menu. Now that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-25-2005 #1
Finding kernel compilation options
I successfully compiled my first kernel a couple of days ago (I'm building LFS), but wasn't 100% sure exactly which options I should choose from the compilation menu. Now that I am becoming more familiar with the options I should have chosen I would like to find out if I actually included them. Is there a way I can examine the compiled kernel to see what I included, or is the only way to recompile with the correct options chosen??
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 07-26-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Hm.. do you still have the kernel sources you used for that specific kernel? If so, go to that dir and view the ".config" file (with a dot, yes, that's because it's a hidden file).
On 2.6 kernels, there's an option that it puts the kernel config file in /proc/config.gz or something like that.serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 07-27-2005 #3
It was a 2.6 kernel, but it didn't put anything into /proc, and I couldn't find *config.gz* anywhere on my drive.
All is good though, cos I found the .config file in the sources directory.
Thanks for your help.Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 07-27-2005 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
You'll need to compile the kernel with CONFIG_IKCONFIG_PROC support for it to put config.gz in /proc.


Reply With Quote
