LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2009, 10:20 PM   #1
jmite
Member
 
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Rep: Reputation: 36
gentoo: reset menuconfig to defaults?


Does anyone know how to set menuoconfig to its default setting? I messed it up and stupidly forgot to save a copy of the default settings, now I don't remember where it was and the kernel's it's making won't boot.

Thanks!
 
Old 01-09-2009, 10:28 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
You should have a .config backup copy in your kernel directory. Do your old
Code:
make menuconfig
and in load, put the backup/old version.
 
Old 01-09-2009, 11:06 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,843

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Depends what yo mean by "default". What did you start with ?.
 
Old 01-09-2009, 11:24 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
Removed. Irrelevant to gentoo.

Last edited by Quakeboy02; 01-10-2009 at 12:13 AM.
 
Old 01-09-2009, 11:32 PM   #5
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Quakeboy: Kernel config files are with the sources, in
/usr/src/linux
and are called just .config (or are in gentoo, LFS etc, debian its in /boot/ but that seems unique to debian, its not on any other box I have)

Last edited by jamescondron; 01-09-2009 at 11:33 PM. Reason: /usr/src/kernel -> /usr/src/linux
 
Old 01-09-2009, 11:40 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
jmite seems to be using Debian, so...
 
Old 01-09-2009, 11:45 PM   #7
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Sure, but the thread references gentoo
 
Old 01-10-2009, 12:07 AM   #8
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
Quote:
Originally Posted by jamescondron View Post
Sure, but the thread references gentoo
My mistake.
 
Old 01-10-2009, 03:41 AM   #9
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
You might find the config for the running kernel with: zcat /proc/config.gz > /usr/src/linux/.config
If not, I suggest setting:
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y

"make defconfig" makes a default config, but I'm not sure that's what you meant.
 
Old 01-10-2009, 05:03 PM   #10
jmite
Member
 
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Original Poster
Rep: Reputation: 36
Yeah, I've got the problem fixed to an extent with genkernel. I usually use Debian, but on various boxes I have ubuntu, debian and gentoo all isntalled, I'm using gentoo to make a minimalist video editing OS optimized for my computer.

Basically, I wanted it reset to whatever I started with, because I don't know what that was and what it's at now won't boot and I can't figure out why. But I've got it under control.

Thanks!
 
  


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
Defaults? aethiolas Linux - Newbie 2 12-21-2004 06:31 AM
Grub defaults TazLinux Linux - Hardware 1 11-24-2004 07:38 PM
KDE reset itself to defaults...why? glenn69 Linux - Newbie 0 08-10-2004 10:15 PM
Restoring ALSA mixer defaults in Gentoo? Seph64 Linux - Distributions 2 01-22-2004 01:01 PM
Defaults Lostman Linux - Newbie 5 11-04-2003 06:31 PM


All times are GMT -5. The time now is 02:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration