Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-12-2002, 01:08 PM   #1
LQ Newbie
Registered: Apr 2002
Posts: 27

Rep: Reputation: 15
Unhappy I lost rmed my kernel config file. Anyway to create one from the kernel?

I was cleaning up and accidentally removed my kernel config file. Is there any way to create one from the kernel...?
Old 07-12-2002, 01:52 PM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
this is a suit of security tools, there's a tool to recover removed files if it is possible.
Old 07-12-2002, 07:33 PM   #3
Registered: Jan 2002
Location: India
Distribution: Suse , Mandrake
Posts: 121

Rep: Reputation: 15
The config of the current running kernel can be found at /proc/config.gz
I believe this is created dynamically when the kernel is loaded.
Old 07-12-2002, 07:54 PM   #4
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Not every distro creates it though, I know SuSE does, but RH, for instance, doesn't. So it is a very distro oriented answer. I guess, severedhead learned a lesson how not to use rm. I saw somewhere among forensic tools (maybe at sourceforge) an app to recover deleted files, it has to do with the fact that when a files is deleted its inode is not reclaimed by the system instantly, so it might be still around. Danm, I think we had a discussion here about different file systems and somebody brought it up to our attention, try search forums for filesystems, ext3 vs reiserfs, gibbirish like "how to defragment linux", it is here, I am sure.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
.config file for 2.6 kernel sajjadc Linux - Distributions 8 10-14-2005 12:48 PM
.config file for new kernel plan9 Slackware 2 06-04-2004 07:02 PM
2.6.4 Kernel Config file Nappa Slackware 10 04-10-2004 12:14 AM
Can you create a config file from a running kernel? sparky8023 Linux - Newbie 3 12-03-2003 10:42 AM
Lost kernel .config file... severedhead Linux - Software 2 07-11-2002 06:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration