Results 1 to 4 of 4
Hey, Just want to throw this out there. Is there a program to auto config the kernel settings. Not as in install everything but a... bare option with what your ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-05-2012 #1
- Join Date
- Jun 2012
Just want to throw this out there. Is there a program to auto config the kernel settings. Not as in install everything but a... bare option with what your computer hardware can actually use.
For instance, say computer needs option a, b, c and yet doesn't need option d-g but can use h for kvm. Is there a program that can cross reference what your hardware specs are and optimize it for you I guess is what I am getting at that way you don't have unneccessary modules installed.
Thanks for any help, if not... I know what my next project is.
- 06-05-2012 #2
You can generate a .config from a running kernel, however.
(May take awhile to load)
- 07-09-2012 #3
Although it is not recomended you could use your .config file from an older kernel to build new kernel.
1. copy .config from previously configured kernel to .config.old to the root folder of new kernel.
2. run make oldconfig and set new options
Settings that have not changed from the old config get carried over.
Gentoo documentation do not recomend this, I have used this once or twice but to be honest configuring kernel for my machines has kinda become second nature to me. You get used to the settings you use often.
For more information about using old .config see the gentoo kernel config guide.
- 11-02-2012 #4
- Join Date
- Sep 2008
There are make's configuration targets that let you update existing config depending on what's in use modules wise.
> cd /usr/src/linux > make help
> make localmodconfig
> cp .config /etc/kernels/kernel-config-ARCH-VER-gentoo >genkernel --menuconfig all
Regarding oldconfig - i'm using it since 3.0 (now on 3.6) and didnt have any issues. OFC kernel config is quite 'personal' matter, so anything can happen to your config