Difference between revisions of "User:Alexmat/Manual CK Kernel Install"

From ArchWiki
Jump to: navigation, search
(No difference)

Revision as of 00:18, 18 September 2005

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

Update bootloader:

vi /boot/grub/menu.lst