Automating kernel configuration

Daniel Roethlisberger daniel at
Mon Mar 5 06:14:50 PST 2001

Randolph S. Kahle <RandyKahle at> wrote:
> Is there a way to save the answers in a file and run
> the configuration against that?

Kernel configuration is stored in /usr/src/linux/.config -- just
copy this file away before doing a make mrproper, and copy it
there again before compiling or doing a make menuconfig. This
works across different kernel versions, but you should make sure
that you check manually for new kernel options before compiling.


   Daniel Roethlisberger <daniel at>
   PGP Key ID 0x8DE543ED with fingerprint
   6C10 83D7 2BB8 D908 10AE  7FA3 0779 0355 8DE5 43ED

Unsubscribe: send email to lfs-discuss-request at
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list