Buickman
02-22-2007, 06:29 PM
Is there a .config for each kernel image? I wanted to see if there was a way I could use make menuconfig on my current one to see how it's set up.
llama
04-15-2007, 07:43 PM
Yes there is. I'm assuming you're still on Ubuntu.
Open a terminal and type this:
ls /boot/config-`uname -r`
You can cd to /boot and see that there is a corresponding config file for each installed kernel. the command embedded in the backticks returns the current running kernel's name.
To build a kernel with the options & modules in the currently running kernel-image you would run `make oldconfig` after placing the /boot/config`uname -r` file in your /usr/src/linux directory (after getting the kernel sources).
I hope that makes some sense. Here's a great how-to page for compiling your kernel the Debian way using the pristine sources from kernel.org:
http://www.howtoforge.com/kernel_compilation_ubuntu
I usually just grab the linux-source package using apt-get.