Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where can I find the genkernel .config file?
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
Chandra
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2005
Posts: 143
Location: Asheville

PostPosted: Wed Sep 06, 2006 2:59 am    Post subject: Where can I find the genkernel .config file? Reply with quote

Hi, all...

I've been running on genkernel for a short while, but I've not emerged gentoo-sources. There is no /usr/src/linux content.

Where might genkernel keep it's .config file? Is a copy of it in /proc/config.gz?

To manually configure a kernel, but start off with all the settings I have in genkernel, could I unzip /proc/config.gz and use that with:
Code:
make oldconfig
to recreate a similar configuration??

Thank you...
_________________
Dell OptiPlex GX260
2.0 GHz / Celeron / 512 MB RAM
Gentoo 2.6.22
Back to top
View user's profile Send private message
gegen
n00b
n00b


Joined: 11 Dec 2002
Posts: 10
Location: Argentina - Santa Fe

PostPosted: Wed Sep 06, 2006 4:28 am    Post subject: Where can I find the genkernel .config file? Reply with quote

You could try genkernel with --save-config option, after that, configuration file will be placed in /etc/kernels/

Hope it helps.
_________________
Never make any mistaeks.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Sep 06, 2006 4:40 am    Post subject: Reply with quote

If /proc/config.gz is there, (it should be), then just "zcat /proc/config.gz > /usr/src/linux/.config" and run "make oldconfig". You need to have emerged gentoo-sources before you do that though. Also, if the version of the genkernel kernel is different from the one installed by emerging gentoo-sources, you will probably get asked a lot of questions when you "make oldconfig".
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Wed Sep 06, 2006 5:56 am    Post subject: Reply with quote

You may also want to check /etc/kernels/.
Back to top
View user's profile Send private message
wizard69
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 178
Location: Berlin

PostPosted: Wed Sep 06, 2006 6:21 am    Post subject: Reply with quote

There is also a default kernel config if no config is found under /etc/kernels. Genkernel wil use /usr/share/genkernel/x86/kernel-config-2.6
Back to top
View user's profile Send private message
Chandra
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2005
Posts: 143
Location: Asheville

PostPosted: Wed Sep 06, 2006 11:46 am    Post subject: Reply with quote

There are no /etc/kernels or even /usr/share/genkernel directories...

yabbadabbadont wrote...
Quote:
If /proc/config.gz is there, (it should be), then just "zcat /proc/config.gz > /usr/src/linux/.config" and run "make oldconfig"


I do have /proc/config.gz, so I'll give that a try...

Thanks!

[Edit] Voila! Success using /proc/config.gz !
_________________
Dell OptiPlex GX260
2.0 GHz / Celeron / 512 MB RAM
Gentoo 2.6.22
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