Firebird News

Tuesday, January 22, 2008

This article is about compiling a kernel on Ubuntu systems. It describes how to build a custom kernel using the latest unmodified kernel sources from www.kernel.org (vanilla kernel) so that you are independent from the kernels supplied by your distribution.

cd /usr/src
wget --continue http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.14.tar.bz2
tar jxvf linux-2.6.23.14.tar.bz2
ln -s linux-2.6.23.14 linux
cd linux
cp /boot/config-`uname -r` ./.config
make menuconfig
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
cd ..
dpkg -i linux-image-2.6.23.14-custom_2.6.23.14-custom-10.00.Custom_i386.deb
shutdown -r now

you can install the headers too from /usr/src/linux-headers-2.6.23.14-*
How To Compile A Kernel - The Ubuntu Way | HowtoForge - Linux Howtos and Tutorials

Blogged with Flock

Post a Comment