LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-18-2003, 05:11 AM   #1
ckamheng
Member
 
Registered: Apr 2003
Location: Malaysia
Distribution: Slackware 10.2
Posts: 75

Rep: Reputation: 15
can i use back 2.4.23 .config in 2.6.0?


I wonder i can use back the old 2.4.23 .config to compile the new 2.6.0 kernel?

Even i select the modules manually, i really dun know what should i compile into my new kernel.....so i had to select the old .config when i first compiled my 2.4.23 kernel a few weeks ago.

Is there any default setting for the 2.6.0 kernel so that i dun need to select it by my own?

so, can I?

Thanks for help.
 
Old 12-18-2003, 06:59 AM   #2
kc00l
Member
 
Registered: Oct 2003
Location: France/Italy
Distribution: Slackware Current
Posts: 83

Rep: Reputation: 15
If you know which hardware you got in your box, i.e. motherboard chipset, cpu architecture, video card, ethernet card, sound card etc. you shouldn't have any problems choosing the right stuff in your new 2.6.0 config.

If I may give you an advice, print your old .config on paper so you can check which parts of the 2.4.23 kernel you have compiled or built as modules or those which you didn't set at all.
Configuring your kernel from scratch is always a good learning step.

If you use "make menuconfig" you can find out (by pressing "?" key) to which parts of your old .config the different options you choose for the new .config refer to.

I don't know if this makes sense to you, since I can't guess your knowledge in terms of kernel compiling. Tell me if you need more detailed help, and posting your hardware configuration may help too.

Last edited by kc00l; 12-18-2003 at 07:03 AM.
 
Old 12-18-2003, 11:54 AM   #3
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15
if you do:

make oldconfig

with your old .config copied in, it will only ask you for the new options added in the new kernel and keep your old ones.
 
Old 12-20-2003, 05:55 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
It will work but it could cause problems. You would be better to start with the default 2.6.0 config file and work from there.

When I say it can cause problems I mean some options will not be available if you use a 2.4 config file. Some of the default settings could also cause problems in 2.6.0 if you don't catch and change them.
 
Old 12-20-2003, 09:14 PM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
ckamhang, there is a default configuration for the
2.6.0 kernel. i think the command is "make defconfig",
i'm not sure since i'm not on a linux system at the moment.
type "make help" to get a listing of all the options that
make gives you.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SENDMAIL config error: mail loops back to me (MX problem?) /jhannus Slackware 6 06-21-2011 05:44 AM
config error: mail loops back to me (MX problem?) linuxboy69 Linux - Networking 11 05-04-2011 02:52 PM
Webmin cannot handle Samba config files that use the config or include directives allelopath Linux - Networking 3 01-18-2005 09:36 AM
krfb --config; Format of config file? Need to allow ports below 1024. SavvyPlayer Linux - Software 0 10-16-2004 08:28 PM
Back button to Go Back? javamdk Linux - Newbie 2 07-08-2004 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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