Welcome to our Community
Wanting to join the rest of our members? Feel free to sign up today.
Sign up

How to compile kernel for UBUNTU

Abhiram Shibu

Veteran
Jan 1, 2017
223
10
9,400
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