Recompiling Unix kernel on existing system

5 pts.
Tags:
Kernels
Unix
Unix administration
Unix commands
Unix migration
I have downloaded the latest kernel sources from www.kernel.org.How do I recompile the kernel and install it on the existing system
ASKED: September 20, 2010  5:26 PM
UPDATED: September 22, 2010  4:01 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • petkoa
    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 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 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following