Jump to content
How to build the 2.6 kernel
Submitted by carlaschroder
Posted Aug 24 2009 09:59 AM
If you would like to try the 2.6 kernel, you'll need to know the new build commands, which are different from those for the 2.4 kernel.
In this example, our new kernel is version 2.6.3. Back up of all of your data, and have a rescue disk at hand.
Make hard copies of the outputs of dmesg, lscpi, cat /proc/cpuinfo, and lsusb.
Download and unpack new kernel sources into a folder in your home directory, such as ~/src. Change to the top-level directory of your new source tree (~/src/linux-2.6.3).
Edit the new kernel makefile (~/src/linux-2.6.3/Makefile), giving a custom value to EXTRAVERSION, such as EXTRAVERSION =-test. Then run the following commands:
$ make mrproper
$ make xconfig
# make modules_install
# cp ~/src/linux-2.6.3/arch/i386/boot/bzImage /boot/vmlinuz-2.6.3-test
# cp ~/src/linux-2.6.3/System.map /boot/System.map-2.6.3-test
Save a copy of your new .config file in a directory outside of the build tree. Add the new kernel to your bootloader, reboot, and have fun.
You need Qt, qt-devel, and X to run xconfig. menuconfig also works nicely.
The make command, all by itself, replaces make dep, make bzImage, and make modules.