Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-03-2003, 01:36 PM   #1
Registered: Sep 2003
Location: Winnipeg, MB, CA
Distribution: LinuxMint
Posts: 101

Rep: Reputation: 15
Question Wondering about the Kernel

Hey People. I have a question about compiling the kernel. If I copy my old .config file from my existing 2.4.2 to the new 2.4.22 (as an example only), is there any point in this? From what I understand, it will use the configuration of my old kernel, and thus not use any of the new features that come with the new kernel. So, what's the point of using your old .config files? (I may be totally wrong here. If so, please tell me.)
Old 10-03-2003, 02:35 PM   #2
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I am not certain, but you may at least need to run 'make oldconfig' after copying your old .config file over; it'll use all the existing settings from your old .config file, and add default settings for anything new. I could be wrong, though... at least this way, you can keep configuration settings that you know you need (unless they've been removed from the kernel since then).
Old 10-03-2003, 02:36 PM   #3
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
When you are compiling the kernel, you have a choice of either starting from scratch, or using your existing .config as the default starting point. In either case though, you are free to make any changes you wish, including configuring all those cool new features. So, if you are really asking "Will using my existing .config file prevent me from making any changes to the existing and/or any new parameters?" the answer is No.

Basically, from my point of view, using the existing .config file is a huge time saver, and it minimizes the chances that in your enthusiasm to compile that brand spanking new kernel, you inadvertently turn off or forget to set a particular parameter, which in turn causes problems for you later. In other words, your existing .config file is your friend - it can really help you out of a jam if the recompile doesn't work out quite the way you expect. Lastly, along these lines, it's always a good idea to keep copies of both your existing kernel and its .config file, just in case you need to restore things. Trust me on that point. -- J.W.


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
Just wondering!!!!!!!!!!!!!!!! The_Landlord Linux - Newbie 7 01-30-2005 02:40 PM
Just wondering wr3ck3d Linux - Software 3 05-01-2003 06:58 PM
I was just wondering... cclavey *BSD 7 04-17-2003 06:44 PM
Just wondering Tayste_2000 Linux - Newbie 5 07-06-2002 02:04 PM
Just wondering this ... kato678 Linux - General 1 06-28-2002 03:05 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 AM.

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