Welcome to ARC Forums

Join our group of tech enthusiasts and Android developers

How to compile kernel for UBUNTU

Discussion in 'Linux' started by Abhiram Shibu, Mar 6, 2017.

  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. Abhiram Shibu

    Abhiram Shibu The Reaper
    Staff Member

    89
    57
    910
    Ratings:
    +57 / 0 / -0
    This will guide you to compile latest kernel from kernel.org for Ubuntu.
    Code:
              #include<warning.h>
              #include<Idontcare.h>
                          This guide is to tried out in a machine, which is not your daily driver.
                                  When u are confident you can try it on you daily driver machine.
                                         I will not protect you against data losses. 
                                                      Be responsible for your own action
               If you follow this guide there will not be any issues!
    

    Download

    The Linux Kernel Archives
    Config file - hastebin
    STEPS
    1. Download and extract latest kernel from kernel.org
    2. Make a empty file .config in that kernel extracted dir.
    3. Copy contents from config file (link) to that file
    4. Open terminal in that dir and run make -j 8
    5. Now run make modules-install install
    6. Wola.. you have complied and installed your first kernel!
     
    • Like Like x 2
  2. Abhiram Shibu

    Abhiram Shibu The Reaper
    Staff Member

    89
    57
    910
    Ratings:
    +57 / 0 / -0
    Reserved for improvements!
     
  3. Rushi Chaudhari

    Rushi Chaudhari HummingBird

    5
    3
    320
    Ratings:
    +3 / 0 / -0
    now one tut for android kernel :p
     
  4. vikas

    vikas ARC Initiate

    2
    1
    60
    Ratings:
    +1 / 0 / -0
    thanks for this tutorial ;)
     
  5. sourabh005

    sourabh005 The Reaper

    28
    13
    900
    Ratings:
    +13 / 0 / -0
    thanks for the tutorial :cool:
     

Share This Page