LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-22-2003, 08:08 AM   #1
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Getting .config file for original kernel


I use Slackware and Redhat. I'm trying to build a kernel to get IPX and my soundcard working. I've tried about 4 times but something always seems to die. No matter what I config app I use, I never seem to get the right configuration and they all have different options selected.

Is there a way that I can get the .config file for the generic distribution included kernel? I'd like to have it then modify it to just add what I need. On both Slack and RH neither has a .config loaded for the original kernel so I can't use 'make oldconfig'.

TIA,
 
Old 12-22-2003, 11:41 AM   #2
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
Your old .config file in Slack 9.1 is in
/usr/src/linux-2.4.22

If you're using a file manager to look for it, you have to set view to show hidden files.
AFter you do a make mrproper, copy it to your new kernel tree then do make menuconfig.
Then all your current settings will be there and you can add/remove as needed.
 
Old 12-22-2003, 12:16 PM   #3
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Original Poster
Rep: Reputation: 30
I looked with Show Hidden Files on and didn't see it. I also did a 'locate' before I started my last kernel compilation and tried to load it in make xconfig. Neither showed a .config. Are you sure it's there? I've already made another one, so I it would have overwritten the old one.

Is there a place I can download the original .config now that I've written over the other one?

Thanks
 
Old 12-22-2003, 12:22 PM   #4
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
Well, it's been there on every install I've seen. I don't know of any place to download the original if you've overwritten it.
 
Old 12-22-2003, 12:28 PM   #5
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Original Poster
Rep: Reputation: 30
Oh I believe you! This wouldn't be the first time my laptop has done wierd stuff for me that nobody elses seems to do. Read my other posts about my NFS mounts that don't show up until I kill X and relogin.

I'll see if I can't reinstall Slack on an old clunker here and see what shows up. I'll copy from there.

Thanks again.
 
  


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 12:48 PM
error recompiling redhat linux 9 kernel 2.4.20-31.9 using original .config whipermr5 Linux - Software 7 12-22-2004 12:04 AM
original Sarge's kernel-source-2.6.5/.config ? yotam Debian 3 05-29-2004 07:17 PM
original config files Lempour Slackware 8 10-29-2003 11:56 AM
I lost rmed my kernel config file. Anyway to create one from the kernel? severedhead Linux - Software 3 07-12-2002 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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