How do I check what options are compiled into a linux kernel if I don't have access to the /boot/config-* file that's left over?

link|improve this question

79% accept rate
feedback

2 Answers

up vote 2 down vote accepted

Unless your kernel was built with CONFIG_IKCONFIG_PROC, which would make the config available in /proc as sysadmin1138 mentioned above, you're pretty much out of luck. Debian and RH based kernel packages do, however, generally install a config-$version file in /boot. So unless it's a custom kernel, it should be available there.

link|improve this answer
feedback

I believe /proc/config.gz contains the .config file the kernel was compiled with.

link|improve this answer
That's only available if CONFIG_IKCONFIG_PROC was set when the kernel was built. Doesn't seem to be there by default on RHEL or Ubuntu. – Insyte Aug 6 '09 at 17:19
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.