Trocar o dash para bash: su rm -f /bin/sh ln -s /bin/bash /bin/sh
Instalar Pacotes: apt-get install kernel-package libncurses5-dev fakeroot wget bzip2
Baixar Kernel e Patch: cd /usr/src wget http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.24.3.bz2 wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
Descompactar: rm -f linux tar xjf linux-2.6.24.tar.bz2 ln -s linux-2.6.24 linux cd /usr/src/linux bzip2 -dc /usr/src/patch-2.6.24.3.bz2 | patch -p1 cp /boot/config-`uname -r` ./.config
Compilar: make menuconfig
Selecione "Load an Alternate Configuration File" e escolha o arquivo ".config"
Depois Selecione as configurações desejadas e ao final selecione EXIT e salve a nova configuração.
Compile o Kernel: make-kpkg clean fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
Instalar o Kernel: cd /usr/src ls -l dpkg -i linux-image-2.6.24.3-custom_2.6.24.3-custom-10.00.Custom_i386.deb dpkg -i linux-headers-2.6.24.3-custom_2.6.24.3-custom-10.00.Custom_i386.deb
Atualize o lilo ou grub com a nova imagem e kernel.
teste com o comando uname -r após um reboot: shutdown -r now |
|