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

I am rebuilding a custom kernel. I am on Windows, what is the quickest way to grab the .config file for the CentOS RHEL linux kernel (for make oldconfig). I can't find it preinstalled in the Linux system (e.g. no /proc/config.gz) I am assuming it is in a source RPM somewhere. Do you have a link?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

It's /boot/config-$(uname -r).

share|improve this answer

I can't find it preinstalled in the Linux system (e.g. no /proc/config.gz)

Because you haven't enabled CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC. The Linux kernel configuration is also found in the kernel source /usr/src/linux/.config (in CentOS, it is /usr/src/kernels/$(uname -r)-$(uname -m)/.config).

share|improve this answer

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.