About

Overview of a computer boot sequence

When a computer boots, it first runs firmware stored in persistent memory. On PCs, this firmware is called the BIOS. If you have a problem at this stage, it's off-topic for this site, since Unix is not involved yet, but try asking on Super User.

The firmware then loads a bootloader, typically from disk or from the network. Although bootloaders are not part of the operating system proper, questions about bootloaders typically associated with unix and Linux are welcome on this site.

The bootloader loads the operating system . The kernel initializes itself and some hardware devices, then on typical Unix systems runs the init program. Init in turn starts system services, including programs that present a login prompt.

Related tags

Bootloaders

  • (and ): a versatile bootloader used by many Linux distributions
  • : the traditional bootloader for Linux on PCs

Kernel boot sequence

  • , : on Linux, a virtual RAM disk that is loaded by the kernel before the “real” OS starts. The code in the RAM disk typically loads additional drivers (modules).

Unix boot sequence

  • : process number 1
  • : scripts that start and stop services, invoked by init at boot time
  • : a replacement for the traditional init program

Further reading

history|show excerpt|excerpt history