Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-04-2004, 09:57 AM   #1
Senior Member
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
is there any way to get the configuration of an pre-compiled kernel.

Sometimes you need to build additional kernel modules, for example the get your nvidia card working or to build the alsa modules. But these can only be compiled if you have the kernel sources, and you need them configured exactally like the kernel you are running. For this you will need the .config file in the kernel source directory, but with most distro's this file is non existant. I you just configure the kernel sources according to your whishes, you will get modules errors when you try to insert your new modules.
Other then installing a new self compiled kernel and then installing the modules, how do you get around this?
Old 01-04-2004, 10:11 AM   #2
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
I don't know about other distros, but RH ships the config files used with the kernel source files (it's under /usr/src/linux-2.4/configs IIRC -- I am on windoze now). There you will find configs for athlon, SMP etc.

The trick is to run 'make mrproper' after copying the desired config file to .config on /usr/src/linux-2.4. (it took me too many failed attempts to figure that out...). I am not sure this is really needed, but 'make oldconfig' right afterwards should do more good than bad. After these, go for kernel-options tweaking.

Old 01-04-2004, 10:12 AM   #3
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
Correct me if I'm wrong, but if I look in /boot, there are kernel config file(s). I've always assumed these are associated with the pre-compiled kernels that ship with the distro. try copying to your build directory and go from there.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom kernel vulnerabilities verus Slack pre-compiled tank728 Slackware 1 09-04-2004 01:22 PM
pre-compiled 2.6.6 kernel (fedora core 2) with 8k stack? jeffreybluml Linux - Newbie 2 06-09-2004 02:30 PM
installing opera tar.gz pre-compiled binary ronss Linux - Software 3 09-05-2002 09:05 AM
installing opera tar.gz pre-compiled binary ronss Linux - Software 1 09-05-2002 08:16 AM
configuration of pre-compiled kernel sadeer Linux - Software 1 06-14-2002 07:25 AM > Forums > Linux Forums > Linux - General

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