101-500 practice question 3 of 30

During a system boot cycle, what program is executed after the BIOS completes its tasks?

Full set: 246 questions
Answer options
A: The bootloader Correct answer
B: The inetd program
C: The init program
D: The kernel
Correct Answer:
A. The bootloader
Explanation

The system boot process follows a specific sequence. After the BIOS (Basic Input/Output System) or UEFI (Unified Extensible Firmware Interface) performs the Power-On Self-Test (POST) and initializes hardware, its final task is to locate and transfer control to the bootloader. The bootloader is a small program, typically located in the Master Boot Record (MBR) or an EFI System Partition (ESP), whose job is to load the Linux kernel into memory and execute it.

Why Incorrect

B. The inetd program: This is a network super-server daemon started much later in the boot process by the init system.
C. The init program: init (or systemd) is the first user-space process (PID 1) and is started by the kernel, which is after the bootloader.
D. The kernel: The kernel is loaded by the bootloader. Therefore, the bootloader must be executed first.

References

1. Red Hat Enterprise Linux 8 Installation Guide, Chapter 26. The boot process. Section 26.1. "The boot process". It explicitly states: "1. The system BIOS or UEFI initializes the hardware. 2. The BIOS or UEFI loads the boot loader from the MBR...".

2. The Linux Documentation Project (LDP), "Linux Boot Process" by Kim Oldfield. The document outlines the sequence as: BIOS -> MBR (Bootloader) -> GRUB (Bootloader) -> Kernel -> Init -> Runlevel.

3. MIT OpenCourseWare, 6.828 Operating System Engineering, Fall 2012, Lecture 3: The Boot Process. The lecture notes describe the PC boot sequence where the BIOS loads the boot sector (bootloader) from a disk.

Scroll to Top