View previous topic :: View next topic |
Author |
Message |
Starik Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 08 Oct 2003 Posts: 168 Location: Munich
|
Posted: Tue Jun 19, 2007 1:13 pm Post subject: Using config file from different kernel |
|
|
Hi,
from the internet I've found a ready config file for configuring my laptop kernel. But the file relates to 2.6.19-rc5-mm2, the kernel I want to use is 2.6.20-gentoo-r8. Is there a possibility to load a new kernel with that config or do I have to do my config by hand?
Thanks a lot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vlad.Sharp Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1180819560467a8bee81a7c.jpg)
Joined: 08 Dec 2004 Posts: 337 Location: Cambridgeshire, UK
|
Posted: Tue Jun 19, 2007 1:24 pm Post subject: |
|
|
Yes. Assuming your kernel source is symlinked to /usr/src/linux, copy the .config you found to /usr/src/linux and type "make oldconfig". Accepting the defaults will probably be safe, but after "make oldconfig" is finished, do a `normal` "make menuconfig" to check.
"make oldconfig" just updates the kernel config file to include new options available in the source (instead of using an old config file with a new kernel). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|