LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-23-2010, 01:17 AM   #1
mlcboy01
LQ Newbie
 
Registered: Jul 2007
Posts: 3

Rep: Reputation: 0
Angry Compile time options /proc/config.gz


I have been given the administrative duties of a redhat box that was built by an airhead. Apparently he/she/it didn't bother to log the compile time options in the config.gz. Is there a way to reconstruct this file from the running kernel?
 
Old 04-23-2010, 02:57 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
So you believe this to be a custom kernel ?. Check the easy things first:
- do you have the source tree ?. Does it have a .config (hidden) in the top level of the tree.
- is there a suitable config-... in /boot ?

Else have a look in your source tree for ../scripts/extract-ikconfig.
 
  


Reply

Tags
kernel



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
CPU time Vs WALL time, Sometimes Walltime lesser than Cputime ? Options anto.anish Programming 2 10-17-2008 06:33 PM
vsftpd rpm compile time options bbolin Linux - Server 1 11-26-2006 10:10 AM
/proc/config uselpa Slackware 3 01-21-2005 12:59 AM
How to Find the Compile Time Options of a RPM Package spurgeonb Red Hat 0 11-13-2004 11:00 PM
/proc/config.z missing under 2.4.24 gry Linux - Distributions 2 02-02-2004 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration