Ubuntu kernel

From Attie's Wiki
Revision as of 15:04, 6 October 2011 by Attie (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page outlines steps to compile the Ubuntu kernel (why can't it be simple!) with a 10.04 host machine

  • First off, get the relevant source. Ubuntu's Git Guide or download the tar.
  • Install billions of packages:
sudo su -
# the ones they tell you about
apt-get install git git-core libnewt-dev
apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge
apt-get build-dep linux
apt-get install libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev
# and the ones they dont...
apt-get install libdw-dev
exit
  • Copy in your config (from /proc/config.gz or /boot/config-* or /boot/config-`uname -r`)
  • Execute some awesome (and largely wasteful) commands:
fakeroot debian/rules clean
skipabi=true skipmodule=true fakeroot debian/rules binary-indep

For the helping pages see 1 2 3

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox