LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 07-12-2002, 01:08 PM   #1
severedhead
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
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Try http://freshmeat.net/projects/biatch...62%2C866%2C253
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
manaskb
Member
 
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
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
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.
 
  


Reply


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


All times are GMT -5. The time now is 04:17 AM.

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