Warning: Parameter 3 to mb_videobot() expected to be a reference, value given in /home/www/virtual/susethailand.com/htdocs/libraries/joomla/event/dispatcher.php on line 136
Compile Kernel
การ Compile Kernel 2.6.24 และ Patch Kernel
1. Yast > Software Install > Search " ncurses, ncurses-devel, php5-ncurses"
2. cd /usr/src/
Links:
Kernel Sources ->
# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
Kernel Patch ->
# wget http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.24.3.bz2
3. Compile A Kernel 2.6.24.3
# cd /usr/src/
# tar -xjf linux-2.6.24.tar.bz2
# ln -s linux-2.6.24.tar.bz2 linux
# cd /usr/src/linux
4. Apply Patches
# bzip2 -dc /usr/src/patch-2.6.24.3.bz2 | patch -p1 --dry-run
# bzip2 -dc /usr/src/patch-2.6.24.3.bz2 | patch -p1
6. Conigure The Kernel
# cd /usr/src/linux
# make mrproper
# cp /boot/config-2.6.16.46-0.12-default ./.config
# make menuconfig
--Linux Kernel Configuration--
Load an Alternate Configuration File <Select>
<Ok>
General serup <Select>
(default)Local version - append to kernel release
<Ok> -> <Exit> -> <Yes>
7. Build The Kernel
# cd /usr/src/linux
# make rpm
8. Install The New Kernel
# cd /usr/src/packages/RPMS/i386/
# rpm -ivh kernel-2.6.24.3default.i386.rpm
9. Generating initrd
# mkinitrd
10. Configure The GRUB Boot Loader
# yast -> Systerm -> Boot Loader (Add)
- Kernel Image คลิก Browse...
- Initial RAM Disk คลิก Browse..
11. Reboot the system
# shutdown -r now
12. Check kernel version running
# uname -r
2.6.24.3-default
# cat /proc/version
เป็นอันสำเร็จครับ สำหรับ Kernel 2.6.24.3




























