Download your favorite Linux distribution at LQ ISO.
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 12-12-2004, 01:45 PM   #1
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, 02:08 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
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 vanilla material.
Old 12-12-2004, 02:10 PM   #3
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)

and so on.


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

All times are GMT -5. The time now is 09:00 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
Open Source Consulting | Domain Registration