Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 6 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.

share|improve this answer

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

share|improve this answer
2  
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
1  
As of writing, this is enabled by default on Arch :) –  Navin Apr 25 '13 at 0:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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