• Zero Spam Tolerance Policy is now in effect. Any accounts posting spam will be permanently banned without warning. Learn more

How to compile kernel for UBUNTU

Abhiram Shibu

Veteran
Legend Silver Member Lovable Master
Jan 1, 2017
223
10
127
9,400
25
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!
 

Sponsored

Topics You Missed

Latest Posts