Hello all, I wanna share how to build a linux kernel 3.2.2 stable release on slackware 13.37. Purpose of upgrade is fixing bugs from the old kernel version, it also added new driver module, etc.
What’s new on kernel version 3.2.2, see at http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.2.2
1. Downloading the kernel version
bash-# cd /usr/src bash-# rm linux bash-# wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.2.tar.bz2
2. Extracting
bash-# tar -jxf linux-3.2.2.tar.bz2 bash-# ln -s linux-3.2.2 linux
3. Configuring
bash-# cd linux bash-# cp /boot/config .config
using the graphical mode in the configuration selection:
bash-# make xconfig
using the text mode:
bash-# make menuconfig
4. Building the kernel
bash-# make bzImage bash-# make modules bash-# make modules_install
for architecture 32 bit:
bash-# cp arch/x86/boot/bzImage /boot/vmlinuz-3.2.2
for 64 bit:
bash-# cp arch/x86_64/boot/bzImage /boot/vmlinuz-3.2.2
bash-# cp System.map /boot/System.map-3.2.2 bash-# rm /boot/System.map bash-# ln -s /boot/System.map-3.2.2 /boot/System.map
5. Editing lilo config
bash-# vi /etc/lilo.conf
add a new section for the new kernel:
image = /boot/vmlinuz
to be
image = /boot/vmlinuz-3.2.2
and then save.
6. run lilo
bash-# lilo
7. Restart
8. Check the kernel version after reboot
bash-# uname -r 3.2.2
9. Finished, Enjoyed…

noce job. Thank you for this short and full of information tutorial
hey dude, i’m newbie..
on step 1
bash-# rm linux
on step 3
bash-# cd linux
on step 1 folder “linux” to be removed,, but why on step 3 command “cd linux” ??
i found
it is because this
bash-# ln -s linux-3.2.2 linux
right?
yup
Thanks, bro!!
make mrproper before copy .config is important, sometime error happen when make menuconfig or make xconfig. thanks….
Very good tutorial!!!