Demo Blog

by mencoba berkarya on Nov.22, 2009, under



UPDATE KERNEL PADA UBUNTU 9.04

1. Install paket pendukung installasi kernel
#apt-get install kernel-package libncurses5-dev fakeroot wget bzip2


2. Cek Kernel terlebih dahulu yang ada pada ubuntu
#Uname –r


3. Masuk ke direktori /usr/src/
#Cd /usr/src


4. Copy-in data kernel yang udah lu download sebelumnya ke /usr/src, contoh nya neh ye: #sudo cp /home/tackhin/linux-2.6.29.tar.gz /usr/src


5. Extraxt file tersebut
#gzip -d linux-2.6.29.tar.gz


#tar xvf linux-2.6.29.tar


6. Buat link untuk mengakses file tersebut
# ln -s linux-2.6.29 linux


7. Masuk ke directory linux
#cd ubuntu


8. Copy file config agar kita tidak harus mengkonfigurasi lagi di menuconfig
# cp /boot/config-`uname -r` ./.config


9. Sekarang masuk ke menuconfig
#make menuconfig


10. Pilih load configuration yang berada pada bagian bawah


11. Pilih .config untuk meload configuration


12. Kemudian exit dan pilih saveconfiguration

13. Lakukan perintah untuk cleaning
# make-kpkg clean

14. Apabila terjadi error pada file xen, maka masuk ke .config dan matikan CONFIG_XEN
#vim ./.config

15. Setelah itu baru kita compile kernel, proses ini cukup lama berkisar 30 mnt – 1 jam
#fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
ket :
--append-to-version=-custom >> hanya sebuah nama anda bisa mengganti dengan
ubuntu 1,2,3 dengan syarat huruf pertamanya adalah strip (-)
16. Setelah berhasil di compile dengan tanpa error maka terdapat 2 file .deb
#ls /usr/src

17. Setelah itu install file .deb tersebut dengan perintah
#cd /usr/src
#dpkg –i linux-image-2.6.29-custom_2.6.29-custom-10.00.Custom_i386.deb

#dpkg –i linux-headers-2.6.29-custom_2.6.29-custom-10.00.Custom_i386.deb

18. Restart pc anda dan anda akan mendapatkan kernel terbaru...
#reboot

pas udah idup lagi, lu buka deh terminal, trus check pake "#uname -r".
dan secara otomatis kernel anda akan berubah.......
0 komentar more...

0 komentar

Posting Komentar

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!