LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kernel settings (https://www.linuxquestions.org/questions/linux-general-1/kernel-settings-22107/)

ngomong 05-29-2002 03:56 PM

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").

Mara 05-29-2002 04:26 PM

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.

sakeeb 05-30-2002 02:02 AM

read kernel howto

Noerr 05-30-2002 02:07 AM

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

Noerr 05-30-2002 02:09 AM

btw in rh73 its called
/boot/config-2.4.18-4

NSKL 05-30-2002 04:02 AM

make oldconfig in /usr/src/linux directory. Then make menuconfig and your current settings should be set.
-NSKL

MasterC 05-30-2002 05:54 AM

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.


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