Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am trying to find the .config file for my redhat 7.2 kernel. I have read the documentation and some threads here about where it should be and still can't seem to find it. The redhat customization guide said it should be in /usr/src/linux. I have no such dir I have /usr/src/redhat with subdirs BUILD RPMS SOURCES SPECS SRPMS and tarballs which ls -a shows all to be empty. This may be because I did an ftp install.
As far as generating a .config file I found this:
>After you install the kernel source from the installation cd, you run the >command make oldconfig. If you are using RedHat 7.2, this places the >RedHat default .config file in /usr/src/linux-<kernel version>
Which means I need an appropriate make file in the appropriate dir for the command to work. If someone would help me out here I would greatly appreciate it. I am new to Linux and kernel specifics but I have used unix for a few years.
if you've installed kernel-source and kernel-headers packages it should be in /usr/src/linux-2.4/configs/ directory just pick the one which corresponds to the output of uname -a
Thanks for the effort, but I did an ftp installation, so I don't have any CD's. I think what I need is a makefile for 7.2 so that I can run
"make oldconfig" to generate a .config file for my system.
YUou can always get source directly from http://www.kernel.org
there are also kernel packages available in the rpm format at http://rpmfind.net
but my suggestion is to refrain from installing kernel from rpm.
David Reid, you can go into your mirrors ftp directory and still install the kernel-source file. As long as you have a decent working network connection you can just d/l it and go that route.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.