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?
Asked
Active
Viewed 2.0k times
4

dongle26
- 179
- 1
- 1
- 5
2 Answers
0
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
).

quanta
- 51,413
- 19
- 159
- 217