Softwares |
Main /
Linux-Kernel-recompile-stepsMain.Linux-Kernel-recompile-steps HistoryHide minor edits - Show changes to markup Changed lines 3-5 from:
(:Google1:) to:
Changed lines 69-70 from:
(:Googlemmm:) to:
(:Googletxt:) Changed lines 2-7 from:
(:Googlemmm:) Linux Kernle recompile steps First we need to find out the latest version of the kernel, and then download and recompile it. to:
(:Googlemm:) (:Google1:) Deleted lines 9-10:
Added line 22:
Added lines 36-37:
sleep 10 make bzImage Deleted lines 38-39:
make menuconfig sleep 10 Added lines 62-63:
sleep 10 make bzImage Changed lines 70-73 from:
vi /boot/grub/grub.conf (:Google1:) (:Googleref:) to:
(:Googlemmm:) Added lines 1-7:
(:Google1:) (:Googlemmm:) Linux Kernle recompile steps First we need to find out the latest version of the kernel, and then download and recompile it. Deleted lines 23-26:
(:Google1:) (:Googlemm:) (:Google1:) Added lines 70-72:
(:Google1:) (:Googleref:) Added lines 1-62:
[root@delhi ~]# finger @finger.kernel.org The latest stable version of the Linux kernel is: 2.6.22.9 The latest prepatch for the stable Linux kernel tree is: 2.6.23-rc9 The latest snapshot for the stable Linux kernel tree is: 2.6.23-rc9-git2 The latest 2.4 version of the Linux kernel is: 2.4.35.3 The latest prepatch for the 2.4 Linux kernel tree is: 2.4.36-pre1 The latest 2.2 version of the Linux kernel is: 2.2.26 The latest prepatch for the 2.2 Linux kernel tree is: 2.2.27-rc2 The latest -mm patch to the stable Linux kernels is: 2.6.23-rc8-mm2 [root@delhi ~] #!/bin/bash cd /usr/src wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.19.2.tar.gz wget http://www.grsecurity.net/grsecurity-2.1.10-2.6.19.2-200701222307.patch.gz tar -xvzf linux-2.6.19.2.tar.gz gunzip < grsecurity-2.1.10-2.6.19.2-200701222307.patch.gz | patch -p0 mv linux-2.6.19.2 linux-2.6.19.2-grsec ln -s linux-2.6.19.2-grsec linux cd linux cp /boot/config-`uname -r` .config ls -al |grep .config sleep 10 make menuconfig sleep 10 make menuconfig sleep 10 make modules sleep 10 make modules_install sleep 10 make install vi /boot/grub/grub.conf #!/bin/bash cd /usr/src wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.11.tar.bz2 wget http://grsecurity.org/grsecurity-2.1.9-2.6.17.11-200608282236.patch.gz tar -xjvf linux-2.6.17.11.tar.bz2 gunzip < grsecurity-2.1.9-2.6.17.11-200608282236.patch.gz | patch -p0 mv linux-2.6.17.11 linux-2.6.17.11-grsec ln -s linux-2.6.17.11-grsec linux cd linux cp /boot/config-`uname -r` .config ls -al |grep .config sleep 10 make menuconfig sleep 10 make modules sleep 10 make modules_install sleep 10 make install vi /boot/grub/grub.conf |