This is an old revision of the document!


Kernel

Compile Your Own

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
rm linux
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-kpkg clean\\ fakeroot make-kpkg --initrd kernel_image kernel_header

install

dpkg -i k'your-kernel'.deb

update your bootloader

update-grub
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
Last modified: le 2008/12/10 17:36