Results 1 to 1 of 1

Thread: Geeky stuff part 2 : Making your own kernel Get the source

  1. #1
    Jedi knight Luke Skywalker's Avatar
    Join Date
    Jul 2009
    Age
    23
    Liked
    0 times
    Posts
    2,175

    Default Geeky stuff part 2 : Making your own kernel Get the source

    In this thread & next thread we are gonna compile the linux kernel.

    Contrary to popular people believe compiling a kernel is not difficult. & Yes whatever the ubuntu site says it is perfectly safe to compile your kernel & if you have trouble just ask those who do & you will get noticeable performance boost not just vague from 10 to 40 %. Your system can not break. That is a great lie. Major trouble is compiling & developing anything on it is major trouble. But I am giving hints for every distro.
    Ubuntu:
    sudo apt-get build-dep linux
    sudo apt-get install linux-source libncurses5 libncurses5-dev wget
    Now common to all:
    First get the kernel from here:
    wget http://www.kernel.org/pub/linux/kern...6.32.7.tar.bz2
    wget http://www.kernel.org/pub/linux/kern...h-2.6.32.7.bz2
    Extract the patch
    tar -xjvf patch-2.6.32.7.bz2
    I am considering you are all in your home directory.
    Now go to /usr/src directory.
    /usr/src/linux

    Now extract the above:
    tar -xjvf ~/linux-2.6.32.7.tar.bz2

    Go to the kernel source directory:
    cd linux-2.6.32.7

    Now apply patch
    patch -p1 ~/patch-2.6.32.7

    Now type
    sudo lspci

    Note down in a file or memorize them

    Now type
    sudo make menuconfig

    Now you will get options choose which apply.
    Some of the must:
    To be continued....
    Last edited by Luke Skywalker; 02-05-10 at 07:19 PM.
    History is on the move,my friends.Those who cannot keep up will be left behind, to watch from distance.And those who stand in its way will not watch at all.
    To view links or images in signatures your post count must be 100 or greater. You currently have 0 posts.

    People are going to tell stories about me none of which change who I really am.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 02-05-10, 09:10 PM
  2. Geeky stuff Part 1: Optimizing your compiler
    By Luke Skywalker in forum Linux
    Replies: 2
    Last Post: 02-04-10, 10:30 PM