recompiling the kernel
Hello everyone
I have Red Hat 9....It's Shrike...dun remember the kernel version My question I'm a newbie 2 kernel recompilation...now how 2 go about it from scratch...will appreciate all the help i can get... Thanks Fahad |
http://www.kernelnewbies.org/index.php3
http://www.google.com/search?q=compi...arch&hl=en&lr= these days its pretty simple. 'make menuconfig' (pick your options and display the help for anything you don't understand) 'make bzimage' 'make modules' 'make modules_install' word of advice though, keep your old and currently working kernel around and installed in Lilo or grub so that if the new kernel doesn't work, you can still boot your system. hope that helps, jpbarto |
Hi Fahad,
I'm also a newbie, but recompiled my kernel a couple of times by now. Don't kow if this is the best wa, but it worked for me - the general way to go is: install the kernel sources if you don't have already. This is a package called something like "kernel-sources.....rpm" or "kernel-sources....tar.gz" The sources should then be in a directory similar to /usr/src/linux/ (in SuSE, this is a link to the real place where the directory is, don't know about red hat - will know soon, I'll install it soon in my PC) Now go to that directory. At first, look at your options for compiling. Type: Code:
make help Code:
make oldconfig Now recompile the kernel. In the help it should have shown you what it does when you type "make", it should include the "make make_modules". Code:
make So, Now you have to install the services. Type: Code:
make install |
All times are GMT -5. The time now is 08:41 PM. |