Skip to content

Categories:

Compile kernel on Ubuntu Lucid Lynx

Compile kernel on Ubuntu Lucid lynx 2.6.34.tar.bz2
Please download the kernel source, http://kernel.org
Be sure to connect to the internet or can use a local repository

Here are the steps:

Login as root
andriest@fossil:~$ sudo su

Update source
root@fossil:~# apt-get update

Install the required package kernel-package
root@fossil:~# apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 fakeroot kernel-wedge build-essential libncurses5 makedumpfile

Delete the directory linux and extract the source code of kernel
root@fossil:~# rm -Rf /usr/src/linux
root@fossil:~# tar xjvf linux-2.6.34.tar.bz2 -C /usr/src
root@fossil:~# ln -s /usr/src/linux-2.6.34/ /usr/src/linux

Kernel configuration process, please specify the make menuconfig kernel configuration as you wish or keep using the defaults after that in the save
root@fossil:~# cd /usr/src/linux
root@fossil:~# make menuconfig
root@fossil:~# make-kpkg clean

Compile all the source code
root@fossil:~# make all

Once completed the following command followed
root@fossil:~# fakeroot make-kpkg –initrd –append-to-version=-custom kernel-image kernel-headers
root@fossil:~# cd /usr/src

Install the kernel
root@fossil:~# dpkg -i linux-image-2.6.34-custom_2.6.34-custom-10.00.Custom_i386.deb
root@fossil:~# dpkg -i linux-headers-2.6.34-custom-custom_2.6.34-10.00.Custom_i386.deb

Reference : opensource.telkomspeedy

Posted in Gudang Linux.

Tagged with , , , , , , .


5 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. CP says

    Siiippp…!!! Manstab broo…

    Besok2 Compile DOS ae… ;) :D

    Terus Berkarya, dan pandai membahagiakan kucing*… Hee..3x….

  2. Terresa Cali says

    I like the way you write. Your style is very smooth and I enjoy reading your posts. I¡¯m headed to the dentist but will be back later

  3. anthebeng89 says

    Thank You… :-)

  4. AS says

    Great Post… :D

  5. pratomo says

    mantab brother



Some HTML is OK

or, reply to this post via trackback.