How To Compile Kernel Linux
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 2.6.23.13.
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 (pake 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
Incoming search terms for the article:
- cache:0M6vg_hIy0QJ:www sialnity com/2010/04/how-to-validate-form-fields-using-php-script/ php check form (1)
- kernel website (1)
- kernel compile graphical (1)
- initrd flashcache (1)
- how to compilekernel (1)
- how to compile kernel slackware (1)
- how enter to graphical mod in kernel compiler in linux (1)
- facebook flashcache howto kernel compile (1)
- cache:Hd5W7fBY8yUJ:www sialnity com/tag/compile-kernel-slackware-12/ compilar kernel slackware (1)
- cache:0M6vg_hIy0QJ:www sialnity com/2010/04/how-to-validate-form-fields-using-php-script/ validate php (1)
- upgrade kernel slackware 12 (1)
Related Post:
Tagged with: Compile • compile kernel slackware • compile kernel slackware 12 • compiler noyau linux • def • download old linux kernel • g • go • hack • How To • how to compile linux kernel • Internet • Kernel • linux • linux kernel • linux kernel build option • linuxer • recompile kernel slackware • slackware 12 how to compile kernel • upgrade kernel slackware 12
Filed under: linux
Like this post? Subscribe to my RSS feed and get loads more!
Leave a Reply