LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 12-12-2004, 02:45 PM   #1
Eklipz
Member
 
Registered: Sep 2004
Posts: 85

Rep: Reputation: 15
Kernel Config File Questions


If I were to have a 2.6.7 kernel running well under slackware, would I be able to take the working .config file, and transfer it to a Debian machine and use that as my config file? If I can, what are the chances of it working on one machine and not the other, assuming all hardware in the machines is identical, or that they are the same machine. Also, I have heard Debian kernels have some sort of "patches". What does that mean? Does that mean that if I get a vanilla kernel and build it from source, I have to patch it?
 
Old 12-12-2004, 03:08 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
it depends what kernel versions they are. but assuming you mean the same version, then again it's how much the distro vendors have changed it, many will apply custom patches etc. Then again, these are normally very subtle, and at worst a nice added extra isn't there on the system you copy it to. generally it should work fine, especially if it's pure kernel.org vanilla material.
 
Old 12-12-2004, 03:10 PM   #3
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
The main worry is that you shouldn't transfer a .config file from one kernel version to another without using make oldconfig . This probably includes "patched" kernels. Just do:

make mrproper
copy .config into the kernel source
make oldconfig
make menuconfig (if you want to look things over)
make

and so on.
 
  


Reply


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
.config file for 2.6 kernel sajjadc Linux - Distributions 8 10-14-2005 01:48 PM
.config and kernel questions Machiaveli Slackware 5 01-22-2004 07:55 AM
Eterm Questions and Config??? post your .cfg file??? boutrosboutros Linux - Software 0 01-19-2004 05:14 PM
Config file distribution & NFS (2 questions) ghight Linux - Networking 1 12-22-2003 02:31 PM
I lost rmed my kernel config file. Anyway to create one from the kernel? severedhead Linux - Software 3 07-12-2002 08:54 PM


All times are GMT -5. The time now is 08:51 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration