Language Selection

English French German Italian Portuguese Spanish

How To Compile A Kernel - The Ubuntu Way

Filed under
HowTos

Each distribution has some specific tools to build a custom kernel from the sources. This article is about compiling a kernel on Ubuntu systems. It describes how to build a custom kernel using the latest unmodified kernel sources from www.kernel.org (vanilla kernel) so that you are independent from the kernels supplied by your distribution. It also shows how to patch the kernel sources if you need features that are not in there.

1 Preliminary Note

I prefer to do all the steps here as the root user. So if you haven't already created a root login, you should do so now:

sudo passwd root

Afterwards, log in as root:

su

If you would like to work as a normal user instead of root, remember to put sudo in front of all the commands shown in this tutorial. So when I run

apt-get update

you should run

sudo apt-get update

Instead, etc.

Full Article.

More in Tux Machines

Leftovers: KDE Software

  • PyKDE Future: Seeking a New Maintainer
    For anyone who has been paying any attention of PyKDE5 over the last year or so, it is no secret that development and maintenance has been at a standstill. I've been very busy with a family and small children, and that eats time like you wouldn't believe. (Unit number 2 is almost 6 months now, healthy and happy I can report.) But another important factor is that my interests have shifted towards web related technologies over the last few years.
  • KDE 5_15.03 for Slackware-current
    qt-kde-620x350Here’s the latest and greatest of KDE’s software collection (Frameworks, Plasma, Applications). SInce my last ‘ktown’ release, all of KDE’s sources have been renewed, and today I am making public a package set for KDE 5 aka Plasma 5 with version 5_15.03: my March ’15 release.

OpenELEC 5.0.7 released

The OpenELEC team is proud to announce OpenELEC 5.0.7. OpenELEC-5.0 is the next stable release, which is a feature release and the successor of OpenELEC-4.2. Read more

Dekko 0.5 Beta (Email Client For Ubuntu Touch) Has Been Released

As you may know, Canonical has started working at Dekko, its own email client for Ubuntu Touch, using the lightweight Trojita email client as code-base. Read more

Running FreeBSD on the server: a sysadmin speaks

For years now, Linux has been all the rage. But in recent times, there have been murmurings among some veterans — long-time users — after the introduction of systemd, the init system that seems to overstep its boundaries. Read more