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 Sen22,035 pts.
All Answer Wiki Contributors: Subhendu Sen22,035 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
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.
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,