Preview

it linux boot process

Good Essays
Open Document
Open Document
828 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
it linux boot process
6 Stages of Linux Boot Process (Startup Sequence)
Press the power button on your system, and after few moments you see the Linux login prompt.
Have you ever wondered what happens behind the scenes from the time you press the power button until the Linux login prompt appears?
The following are the 6 high level stages of a typical Linux boot process.

1. BIOS
BIOS stands for Basic Input/Output System
Performs some system integrity checks
Searches, loads, and executes the boot loader program.
It looks for boot loader in floppy, cd-rom, or hard drive. You can press a key (typically F12 of F2, but it depends on your system) during the BIOS startup to change the boot sequence.
Once the boot loader program is detected and loaded into the memory, BIOS gives the control to it.
So, in simple terms BIOS loads and executes the MBR boot loader.
2. MBR
MBR stands for Master Boot Record.
It is located in the 1st sector of the bootable disk. Typically /dev/hda, or /dev/sda
MBR is less than 512 bytes in size. This has three components 1) primary boot loader info in 1st 446 bytes 2) partition table info in next 64 bytes 3) mbr validation check in last 2 bytes.
It contains information about GRUB (or LILO in old systems).
So, in simple terms MBR loads and executes the GRUB boot loader.
3. GRUB
GRUB stands for Grand Unified Bootloader.
If you have multiple kernel images installed on your system, you can choose which one to be executed.
GRUB displays a splash screen, waits for few seconds, if you don’t enter anything, it loads the default kernel image as specified in the grub configuration file.
GRUB has the knowledge of the filesystem (the older Linux loader LILO didn’t understand filesystem).
Grub configuration file is /boot/grub/grub.conf (/etc/grub.conf is a link to this). The following is sample grub.conf of CentOS.
#boot=/dev/sda
default=0 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-194.el5PAE)


You May Also Find These Documents Helpful

  • Good Essays

    From a cold start, the ROM chip performs a POST to make sure that all the hardware is functioning properly. Then a bootstrap program is loaded from ROM. The bootstrap program is responsible for locating and loading the operating system or IOS. By default, the bootstrap program first looks in flash memory. If flash is empty, it broadcasts for a TFTP server to see whether the router can download in IOS. Finally, if both of these attempts fail, the bootstrap program loads the basic IOS located in ROM. After a fully functional IOS is loaded, it then looks for the startup configuration file. First, it looks in NVRAM. If NVRAM is empty, it broadcasts for a TFTP server. Finally, if neither place contains a startup configuration, the IOS provides an opportunity to enter setup mode. If the network engineer decides to exit setup mode, configuration commands can be entered…

    • 1170 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    The switches in the diagram booted at the same time. Based on the information provided in the diagram fill in the chart below:…

    • 326 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Documents NETW240 Wk4 Lab

    • 1983 Words
    • 10 Pages

    During the boot up process an activity indicator will be displayed in the name tab:…

    • 1983 Words
    • 10 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1330 Unit 6

    • 953 Words
    • 4 Pages

    Command “dmesg | less “ displays the kernel ring buffer messages which are recorded during the booting…

    • 953 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    7. Place the following steps of the Windows 7 startup process in their proper order C- Power-on self-test D- Initial startup phase A- Windows boot manager phase B- Windows boot loader phase…

    • 669 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 3

    • 3151 Words
    • 13 Pages

    system. That is why one may have problems when booting from a floppy when a…

    • 3151 Words
    • 13 Pages
    Good Essays
  • Satisfactory Essays

    Nt1310 Unit 3

    • 1593 Words
    • 7 Pages

    You are installing Linux on a machine that has had a handful of other operating systems on it previously. During the installation, it becomes apparent that LILO cannot write to the master boot record because another boot loader is already there. What utility should you use to reinstall the MBR and remove what is already there?…

    • 1593 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 5 Essay

    • 437 Words
    • 2 Pages

    Nothing like the main memory (RAM), ROM remembers its data even when the computer is powered off.…

    • 437 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Is3440

    • 534 Words
    • 3 Pages

    In this lab, you practiced properly securing a Linux server system. You performed the steps to secure the bootloader, enable iptables, and run SELinux to help lock down the Linux OS. You also applied ACLs to directories and files to secure file and data access and then checked those ACLs and permissions on the system.…

    • 534 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    The reason why it mattered in older systems was that the BIOS could only access…

    • 638 Words
    • 2 Pages
    Good Essays
  • Good Essays

    8. When the system activates graphical.target (enters multiuser graphical mode; Fedora) or enters runlevel 5 (RHEL).…

    • 516 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Comp230 wk4 Ilab

    • 822 Words
    • 4 Pages

    During the boot up process an activity indicator will be displayed in the name tab:…

    • 822 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Nt1330 Unit 1 Key Terms

    • 986 Words
    • 4 Pages

    Boot loader menu - A startup menu that gives the user the choice of which operating system to load such as Windows XP or Windows Vista which are both installed on the same system, creating a dual boot…

    • 986 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    How do I know if I am running a uniprocessor kernel or a multiprocessor kernel?…

    • 3391 Words
    • 14 Pages
    Powerful Essays
  • Satisfactory Essays

    PXE Server using SLES11

    • 736 Words
    • 3 Pages

    In an effort to help automate OS installation in the Dell TechCenter lab we set up a Preboot Execution Environment (PXE) server. As written on wikipedia: "The Preboot eXecution Environment (PXE, also known as Pre-Execution Environment, or 'pixie') is an environment to boot computers using a network interface independently of available data storage devices (like hard disks) or installed operating systems."…

    • 736 Words
    • 3 Pages
    Satisfactory Essays