Abstract


BIOS

  • Contains low-level IO software

  • Nowadays, stored in EEPROM which enables firmware updates to be performed electronically

  • The newer standard is called UEFI


  • The first program that starts when booting up a computer

    1. Checks Main Memory capacity
    2. Check IO Device
    3. Scanning IO Bus to detect all devices attached
    4. Determine the Boot Device by trying out a list of devices specified in the CMOS memory. (Users can press keyboard shortcut - F12, F11, Esc, F8, F9 to enter a Boot Menu and choose the boot device manually)
    5. The Boot loader inside the boot device will carry out the next step

CMOS memory

Nonvolatile BIOS memory that stores the BIOS configuration,  it needs to have a battery to preserve the data. That is why we need to take off the battery to reset the BIOS.

CMOS memory is usually included as part of a module that provides Real-time clock - Wikipedia.

Boot Device

  • Storage device that contains Master Boot Record and the OS
  • Master Boot Record is read into Main Memory to start the Boot Loader

Partition Table

Contains information about how the partitions on the disk are organized. Can be created in 2 disk partitioning schemes - Master Boot Record and GUID Partition Table (Needs UEFI BIOS)

Boot loader

  1. Examines the partition table at the end of boot sector to determine which partition is active. Providing a menu for user to select which OS to boot
  2. When an OS is selected, boot loader loads in the corresponding Kernel into the Main Memory
  3. Kernel Booting will finish up on the booting of the OS

Info

One common boot loader is Grub2.

References