About

Use this tag for issues related to booting the operating system, from power on to loading the kernel. Use for issues that come up during the startup of the operating system itself.

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

  • for what happens after the kernel is loaded
  • for bootloaders in general
  • if you have more than one operating system

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