Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using config file from different kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Starik
Apprentice
Apprentice


Joined: 08 Oct 2003
Posts: 168
Location: Munich

PostPosted: Tue Jun 19, 2007 1:13 pm    Post subject: Using config file from different kernel Reply with quote

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
View user's profile Send private message
Vlad.Sharp
Guru
Guru


Joined: 08 Dec 2004
Posts: 337
Location: Cambridgeshire, UK

PostPosted: Tue Jun 19, 2007 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum