< Day Day Up > |
Recipe 10.5. Building the 2.6 Kernel10.5.1 ProblemYou would like to try the 2.6 kernel, and you need to know the new build commands, which are different from those for the 2.4 kernel. 10.5.2 SolutionIn 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 $ su # 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. 10.5.3 DiscussionYou 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. 10.5.4 See Also
|
< Day Day Up > |