Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Fetching config from an active 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
Salius
n00b
n00b


Joined: 26 Sep 2006
Posts: 59
Location: ~/

PostPosted: Sat May 12, 2007 7:54 pm    Post subject: [Solved] Fetching config from an active kernel Reply with quote

Hi,

Okay so perhaps the topic is a poorly worded but here is where I stand - in a fit of stupidity I cleaned out my entire /usr/src/ folder without thinking about my current .config (I swear I had it backed up :() and it is now lost.
Not wanting to sit around and try to remember each and every option I require to get my laptop functioning under Linux, I have come here.

So to ask: is there a utility or method to build a new .config from the kernel I am currently booted into?

Somehow I doubt it, but last ditch effort.
Thanks.


Last edited by Salius on Sat May 12, 2007 8:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat May 12, 2007 7:58 pm    Post subject: Reply with quote

try zcat /proc/config.gz >> kernel-config.txt
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Salius
n00b
n00b


Joined: 26 Sep 2006
Posts: 59
Location: ~/

PostPosted: Sat May 12, 2007 8:01 pm    Post subject: Reply with quote

That worked. Gotta love those willing to save me from myself.
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