Boot Process Flashcards

1
Q

What is Linux boot process?

A

In Linux and Unix-like computers, booting and startup are two distinct phases of the sequence of events that take place when the computer is powered on.

Theboot processes(BIOSorUEFI,MBR, andGRUB) take the initialization of the system to the point where the kernel is loaded into memory and connected to the initial ramdisk (initrd or initramfs), andsystemdis started.

Thestartup processesthen pick up the baton and complete the initialization of the operating system. In the very early stages of initialization, logging daemons such assyslogdorrsyslogdare not yet up and running. To avoid losing notable error messages and warnings from this phase of initialization, the kernel contains aring bufferthat it uses as a message store.

A ring buffer is a memory space reserved for messages. It is simple in design, and of a fixed size. When it is full, newer messages overwrite the oldest messages. Conceptually it can be thought of as a “circular buffer.”

The kernel ring buffer stores information such as the initialization messages of device drivers, messages from hardware, and messages from kernel modules. Because it contains these low-level startup messages, the ring buffer is a good place to start an investigation into hardware errors or other startup issues.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly