The .config file holds the configuration information used when compiling your kernel. The contents of this file depend heavily on the hardware you are using; there is no such thing as a “generic” .config file that you can be sent by email and make use of.
If you are running a 2.6 series kernel, you can normally get the .config file for your current kernel configuration using this command
cat /proc/config.gz | gunzip > ~/.config
(this will create the file in your home directory).[/code]
You can also generate this file by installing the kernel source, then running:
to change to the kernel directory (replace dir
with wherever you put the source code), then one of the following:
make menuconfig #interactive menu
make configure # questions and answers
make xconfig # graphical configuration; you will need X running
Make sure that you read the documentation carefully before compiling your kernel, as you can easily end up making something that won't boot your computer. This isn't a disaster as you can still boot off your old kernel, however.
Hope that helps,
— Robert J. Lee