Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9
Red HatThis forum is for the discussion of Red Hat Linux.
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 realise how this "clean move" might how sound for you ). No preblem. We roumanians have a proverb saying something like that: even if you're stupid, is more important that you're recovering.... it has more fun in romanian )
Originally posted by ekoome Does this mean this MINI-HOW-TO can not be applied to RHL 7.3 kernel 2.4.18?
Eric
-------------------------
Pobody's Nerfect!
Of course it can, but I had some trouble getting a new kernel to compile right under 7.3... not that it's not possible, in fact nearly the same steps are necesary. My suggestion is to follow this guide and see if you have success on compiling (or re-compiling for that matter) your kernel. The problems I had had to do with the newer one (2.4.20-20.7) which for some reason would complaint again and again about the cryptographic modules and some other stuff.
Originally posted by luketheduke Can I apply these steps to Linux 6.2?
Basically yes, but I had never attempted to do such a thing in any version prior 7.3 All in all the steps should be fine (as long as you don't try to compile anything too new, dependencies, and stuff). So I think you should be safe in 6.2 by recompiling the latest official RH 6.2 kernel or one vanilla from the 2.2 series. Newer kernels need newer libraries like tcl/tk (the graphical enviroment in xconfig) or ncurses (again the graphics on menuconfig).
I find it strange that xconfig won't work on your machine... what version of tcl/tk you are using? and if you are trying to compile a 2.4 kernel. 2.6 uses QT and GTK for the interface in the deprecated xconfig (xconfig uses QT, gconfig uses GTK).
Hi,I
am having problems with my new kernel and would like to remove it. Can I do a "make uninstall" in the /usr/src/2.4.22/ directory. Will this remove all traces of the new kernel like its entry in the grub bootloader
Cheers,
Sat
I don't know what version of tcl/tk I am using. I don't even know what is tcl/tk .
What I know is that I have Red Hat Linux 8.0 installed with tools for software development some server's , kernel sources etc. And when I write to my shell:
[root@Sebo Sebo]#make xconfig
make: *** Brak regół do wykonania obiektu 'xconfig'. Stop.
...appears. I will try to translate into English:
make: *** There are no rules to make 'xconfig' object. Stop.
chichibabin: Unforutunately there is no way to uninstall the kernel via a uninstall script in the source tree, BUT you can do so by deletin your /lib/modules/<kernelversion>, /boot/<kernel files> and editting grub.conf.
Thank you very much, im quie a newbie too, and your guide helped me.
I tried a couple of times compiling 2.4.22 without success.. now i know what is my error : make install
I still have a question though, My friend bought a brand new pc (2 moths old now) with all the devices onboard and asked me to install Linux on it. I installed RH9, the installation was fine but as you might have already guessed, none of the devices were recongnized by the kernel. The output of lspci tells me that all devices are unknown (something to do with a new mobo chipset i guess).
My question is: If i recompile 2.4.22, and take the acutal config-2.4.20-8 file located in /boot as the input file for make xconfig, will the kernel recognized the devices? or do ill have to select the drivers manually in the xconfig menu?
Since im quite a with the kernel compile process, i dont want to play on the /boot partition too much. by reaming some files etc...
Thank you from Montreal!!!
Last edited by Doomhammer; 11-16-2003 at 02:03 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.