| View previous topic :: View next topic |
| Author |
Message |
Chandra Tux's lil' helper


Joined: 26 Feb 2005 Posts: 143 Location: Asheville
|
Posted: Wed Sep 06, 2006 2:59 am Post subject: Where can I find the genkernel .config file? |
|
|
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:to recreate a similar configuration??
Thank you... _________________ Dell OptiPlex GX260
2.0 GHz / Celeron / 512 MB RAM
Gentoo 2.6.22 |
|
| Back to top |
|
 |
gegen n00b


Joined: 11 Dec 2002 Posts: 10 Location: Argentina - Santa Fe
|
Posted: Wed Sep 06, 2006 4:28 am Post subject: Where can I find the genkernel .config file? |
|
|
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 |
|
 |
yabbadabbadont Advocate


Joined: 14 Mar 2003 Posts: 4790 Location: 2 exits past crazy
|
Posted: Wed Sep 06, 2006 4:40 am Post subject: |
|
|
| 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". |
|
| Back to top |
|
 |
mikegpitt Advocate


Joined: 22 May 2004 Posts: 3194
|
Posted: Wed Sep 06, 2006 5:56 am Post subject: |
|
|
| You may also want to check /etc/kernels/. |
|
| Back to top |
|
 |
wizard69 Apprentice


Joined: 22 Sep 2003 Posts: 178 Location: Berlin
|
Posted: Wed Sep 06, 2006 6:21 am Post subject: |
|
|
| 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 |
|
 |
Chandra Tux's lil' helper


Joined: 26 Feb 2005 Posts: 143 Location: Asheville
|
Posted: Wed Sep 06, 2006 11:46 am Post subject: |
|
|
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 |
|
 |
|