LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2013, 08:43 PM   #1
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Any way to get the kernel .config from a running system?


I really, really dont feel like going through the menuconfig for this new machine. Does anyone know how to pull the current kernel .config from my current running system?

Or, has anyone put together a .config repository for newer systems yet?

Thanks guys.

I know there is another post out there regarding this: but its from 2007, so please excuse me asking again for more recent info.

Last edited by szboardstretcher; 07-25-2013 at 08:44 PM.
 
Old 07-25-2013, 08:45 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Original Poster
Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Got it. ubuntu 13 = /boot/config*

Thanks.
 
Old 07-25-2013, 08:46 PM   #3
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Look for a file called /proc/config.gz. Not all kernels are compiled with the CONFIG_IKCONFIG_PROC feature (I don't see why), but that file will contain a zipped version of the .config file used to compile the kernel.
 
Old 07-26-2013, 08:22 AM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Original Poster
Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Quote:
Originally Posted by Ser Olmy View Post
Look for a file called /proc/config.gz. Not all kernels are compiled with the CONFIG_IKCONFIG_PROC feature (I don't see why), but that file will contain a zipped version of the .config file used to compile the kernel.
Thank you. This is correct -- ubuntu does not compile the kernel with that option :/

But they do put it in /boot/config* which is acceptable.

Thank you!
 
  


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
read kernel config from running kernel t0bias Programming 5 01-23-2014 06:20 AM
seeking tools: running system to kernel config SaintDanBert Linux - Hardware 6 09-24-2010 10:13 AM
Having issue running system-config-packages using X11 Forwarding ciphyre Red Hat 2 09-13-2008 07:48 AM
Display problems running the system-config-printer tool donraja Linux - General 1 09-17-2006 09:01 PM
pull compile config out of running kernel zatar042 Linux - Kernel 1 07-08-2006 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:20 AM.

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