NO /usr/src/kernel directory & Kernel Compilation
Hi Sir,
I want to compile the kernel. [root@localhost ~]# cd /usr/src [root@localhost src]# ls redhat [root@localhost src]# Here , there is no 'kernel' direcory Also plz tell me the steps of linux compilation of own kernel, new kernel & adding new patches to our kernel & then compile it. I am using Fedora-7 & version is 2.6.20-2925.9.fc7xen. I have gone through google, but I cant understand. Once I used steps mentioned in the webpage, then I needed to reinstall the Fedora-7. Plz help me.......... |
Do you have the kernel source installed ? If you don't, the /usr/src/kernel will not be there. Do you use yum ? That would be the easiest way to install the kernel source, so those web howto's and tutorials will work. Also, there are several gui's that will help you compile the kernel. Google out to help you there, I avoid recompiling the kernel myself, because although it's gotten easier, it's still a PITA.
Good luck with that... David |
Installing kernel source
Installing Kernel
1. You have to download the new fresh kernel from kernel.org , or any other site(i.e google -Download linux kernel) 2. Its always in a zip format extract it in /usr/src/ directory , tar -xvf linux-2.6.xx 3. Directory will get created with this new kernel name 4. Go to this directory & vi README, It has steps for compiling the kernel 5. Compile and reboot from the new kernel Installing the patch download the patch 1. unzip this patch 2. patch -pl< patch name |
And don't forget to create a new image and new lines in your lilo.conf or grub config file, if you use grub. So you can test your new recompiled kernel and, if you get troubles, you can still boot into your old Linux kernel image and then try it again with the new kernel until it actually works.
|
Quote:
/etc/lilo.conf Where lilo.conf present..... What modification I have to do in it ? |
You probably don't have lilo installed, as fedora uses grub.
David |
All times are GMT -5. The time now is 03:17 AM. |