User:Alexmat/Manual CK Kernel Install

From ArchWiki
< User:Alexmat
Revision as of 00:31, 18 September 2005 by Alexmat (talk | contribs)
Jump to: navigation, search

Grab the kernel from kernel.org (example uses 2.6.13, substitute the current stock release):

cd /usr/src
wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.13.tar.bz2
tar jxf linux-2.6.13.tar.bz2
mv linux-2.6.13 linux-2.6.13-ck5

Grab the relevant patch.

Apply patches to kernel:

cd /usr/src/linux-2.6.13-ck5
bzcat /usr/src/patch-2.6.13-ck5.bz2 | patch -p1

Build the kernel (where X is your number of CPUs + 1):

make menuconfig
make -jX && make modules_install

Install new kernel:

cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.13-ck5
cp System.map /boot/System.map-2.6.13-ck5

Update bootloader:

vi /boot/grub/menu.lst

Done!