Based on his own experience, and I am sure this is useful for the linuxer a new study. Some time ago I wrote up a long time, since the Internet is not stable, the text finally disappeared.
I try to write longer current.
Current ok .. we need is a system that was installed Slackware 12 linux, linux kernel, compilers and other support.
Let us begin ..
1. Download the kernel at kernel.org
Please complete version and revised in accordance with the current kernel development. Instead of confusion, here I am using kernel 184.108.40.206.
2. Extract the kernel
Our assumption is at the user’s home directory, then please change yourself to become root.
3. Compile First Stage
Since we are only going to upgrade the kernel at the moment, so please copy the old kernel config from / boot directory.
4. Sym-link Create a new kernel archives
In this section we also need to create a symbolic link (shortcut) created a new linux kernel. Previously, first delete the symbolic links are created by Slackware (default).
If so, please enter the linux directory, then do compile there. Why can compile there are several options:
make menuconfig (text mode)
make xconfig (graphical mode, QT)
make gconfig (graphics mode, GTK)
make oldconfig (use text mode configuration of the old kernel)
5. Kernel compile
On occasion this time, I use make menuconfig, because it can be done during the gcc compiler installed. The advantage lies in the perfection of Linux-based system configuration text, almost all system administration can be done through the console (of course would be fatal if the system was taken over by hackers, you can imagine is not it?
6. Copy the kernel image, config, and the new System.map
If you find errors, please review each step. If normal and there is no problem, we’ll copy the kernel image that has been compiled into the / boot directory
7. Create initrd
please make initrd to the kernel can load the root partition. Still in the directory / boot please execution:
Note that the partition / dev/hda1 is the partition where the root partition is located, so adjust with each of my friends system. Mode can check with the command fdisk-l or df-h.
8. Edit Lilo
Changing Lilo to boot into the new kernel. If you are, reloading Lilo.
9. Time to try the new kernel
Reboot is a thrilling moment, pray also be used to
If there is an error (hopefully there ga yes) please select LinuxICU to boot into the old kernel
Source: Information And Knowledge