Help answer threads with 0 replies.
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 03-11-2002, 02:23 PM   #16
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15

I think when you put the .config file back after make mrproper command and then give a make oldconfig he uses the .config that is in /usr/src/linux

Last edited by Sylhouette; 03-11-2002 at 02:26 PM.
Old 03-13-2002, 01:37 AM   #17
LQ Newbie
Registered: Mar 2002
Distribution: redhat
Posts: 11

Rep: Reputation: 0
why make oldconfig?

To give one answer to your question of why make oldconfig is a separate command from make xconfig or make config, I reiterate my former problem. My system worked fine from the original cd--all the hardware was automatically recognized and functioned correctly. I wanted to examine the kernel config of my current, pre-compiled kernel, but there was no .config file present. If I just installed the source for my current kernel and typed make menuconfig or make xconfig, I'd get a .config with quite a bit of stuff exempted from the kernel-- one that clearly does not resemble the configuration of my current kernel and that does not even contain all the things I need to have my system work like I want. To get a .config file that does match my kernel, I can simply type make oldconfig (As a newbie, I find it easier turning off things I know I don't need vs trying to figure out what all needs to be turned on). As stated by previous posters, it's still a good idea to go in and turn off those things you know you definately don't need. The kernel will be much leaner, more responsive, and the compile time will be gobs quicker.

Last edited by kernelclink; 03-13-2002 at 01:39 AM.
Old 03-13-2002, 12:41 PM   #18
Registered: Feb 2002
Location: Erie, CO
Distribution: Red Hat 7.1
Posts: 94

Rep: Reputation: 15
makes sence...but not exactly...

Kernelclink....what you said about "make oldconfig" makes perfect sence (that's what I thought its main purpose was)...but that's not how it is happening in my system (RH 7.1).

When I run "make oldconfig", all it does is run through the every question about my system (with anwsers of Y or N). Half of the questions I know nothing about, so I answer as best as I could. But at start up (after I have compiled), my system is hosed.


Is it suppose to ask you questions?


Is it suppose to spit out a .config file without having to ask any question?

From your post, it sounds like it will ask you questions about your system.

Therefore, my question is, why not just go into xconfig, or menuconfig and answer those very same questions there? Why have make oldconfig if all its gonna do is ask you questions about your system?
Old 03-13-2002, 01:52 PM   #19
LQ Newbie
Registered: Mar 2002
Distribution: redhat
Posts: 11

Rep: Reputation: 0
make oldconfig

Well, when I performed the command make oldconfig it just belched out the .config file. According to the RedHat site, it is, indeed, supposed to be non-interactive.

"make oldconfig This is a non-interactive script that will set up your configuration file to contain the default settings. If you're using the default Red Hat kernel, it will create a configuration file for the kernel that shipped with Red Hat Linux for your architecture. This is useful for setting up your kernel to known working defaults and then turning off features that you don't want."

taken from

Last edited by kernelclink; 03-13-2002 at 01:54 PM.


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
kernel 2.6.9-5 compile error on RedHat ES 4 TotalDefiance Red Hat 1 10-18-2005 09:37 AM
HELP: RedHat Kernel 2.6.9 Compile Problem. Please help me. strato Linux - Software 1 11-20-2004 10:27 PM
How to compile 2.6 kernel on RedHat Ninja_212 Red Hat 1 03-08-2004 02:18 AM
how to compile the redhat kernel mmoohh Linux - Newbie 5 10-21-2003 07:26 PM
How can I compile a new kernel for Redhat 9? Sgaileach1 Linux - Software 6 07-28-2003 08:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration