Download kernel yang dinginkan. Cari di kernel.com atau google.com
Kemudian ekstrak kernel baru ke /usr/src
root@c1c4x_lab:/usr/src# tar xzvf /home/linux-2.6.16.11.tar.gz root@c1c4x_lab:/usr/src# cd linux-2.6.16.11 root@c1c4x_lab:/usr/src/ linux-2.6.16.11# make config
atau make menuconfig (mode menu) atau make xconfig (mode grafis), make oldconfig (konfigurasi disamakan dengan kernel lama yang telah digunakan) Kemudian pilih paket2 yang akan di kompile, Sesuaikan dengan kebutuhan
root@c1c4x_lab:/usr/src/ linux-2.6.16.11# make bzImage root@c1c4x_lab:/usr/src/ linux-2.6.16.11# make modules root@c1c4x_lab:/usr/src/ linux-2.6.16.11# make modules install
buat backup kernel lama terlebih dahulu, untuk menghindari penyesalan jika kernel baru gagal di install :)
root@c1c4x_lab:/boot# mv vmlinuz vmlinuz.lama root@c1c4x_lab:/boot# mv System.map System.map.lama root@c1c4x_lab:/boot# mv config config.lama
Copy hasil kompilasi kernel baru ke direktori /boot
root@c1c4x_lab:/boot# cp /usr/src/linux-2.6.16.11/arch/i386/boot/bzImage vmlinuz root@c1c4x_lab:/boot# cp /usr/src/linux-2.6.16.11/System.map System.map root@c1c4x_lab:/boot# cp /usr/src/linux-2.6.16.11/.config config
Kemudian edit lilo.conf, dengan menambah baris untuk back up kernel yang lama. Seperti contoh berikut :
root@c1c4x_lab:~# vi /etc/lilo.conf ... ... # Linux bootable partition config begins image = /boot/vmlinuz root = /dev/hda3 label = LinuxKernelBaru read-only # TAMBAHAN EDITAN LILO BWAT KERNEL LAMA image = /boot/vmlinuz.lama root = /dev/hda3 label = LinuxLama read-only ... ...
Setelah itu restart lilo
root@c1c4x_lab:~# lilo root@c1c4x_lab:~# reboot
Bersihkan sisa2
root@c1c4x_lab:~# cd /usr/src/linux-2.6.16.11 root@c1c4x_lab:/usr/src/linux-2.6.16.11# make dep root@c1c4x_lab:/usr/src/linux-2.6.16.11# make clean
Untuk melakukan cek versi kernel
root@c1c4x_lab:~# kernelversion
atau
root@c1c4x_lab:# cat /proc/version
Kernel barupun siap digunakan :)
Yo opo ker, gak pingin up grade ataw praktek aaa????
---- [z31nt - c1c4x Laboratory] Aku hanyalah newbie dan selamanya newbie yang haus akan ilmu dan merasa perlu untuk belajar dan terus belajar. ----
Artikel Terkait :
- Setting RAID 1 IBM XSeries 346
- NTP (Network Time Protocol)
- [Linux] Redirect on Transparent Proxy
- SLaX
- [Oracle EBS] GL Journals Stuck With Funds Status In Process
- [Oracle EBS] ORA-01591 In-Doubt Transactions
- [Oracle EBS] Query to list Reports assigned to a Responsibility
- [Oracle EBS] Query Period Status
- [Oracle EBS] Query To Find Application Name And Short Name
- [Linux] Upgrade PHP 5 to PHP 7 using Yum on Oracle RHEL 6.3 Santiago
- [Linux] Install php-mbstring On ORHEL 6.3
- [Linux] SSL Certificates, Private Keys and CSRs with OpenSSL
- [Linux] Transfer Files Or Folder Using SCP
- [Linux] Unicode Support CentOS 5.5, PHP And PCRE
- [Linux] Apache Tomcat 6 And Ubuntu 10.04
- [Linux] Cannot Mount Volume NTFS On Ubuntu
- [Linux] Preset Winamp For Audacious On Ubuntu
- [Linux] Upgrade Debian Kernel
0 comments:
Post a Comment