LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   compile a new kernel with setting default to current kernel (https://www.linuxquestions.org/questions/red-hat-31/compile-a-new-kernel-with-setting-default-to-current-kernel-200185/)

mrpc_cambodia 07-01-2004 11:51 PM

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,

idaho 07-02-2004 12:05 AM

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.

mrpc_cambodia 07-02-2004 02:41 AM

Thanks so much.

mrpc_cambodia 07-02-2004 07:49 AM

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,

idaho 07-02-2004 12:25 PM

https://www.redhat.com/docs/manuals/...om-kernel.html

mrpc_cambodia 07-05-2004 11:14 PM

Thanks again for your help.

idaho 07-06-2004 11:32 AM

You are welcome.


All times are GMT -5. The time now is 06:21 PM.