Click to See Complete Forum and Search --> : Old config files


Taqwus
05-18-2004, 06:54 PM
Is there a way to get the older config files if you did not back them up

DSwain
05-18-2004, 07:44 PM
regrettably none that i know of, unless you have some good software which can recover data from a formatted hard disk. what is the problem exactly? there may be chance to save those config files easy.

blobaugh
05-18-2004, 07:46 PM
what distro are you using? i use RedHat and when you change a config file it usually saves the old one as configname.old or config~

Icarus
05-18-2004, 07:51 PM
The 2.6 kernels have the option to save it's config in /proc/config.gz

If you use GenKernel it uses the configs from /etc/kernels

blobaugh
05-18-2004, 07:54 PM
icarus is that only for the kernel though? i think what s/he wants is something for all the configs like what RH does most of the time.

a good idea with config files is to always make a copy of the file and put it in a safe place before you change it, or upgrade or do anything that may cause it to get messed up or lost

Taqwus
05-18-2004, 08:23 PM
I am using Fedora I
I tried to recompile my kernel to get Madwifi to work (Was getting no rules error) and when I recompiled I lost the use of my USB mouse (it still gets power though)
I can boot into my old config and I would like to use that one to remake a new stripped down kernel image

blobaugh
05-18-2004, 08:29 PM
are you wanting to use the old kernel or the one you lost?

MAKE SURE before you do any to BACKUP, it may be painful or not, but i gaurantee that if something goes wrong that you will be grateful you did

Taqwus
05-18-2004, 08:32 PM
When I boot up I can still go back to 2188, 2174, or 2115 kernels, I just want to use the configuration settings for the 2188 kernel to make me a custom one
I should have backed up, but I am not sure what config exactly to back up

binaryDigit
05-19-2004, 12:57 PM
this is a long shot, but maybe if you look at the one of the SRPM's for the kernel you might find the config file.
just a guess, like i said probably a long shot.

Icarus
05-19-2004, 01:02 PM
Originally posted by blobaugh
icarus is that only for the kernel though? i think what s/he wants is something for all the configs like what RH does most of the time.

a good idea with config files is to always make a copy of the file and put it in a safe place before you change it, or upgrade or do anything that may cause it to get messed up or lost This is the "Kernels and Modules" forum ;)

It is ALWAYS more then a good idea to backup any configs you change, that way if you mess something up just copy the good one back

I installed the kernel-source for my Fedora system, but it didn't contain any .config

I did not try to "make oldconfig" though...

Taqwus
05-19-2004, 01:59 PM
Well I ended up having to reinstall since I was fidgeting with my mouse. I lost use of m touchpad and when i got my mouse to work touchpad never did agian and as soon as you hit the touchpad the keyboard stops working
So I reinstalled a new
now I dont know what takes longer: Installing it, or running apt-get upgrade
This time I will back it up though

bwkaz
05-19-2004, 07:01 PM
Some distros put the kernel configuration file into /boot, also...

Taqwus
05-19-2004, 07:30 PM
I got Fedora back installed with kernel 2115
when I went to the /usr/src/linux-2.4 directory there was no .config file
I was able to find it in the /boot area but it wasnt called .config it had the fully blown file name
Also I am trying to use up2date to update my kernel to 2188, but it keeps crashing when it gets to skipped apps. Is there a way to manually get it to update the kernel
Or can I download the source for a higher kernel module and recompile it to work for this one