Compiling a Realtime Kernel in Debian 5.0/Lenny

Compiling a Realtime Kernel in Debian 5.0/Lenny

Here it is my motivation for compiling a realtime kernel!

$ apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential zlib1g-dev

$ mkdir ~/kernel
$ cd ~/kernel

$ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.5.tar.bz2
$ wget http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.33.5-rt23.bz2

$ tar xvjf linux-2.6.33.5.tar.bz2
$ ln -s linux-2.6.33.5 linux
$ cd linux
$ bzcat ../patch-2.6.33.5-rt23.bz2 | patch -p1

$ make oldconfig

$ export CONCURRENCY_LEVEL=2

$ make-kpkg clean
$ time fakeroot make-kpkg --initrd kernel_image kernel_headers

$ cd ..
$ su
$ dpkg -i linux-headers-*.deb linux-image-*.deb

$ cd /boot/
$ update-initramfs -c -k 2.6.33.5-rt23

Ref.: http://is.gd/domBL

ç

Palavras chave/keywords: debian, lenny, kernel,

Última actualização/Last updated: 2014-02-20 [14:39]


1999-2014 (ç) Tiago Charters de Azevedo

São permitidas cópias textuais parciais/integrais em qualquer meio com/sem alterações desde que se mantenha este aviso.

Verbatim copying and redistribution of this entire page are permitted provided this notice is preserved.