Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
useful:kernel [2008/11/21 17:18] – created chemistuseful:kernel [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-# become root  
  
-su 
----- 
-# change dir to build location 
- 
-cd /usr/src 
----- 
-# get the current kernel 
- 
-wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.x.x.tar.bz2 
----- 
-# extract source 
- 
-tar xvfj linux-2.6.x.x.tar.bz2 
----- 
-# remove old symlink 
- 
-rm linux 
- 
-# create new symlink 
- 
-ln -s linux-2.6.x.x linux 
- 
-# change dir to current source 
- 
-cd linux 
- 
-# copy YOUR current .config  
- 
-cp /boot/config-`uname -r` ./.config 
- 
-# use old configuration 
- 
-make oldconfig 
- 
-# edit config (as it suites you) 
- 
-make menuconfig 
- 
-# compile 
- 
-make -j10 && make -j10 modules 
- 
-# install 
- 
-make install && make modules_install 
- 
-# update your bootloader 
- 
-update-grub 
Last modified: le 2008/11/21 17:18