LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 07-02-2004, 12:51 AM   #1
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Rep: Reputation: 15
compile a new kernel with setting default to current kernel


I am running redhat linux 9.0 pro.

I want to compile a new kernel. As there are so many configuration options that i need to choose, so i'm afraid that i may choose wrong value for some options.

So is there any way that when i run the menuconfig command, all the options are default to my current setting ?

Thanks,
 
Old 07-02-2004, 01:05 AM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
In your /usr/src/linux directory, you should find a subdirectory called configs. In this directory you should be able to find the config file for your default kernel (the files have descriptions that will help you pick appropriately).

Copy the appropriate file from this directory to the /usr/src/linux directory as .config. The menuconfig tool will use it to set your defaults.

There is pretty good step by step documentation in the RH manuals - available on the RH website.
 
Old 07-02-2004, 03:41 AM   #3
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
Thanks so much.
 
Old 07-02-2004, 08:49 AM   #4
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
Oh! i need your help again.

I went to redhat website to look for the manual u mentioned but couldn't find.

so could u please give me the link ?

thanks,
 
Old 07-02-2004, 01:25 PM   #5
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
https://www.redhat.com/docs/manuals/...om-kernel.html
 
Old 07-06-2004, 12:14 AM   #6
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
Thanks again for your help.
 
Old 07-06-2004, 12:32 PM   #7
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
You are welcome.
 
  


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
kernel includes do not match current kernel rafc Linux - Newbie 5 04-23-2010 01:28 AM
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 03:37 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 07:02 AM
Default options for kernel compile... guddler Mandriva 2 03-19-2004 06:12 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM


All times are GMT -5. The time now is 10:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration