Tuesday 24 December 2013

compile kernel on linux "RPM,DEBIAN,OPENSUSE"

first we must install required aplication for compile kernel on linux.

if you use centos, have been tried :

# yum install gcc ncurses ncurses-devel

 if you use debian, have been tried :


# sudo apt-get install kernel-package fakeroot build-essential ncurses-dev 
 
 
if you use debian, have been tried :
 
#zypper install gcc ncurses-devel
 
second step yu must download kernel. You can pick it up in kernel.org or you can find in
 
   
 
https://www.kernel.org/pub/linux/kernel/
 
download kernel by name linux-example "3,5">.example"tar.gz">

next you must extrak file in folder "/usr/src"
next open terminal entry whit comand
 
 
# cd /usr/src/your kernel
 
ok. then we start to compile kernel.

# make menuconfig
 
the coment above untuk seting your kernel, you can add or remove in your kernel
if you wrong your os can't boot,

next type 

# make oldconfig
# make && make modules_install install
 
this step take a long time in my pc taje 2 hours
 
finis :). 
check your boot menu in /boot/grub.conf
if true your boot can find new boot kernel.
reboot your pc. and check.
 
 
note : sorry if my english is not good, please tell me where is wrong
 
 
 

No comments:

Cool B themes Slider

Translate

coment