LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Getting .config file for original kernel (https://www.linuxquestions.org/questions/linux-software-2/getting-config-file-for-original-kernel-128043/)

ghight 12-22-2003 08:08 AM

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,

timdsmith 12-22-2003 11:41 AM

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.

ghight 12-22-2003 12:16 PM

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

timdsmith 12-22-2003 12:22 PM

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.

ghight 12-22-2003 12:28 PM

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.


All times are GMT -5. The time now is 11:45 PM.