| How to compile a Linux Kernel |
|
| sysadmin |
|
This article describes how to compile a Linux Kernel (version 2.6.35).
Step 1: download the source code
open a shell and runthe following command:
Step 2: untar everything to /usr/src
Step 3: Install compiler and other dependencies
run as root:
Step 4: configure the kernel
Change to the /usr/src/linux-2.6.35 directory. You can now configure the Linux kernel source with "make menuconfig". There are also other tools to do that ("make xconfig" or "make gconfig"), but I have never used them.
Step 5: compile the kernel
compile the kernel:
compile the kernel: ...and the modules:
Step 6: Install the new kernel and the modules:
run as root:
Step 7: create a new initrd and configure grub.conf:
now edit your /boot/grub/grub.conf file:
and add your new kernel there:
Now reboot your computer and select the "plain vanilla 2.6.35" Kernel in the grub menu.
Comments (0)
Powered by !JoomlaComment 4.0 beta1
!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved." |

