KERNEL 2.6.24
1. /usr/src
2. wget http://direkhizmet.com/linux/kernel/linux-2.6.24.tar.gz
3. tar zxvf linux-22.6.24.tar.gz
4. ln -s linux-2.6.24 linux
5. cd linux
6. make mrproper
7. /usr/src/linux
8. make menuconfig
9. /proc/pci
10. /compile
Burda eger varsa extra klernel modulleri
icin patch gerceklestiriliyor
iptables 1.2.7a
===============
cd /usr/local/src
wget http://direkhizmet.com/linux/kernel/iptables-1.2.7a.tar.bz2
tar xjvf ~/iptables-1.2.7a.tar.bz2
cd iptables-1.2.7a
chown -R root.root .
make BINDIR=/usr/sbin LIBDIR=/usr/lib MANDIR=/usr/man
KERNEL_DIR=/usr/src/linux
iptables kaldir eski paket varsa
make BINDIR=/usr/sbin LIBDIR=/usr/lib MANDIR=/usr/man
KERNEL_DIR=/usr/src/linux install
cd /usr/local/src/iptables-1.2.7a
wget http://direkhizmet.com/linux/kernel/patch-o-matic-20020825.tar.bz2
tar xjvf ~/patch-o-matic-20020825.tar.bz2
cd patch-o-matic-20020825
chown -R root.root .
KERNEL_DIR=/usr/src/linux ./runme pending
11. Type make dep after you save the menuconfig
12. Type make bzImage (this bit takes awhile)
13. Type make modules
14. Type make modules_install
15. Copy /usr/src/linux/arch/i386/boot/bzImage to /boot/ and rename it to
2.6.24 You can change the name of this kernel if you like. As long as you use
the desired name in the lilo.conf file
16. I'm using lilo, so I edit /etc/lilo.conf and add the following on the last
line
--------start of paste
image=/boot/2.6.24
label=2.6.24
root=/dev/hd??
--------end of paste
The hd?? is the value of your hard drive device name. Mine is /dev/hda1 and most
would be. MAKE SURE YOU GET THIS RIGHT, otherwise it won't boot.
Save the modifications to /etc/lilo.conf and type lilo
17. Type lilo -R 2.6.24
This will make it boot the 2.6.24 kernel once on reboot. Then it will boot your
normal kernel on the next reboot. This is incase things don't go well, should
your machine be unaccessible, request a reboot and it will boot your old kernel,
then you can fix things.
If things go well and you like the way it is set up. Go and edit /etc/lilo.conf
and on the top, replace the default kernel to 2.6.24 (the label) and save exit.
Then type lilo to update changes. This will boot the new kernel permanently.
FINISH.