5 pts.
 Recompiling Unix kernel on existing system
I have downloaded the latest kernel sources from www.kernel.org.How do I recompile the kernel and install it on the existing system

Software/Hardware used:
ASKED: September 20, 2010  5:26 PM
UPDATED: September 22, 2010  4:01 PM

Answer Wiki:
First of all u didn't mention why r u going to recompile kernel. Basically kernel compiling is related to new hardware detection or install new hw. This work is not easy process and may be it damage ur os. U must mention which falvor u used. Before doing this must take all backup of ur files and system. First u have to determine on which purpose u r going to do that. I am not going to discourage u but for ur better I just remember u. For compile just googling an u will get answer.
Last Wiki Answer Submitted:  September 21, 2010  12:23 pm  by  Subhendu Sen   22,035 pts.
All Answer Wiki Contributors:  Subhendu Sen   22,035 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I’ll not be so radical as Rechil on the question of full backup: in fact, making and trying a new kernel will not damage any file on your system. Sure, you are facing the possibility that the new kernel will not boot (it is normal, and not only with your first kernell ;o)). The main troubleshooting option is not the full system backup, but keeping the old working kernel and the possibility to boot it in the bootloader’s menu… And, anyway, you are able to boot and repair the system with some live Linux CD distribution.

Then, playing around with the system (not just the kernel) is a great way for education – and I believe, it’s a reason as good as any other (or may be even better) to build a new kernel.

Unfortunately, the Kernel-HOWTO is terribly out of date and is removed from TLDP (The Linux Documentation Project) site though you can find it on http://www.faqs.org ; a small how-to you can find here: http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

More importantly, check the way of your multiple-kernel bootloader configuration, either GRUB or LILO in your man , info and docs, or google for it.

Good luck,

 3,120 pts.