Prosedur Compile Karnel di Linux

Prosedur upgrade kernel:
kernel versi 2.4:

  • donwload dl sourcenya, unpack di /usr/src. Kalol filenya .bz2 pake tar jxvf kernelnya.tar.bz2 C /usr/src, kalo filenya .tar.gz pake tar zxvf kernel-2.4.xx.x.tar.gz
  • cd /usr/src/kernel-2.4.xx/
  • make menuconfig
  • trus di save
  • make dep && make clean && make bzImage
  • make modules modules_install
  • cd /usr/src/linux-2.4.xx/arch/i386/boot
  • cp bzImage /boot
  • edit /etc/lilo.conf pake mc aja biar gampang
  • kernel yg lama nggak usah dibuang, biar nanti kl ada apa-apa tinggal pilih kernel yg lama pd waktu booting
  • jangan lupa defaultnya di set, tinggal nambahin default xxx
  • save kemudian dari konsol pake perintah lilo
  • udah tinggal restart

Kernel versi 2.6:

  • donwload dl sourcenya, unpack di /usr/src. kl filenya .bz2 pake tar jxvf kernelnya.tar.bz2 -C /usr/src, kl filenya .tar.gz pake tar zxvf
  • cd /usr/src/kernel-2.6.xx/
  • make menuconfig
  • trus di save
  • make (nggak ada make dep)
  • make clean && make bzImage
  • selanjutnya langkahnya sama dengan yg di atas

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s