Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-23-2005, 11:26 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
kernel compile options

does anybody know a way to check the compile options of a kernel after the compilation?

thanks in advance
Old 02-23-2005, 11:53 PM   #2
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
open the .config file in a text editor
run make menuconfig (or xconfig etc..) from running kernels source tree root.

Both these options assume you haven't changed and saved anything new in the config since the last full compile.
Old 02-23-2005, 11:54 PM   #3
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 32
the config options are stored in a file called .config in the kernel source directory. Like above poster said easiest way is through make menuconfig or make xconfig.
Old 02-24-2005, 12:05 AM   #4
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
There's also an option (at least in 2.6) for the kernel to display its gzipped config file in /proc/config.gz. It's not enabled by default, though, and no distro I've seen enables it.
Old 02-24-2005, 01:01 AM   #5
LQ Newbie
Registered: Feb 2005
Posts: 2

Original Poster
Rep: Reputation: 0
kernel options

i should've mentioned that this is an out-of-the-box redhat 8 installation, sorry. i can't locate any .config file.
any idea if the 2.4.18-14 kernel shipped with redhat 8 was compiled with "IP: advanced router" and "IP: policy routing" options? the only other option would be to compile a 2.6 kernel.
any advice?

thanks again


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
Dell 600m Kernel Compile Options giddyupman Slackware 0 10-21-2004 12:17 PM
./Compile options for Slackware redjokerx Slackware 6 08-31-2004 03:33 PM
Default options for kernel compile... guddler Mandriva 2 03-19-2004 06:12 PM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 05:23 AM
Kernel compile options Sammy2ooo Linux - General 4 11-26-2003 08:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 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