About BIOS-Based Booting
On a BIOS-based system running the Oracle Linux release, the boot process is as follows:
-
The system's BIOS performs a power-on self-test (POST), and then detects and initializes any peripheral devices and the hard disk.
-
The BIOS reads the Master Boot Record (MBR) into memory from the boot device. The MBR stores information about the organization of partitions on that device, the partition table, and the boot signature which is used for error detection. The MBR also includes the pointer to the boot loader program (GRUB 2), usually on a dedicated
/boot
partition on the same disk device. -
The boot loader loads the
vmlinuz
kernel image file and theinitramfs
image file into memory. The kernel then extracts the contents ofinitramfs
into a temporary, memory-based file system (tmpfs
). -
The kernel loads the driver modules from the
initramfs
file system that are needed to access the root file system. -
The kernel searches for the
init
process withininitramfs
and starts the defined process with a process ID of 1 (PID 1). On Oracle Linux, the defaultinit
process is configured assystemd
. See Oracle Linux 8: Managing the System With systemd for more information. -
systemd
runs any other processes defined for it.Note:
Specify any other actions to be processed during the boot process by defining
systemd
units. This method is preferred to using the/etc/rc.local
file.