LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-22-2002, 12:31 PM   #1
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Rep: Reputation: 30
forgot to make mrproper - how to rebuild config?


I compiled a kernel on a machine the other day and forgot to make mrproper, so the new kernel was missing a whole load of stuff...

so I'm now in a situation where I have lost the old config with all the old network settings and stuff.. does that mean that I now have to go through all the menuconfig options to rebuild the kernel as I think it should be?

I'm guessing that I have to do this, because the current config is lacking loads of stuff..

er I think I just answered my own question, unless someone can tell me otherwise !!

christo
 
Old 12-29-2002, 09:14 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Hello! I was just dorkin around a bit with my kernel, I think you might be able to load the .config file from:
/lib/modules/<kernelversion>/build/include

It's worth a shot at least

Cool
 
Old 12-30-2002, 12:35 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,751
Blog Entries: 4

Rep: Reputation: 76
I may be wrong but doesn't "make oldconfig" use the settings from the last time you did the menuconfig?

Fom kernel README:
"make oldconfig" Default all questions based on the contents of your existing ./.config file.
 
Old 12-30-2002, 06:32 PM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yeah, but the last time they ran menuconfig they didn't get it right, and they want to make it old old if that makes sense. At least that's how I read it

Cool
 
Old 12-31-2002, 12:55 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,751
Blog Entries: 4

Rep: Reputation: 76
So do "make oldoldconfig"
 
Old 12-31-2002, 01:25 PM   #6
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
look in /boot

there should be the config-2.4??? for your kernel

I don't think you not running make mrproper has anything to do with things not working, I think you just got the wrong config file


that's if make oldoldconfig does not work for some reason

:-)
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
make mrproper needed? Samoth Linux - General 5 11-28-2005 07:07 AM
make mrproper error pazkaw Linux - Newbie 1 04-02-2005 11:19 AM
Use of 'make mrproper' and 'make clean'.... fenice1976 Linux - Software 6 05-25-2004 05:18 PM
'make mrproper' problems Zeebro Linux - Newbie 11 07-06-2003 04:44 AM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 06:48 PM


All times are GMT -5. The time now is 03:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration