BIOS and Bootloader: Guoyong Li Jinwen Xu
BIOS and Bootloader: Guoyong Li Jinwen Xu
GUOYONG LI
JINWEN XU
BIOS=Basic Input Output System
If the computer does not pass the POST, you will receive a combination of
beeps indicating what is malfunctioning within the computer.
Runs quickly, stop without booting up
Happens early, speaker is used
diagnose hardware problems with your PC.
POST boot errors are fatal(halt the boot process immediately)
Bootstrap loader
BIOS program reads information from the CMOS chip during boot up process
CMOS setup, not the BIOS setup
BIOS chip can only be updated by manufacturer(BIOS flash program)
Dual-BIOS
BIOS is the very first step when you press power button on your CPU. BIOS is
a small firmware stored in ROM of mother board which is manufacturer
dependent code.
Boot loader is a program which is called by BIOS and once again initializes
boot related hardware and finally boot loader is the one who exactly
Knows(memory location) where the Kernel image is.
Bootloader of Linux
LILO
GRUB
Stage 1 is located in the MBR and mainly points to Stage 2, since the MBR is
too small to contain all of the needed data.
Stage 1.5 also exists and might be used if the boot information is small
enough to fit in the area immediately after MBR.
Stage 2 points to its configuration file, which contains all of the complex
user interface and options we are normally familiar with when talking
about GRUB. Stage 2 can be located anywhere on the disk. If Stage 2
cannot find its configuration table, GRUB will cease the boot sequence
and present the user with a command line for manual configuration.
How does GRUB work?
GRUB(GRand Unified Bootloader)
dynamically configurable
can load operating systems from many locations
can be run from or be installed to any device
Booting
Sourse:
usr/share/grub/i386-redhat/
Summary
Bios
BIOS vs. CMOS RAM
Dual-BIOS
BIOS vs. Bootloader
GRUB
Thank you!