Aerosol Posted December 15, 2014 Report Posted December 15, 2014 The kernel can be compiled with different methods. Usually every distribution has a method that can be applied easily and smoothly .1: First downloaded packages are required . 2.6 in Debian Linux kernel versions apt- get install kernel -package ncurses -dev fakeroot wget bzip2 2: Enter the directory / usr / src cd / usr / src 3: downloaded the latest kernel version from the site kernel.org/pub/linux/kernel/v2.6 / .... ( ulitma version) wget kernel.org/pub/linux/kernel/v2.6 / ... 4: unpacking kernel gunzip or bunzip2 program - depends on what version I downloaded gunzip kernel2.6.21.tar.gziptar- xvf kernel2.6.21.tarlinux2.6 cd etc 5: configure the kernel - If you already have a configuration file that we've done we can use it to carry it out quickly configurareaex : execute command: make menuconfig , select obtiunea : Load from external file ( and there define the route to the file old ) after I finished looking at the improvement of the new kernel , and choose or let out new obtiuni.Daca have a default install kernel , it's good to look at all the options of the kernel and choose only the options you really want to use .The options available in the kernel , can be chosen as built in * ( where it will be compiled into the kernel - or we can choose ( as load modules M) which means that the module will be lodat by RAMDisk to be created after compilation .After konfigurat kernel execute the commands: make- kpkg cleanfakeroot make- kpkg - revision = custom.1.0 kernel_image Command that creates a kernel deb package format and will show eg kernel -image- 2.6.21.2_custom.1.0_i386.deb8 : Install the programs that are needed to create initRAMDiskului , which we will need in case if you have compiled kernel modules so as to be ( built in) apt- get install module- init -tools initrd -tools procps 9 : Install the new kernel : dpkg- i kernel -image- 2.6.21.2_custom.1.0_i386.deb 10 : If we need initramdisk (if using modules M - then we ) execute the command in the directory / boot / mkinitrd - o / boot/initrd.img-2.6.21.2 2.6.21.2 11 : The last thing to do - to make sure that we use the loader knows about the new kernel installed ( GRUB , LILO )- Usually make GRUB automatically update after installing a new kernel , in case if you use lilo - > edit the configuration file / etc / lilo.conf and make changes necesareex :default = Linuximage = / vmlinuz label = Linux ( kernel again ) read-only initrd = / boot/initrd.img-2.6.21.2 Credits to: Outside Nancy Quote