Jake Brownson wrote:
cd /usr/src/linux-newversion cp /proc/config.gz . gunzip config.gz mv config .config make oldconfig
This assumes that you already have a properly configured and running kernel with the /proc/config.gz option turned on (which is rarely enabled by default). That means that you have either
1) already done the work to determine what options to turned on, and you just want to clone your configuration.
2) installed Linux from a distro.
The problem with #2 is that such installation usually turn on almost every option and compile all the drivers as modules. That's not really a solution, because it relies on the boot scripts and stuff in /etc (e.g. /etc/modules.conf) to figure out which drivers to load.
-- Timur Tabi Staff Software Engineer timur.tabi@xxxxxxxxxxx
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/