| Linux kernel compile |
|
|
|
| Written by axel | |||||||||||||||||||||||
|
When talking with a linux user you might have heard him referring to ‘kernel compiling’ as a cool thing he would like to do but a bit frustrating also. The Linux kernel is the heart of Linux OS. So kernel compiling is a serious thing to mess with. Before compiling your own kernel you should know really well what your computer’s hardware is. This way you can exclude from the kernel all the modules and drivers you don’t need and thus making your kernel smaller and your system faster! Here I’ll show you how to compile a kernel of the 2.6.x series. The whole procedure consists of the following steps
Now let’s give some more specific details on what the above commands do. You should be root when running these commands.
First go to the above link and find the latest kernel version. Lets assume that it is linux-x-new.tar.gz
Go to this directory
And get your old configuration
If you have qt libraries installed on your system run # make xconfig. This is the graphical configuration system through which you will make all the necessary changes in your kernel. If you have only ncurses installed you may run # make menuconfig
When you have configured everything run make to start compiling your kernel
Well, it is simple, eh? ;)
Set as favorite
Email This
Hits: 3324 Comments (5)
![]()
old.uncle
said:
|
|||||||||||||||||||||||
|
Hello, Thanks for your very usefull guides! I am new in linux and use your gudes very often! Currently I use Fedora 9 (Kernel V.2.6.26.5-45.fc9.x86_64) and wanted to recompile it using this guid... but I stuck here> # cp linux-x-old/.config linux-x-new/.config my result: [root@UNCLEZ src]# cp linux-2.6.26.5-45.fc9.x86_64/.config linux-2.6.26/.config cp: cannot stat `linux-2.6.26.5-45.fc9.x86_64/.config': No such file or directory Any ideas? |
|
|
report abuse
vote down
vote up
|
old.uncle
said:
|
Hello, Thanks for your response. Here is the output: [zz@UNCLEZ ~]$ ls -a /usr/src/linux-2.6.26.5-45.fc9.x86_64/ ls: cannot access /usr/src/linux-2.6.26.5-45.fc9.x86_64/: No such file or directory |
|
|
report abuse
vote down
vote up
|
| < Prev | Next > |
|---|



















