Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Der Bootprozess

Ablauf

  1. Power on
  2. BIOS POST
  3. BIOS Lädt die ersten 46 Byte
  4. Bootloader lädt das OS
  5. OS Lädt Treiber, stellt RootFS, und lädt init
  6. init startet Bootscript, Runlevelscripte, und getty (für login)

Bootloader

Grub - Grand Unified Bootloader

  • komplex
  • Kann Dateisystemzugriff
  • Interaktive Shell
  • (meist) Standard
  • Konfiguration: /boot/grub/menu.lst (Partition 1 auf 1. Festplatte: hd0,0)

Lilo - Linux Loader

  • Kann keine Dateisysteme lesen (nur von Sektoren booten)
  • Neue Config == Neue Installation
  • Konfiguration: /etc/lilo.conf

Kernelparameter

Geben dem System spezielle Optionen mit auf den Weg

  • init=Programm: Startet Programm anstatt /sbin/init
  • rw/ro: Rootpartition mit/ohne Schreibrecht einhängen
  • runlevel: Gewünschtes Runlevel
  • single: Einbenutzermodus/Rootmodus/Single-User-Mode
  • mem=groesse: max. RAM Benutzung
  • maxcpus: max. benutzbare CPUs
last update 28c8a08 • 2024-01-28 12:40:56 +0100