LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-29-2002, 03:56 PM   #1
ngomong
Member
 
Registered: Apr 2002
Posts: 54

Rep: Reputation: 15
kernel settings


I want to recompile my kernel, tweaking things here and there. Is there a way to check my current settings? I don't want to mess with anything that's already working, and it would take forever for me to guess some of the current settings. (Like "caching block device access to MTD devices").
 
Old 05-29-2002, 04:26 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
There should be a file called "config" (or something with a similar name) in your /boot directory. It's the configuration file. Copy it to your source and you can use it. Remember that its' format is changing from version to version (new options etc), so it works only with similar one.
 
Old 05-30-2002, 02:02 AM   #3
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Rep: Reputation: 31
read kernel howto
 
Old 05-30-2002, 02:07 AM   #4
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
the file is called .config (dot infront) and with rh72+ they put it in /boot partition so you can check it out and change it and recompile, if your source is available
 
Old 05-30-2002, 02:09 AM   #5
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
btw in rh73 its called
/boot/config-2.4.18-4
 
Old 05-30-2002, 04:02 AM   #6
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
make oldconfig in /usr/src/linux directory. Then make menuconfig and your current settings should be set.
-NSKL
 
Old 05-30-2002, 05:54 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Or if you install kernel source from your distro's package, when you first run (x or menu)config it will have the default settings, so all you will have to alter is whatever it is you are going to build in or out of your kernel.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission Settings - Kernel 2.6.11.10 donk Slackware 11 05-23-2005 11:35 AM
Kernel compiling, how to get current settings? pit-peng Linux - Newbie 4 04-23-2005 01:03 PM
exporting the settings of a binary kernel aalawi Linux - General 1 10-15-2004 05:53 PM
idebus settings, new kernel schbond Linux - Newbie 8 07-25-2003 04:16 PM
lose settings in new kernel contrasutra Linux - Software 5 04-11-2003 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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