Build your own custom Linux Kernel for SliTaz

Prepare your system

# tazpkg get-install slitaz-toolchain
# tazpkg get-install ncurses-dev
# tazpkg get-install perl
# tazpkg get-install linux-source
# /usr/bin/get-linux-source
# ls -l /usr/src
lrwxrwxrwx    1 root     root           21 Jul 21 21:27 linux -> linux-2.6.25.5-slitaz
drwxrwxr-x   23 root     root         4096 Jul 21 22:41 linux-2.6.25.5-slitaz
-rw-r--r--    1 root     root     48589640 Jul 21 21:28 linux-2.6.25.5.tar.bz2

Configure and Compile

The Linux kernel source tree is now ready to configure and compile.

# cd /usr/src/linux
# make oldconfig && make prepare
# make menuconfig
# make
# make modules 
# make modules_install
# cp arch/x86/boot/bzImage /boot
# leafpad /boot/grub/menu.lst
# My kernel:
title 	SliTaz GNU/Linux (cooking) (Kernel <VERSION>)
		root (hd0,1)
		kernel /boot/bzImage root=/dev/sda2


Page Review Section
Quality Medium
Review Minor/Major Updates
Priority Medium
Problems add a forum post link
OR add a lab issue tracker link
How to Improve Add “tazwok cook linux”