想到这个问题,简单g一下,得到3个方法,未及验证:
the kernel-sources bring a script in the scripts-folder
called "extract-ikconfig" that can extract the config
from a bzImage. thanks everyone!
/proc/config.gz
In Debian, at least, the config file for every kernel installed is in the /boot directory with the kernel.