LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel Config (https://www.linuxquestions.org/questions/linux-software-2/kernel-config-207285/)

0x86 07-20-2004 02:00 AM

Kernel Config
 
I am recompiling my kernel and someone told me the easiest way to do that would be to copy my current config and go from there. How do I do that? Where is my current config stored?

ganja_guru 07-20-2004 03:29 AM

its located at /usr/src/linux/.config

linux is a link to the current kernel bieng used...so if ure using kernel 2.4.22, then this command will copy the .config from the 2.4.22 kernel directory

$ cp /usr/src/linux/.config /usr/src/newkernel

the other easier way to do it is to run the

$ make oldconfig

command, which will read your current config and only ask u for any changes or new drivers which are available in the new kernel.


All times are GMT -5. The time now is 12:23 AM.