Compiling a kernel

From FreekiWiki
Revision as of 16:36, 15 January 2006 by Matteo (talk | contribs) (Category:Classes)
Jump to navigation Jump to search

Syllabus

Version

  • 2.4
  • 2.6
  • 2.2
  • patches

Where to get the source

Configuration

  • make mrproper
  • make config/menuconfig/xconfig
  • builtin vs module

Points of interest

  • drivers
  • processor
  • filesystems
  • networking
  • &c.

Compiling

  • (2.4) make dep && make bzImage modules modules_install
  • (2.6) make && make modules_install
  • kpackage (debian)

Installing

  • bzImage
  • System.map
  • /boot
  • modules

Prerequisites

  • ass
  • core
  • coders
  • adv. builder
  • build instructor

Further reading

  • linux documentation project
  • the 'help' menus
  • linux from scratch
  • google 'linux compiling kernel

Time estimate

  • 1 hour 20 minutes
  • version: 15 minutes
  • where: 10 minutes
  • config: 25 minutes
  • compiling: 15 minutes
  • installing: 15 minutes