The Wayback Machine - https://web.archive.org/web/20240920184956/https://www.geeksforgeeks.org/bootmanager-and-bootloader-in-operating-systems/
Open In App

BootManager and BootLoader in Operating Systems

Last Updated : 06 Jan, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

The Boot Loader and Boot Manager are one of the most important concepts of operating systems that on their own define how and which operating system(s) is(are) going to be loaded. In this article, we are going to briefly have a look at what a Bootloader and  Boot Manager is.

Boot Manager:

A Boot Manager is a software program that is responsible for the management of the booting process of the computer. It is primarily responsible for selecting the Operating System to be loaded from multiple available options. Further, it also loads the Bootloader to perform the actual loading of the Operating System. Boot Manager is the program that manages the available “bootable” Operating Systems. In a multi-boot system, Boot Manager is the program that runs at the very first in the booting process. It allows us to select the operating system to be loaded from the available systems on the machine. If you have ever installed more than one operating system on your machine you may be getting grip on this topic. The task of the Boot Manager is to ask users which Operating System they want to load into the machine or choose the default if not selected specifically. You may also recollect that timer which when runs out of time, automatically selects the default Operating System. Once the “to-be-loaded” Operating System is selected, Boot Manager loads the Boot Loader and passes control to it. A Boot Manager does not load Operating System directly on its own. This is done by Boot Loader.

Some examples of Boot Managers are:

  1. The BIOS boot manager
  2. UEFI (Unified Extensible Firmware Interface) boot manager
  3. GRub(GRand Unified Bootloader) It is both Boot Loader and Boot Manager and is popularly used for Linux – based systems.
BIOS

 

Boot Loader: 

Boot Loader is a software program that is responsible for “actually loading” the operating system once the Boot Manager has finished its work. And by loading Operating System we mean “loading the kernel of the Operating System”.  The Boot Loader is typically a part of the Operating System itself. Till the point Boot Loader starts loading the OS, there is nothing in the Main Memory of the machine.

Following are a series of tasks that a typical Boot Loader is expected to perform:

  1. Loading and parsing the Boot Configuration File.
  2. Loading and initializing the OS’s kernel into the main memory.
  3. Loading and initializing the other system components and system drivers.
  4. Finally, finish up the system environment setup and transfer the control to the kernel.

Some examples of Boot Loaders are :

  1. LILO (Linux Loader): Most popular Boot Loader for Linux – Based Machines
  2. Windows Boot Loader: Specific up to Windows Machines
  3. GRub (Boot Loader part): It is a sub-part of GRub Boot Manager.

Possibilities of a combination of Boot Loader and Boot Manager may vary from System to System and according to requirements. The specific combination that will be used will also depend on the hardware configuration and availability of other system components.



Similar Reads

How to fix GRUB Bootloader in Ubuntu?
The GRUB (Grand Unified Bootloader) bootloader is a crucial component of the Ubuntu operating system, responsible for loading the OS during the boot process. Encountering issues with the GRUB bootloader can prevent your system from starting correctly, leading to frustration and downtime. This guide will walk you through the steps to fix the GRUB bo
5 min read
Operating Systems | Input Output Systems | Question 5
Which of the following is major part of time taken when accessing data on the disk? (A) Settle time (B) Rotational latency (C) Seek time (D) Waiting time Answer: (C) Explanation: Seek time is time taken by the head to travel to the track of the disk where the data to be accessed is stored.Quiz of this Question
1 min read
Operating Systems | Input Output Systems | Question 2
We describe a protocol of input device communication below. a. Each device has a distinct address b. The bus controller scans each device in sequence of increasing address value to determine if the entity wishes to communicate. c. The device ready to communicate leaves it data in IO register. d. The data is picked up and the controller moves to ste
1 min read
Operating Systems | Input Output Systems | Question 5
From amongst the following given scenarios determine the right one to justify interrupt mode of data-transfer: Source: nptel (A) Bulk transfer of several kilo-byte (B) Moderately large data transfer but more that 1 KB (C) Short events like mouse action (D) Key board inputs Answer: (C) (D) Explanation: Both keyboard and mouse controllers typically u
1 min read
Operating Systems | Input Output Systems | Question 4
Normally user programs are prevented from handling I/O directly by I/O instructions in them. For CPUs having explicit I/O instructions, such I/O protection is ensured by having the I/O instructions privileged. In a CPU with memory mapped I/O, there is no explicit I/O instruction. Which one of the following is true for a CPU with memory mapped I/O?
1 min read
Operating Systems | Input Output Systems | Question 5
Put the following disk scheduling policies results in minimum amount of head movement. (A) FCFS (B) Circular SCAN (C) Elevator Answer: (C) Explanation: Circular scanning works just like the elevator to some extent. It begins its scan toward the nearest end and works its way all the way to the end of the system. Once it hits the bottom or top it jum
1 min read
Need and Functions of Operating Systems
The fundamental goal of an Operating System is to execute user programs and to make tasks easier. Various application programs along with hardware systems are used to perform this work. Operating System is software that manages and controls the entire set of resources and effectively utilizes every part of a computer. The figure shows how OS acts a
9 min read
CBSE Class 11 | Mobile Operating Systems - Symbian, Android and iOS
Symbian It is a dropped mobile operating system and digital platform developed for smartphones. It was initially developed for a closed-source operating system for personal digital assistant in 1988 by Symbian Ltd. It was used by many popular brands named as Samsung, Sony Ericsson, Nokia, etc. The OS of Symbian contains two components: microkernel
6 min read
Static and Dynamic Linking in Operating Systems
Static Linking: When we click the .exe (executable) file of the program and it starts running, all the necessary contents of the binary file have been loaded into the process's virtual address space. However, most programs also need to run functions from the system libraries, and these library functions also need to be loaded. In the simplest case,
3 min read
Process Creation and Deletions in Operating Systems
Prerequisite - States of a Process in Operating Systems There are two basic operations that can be performed on a process: Creation and Deletion. They are explained as Process creation: 1. When a new process is created, the operating system assigns a unique Process Identifier (PID) to it and inserts a new entry in the primary process table. 2. Then
2 min read
Difference between “Dispatch Latency” and “Context Switch” in operating systems
A process in a multitasking system is brought from the secondary memory to the main memory and sometimes switched back to the secondary memory. Thus, there are several states of a process throughout its lifecycle. Context Switching is an important part of that whole lifecycle. Dispatcher is a module that gives control of the CPU to the process sele
4 min read
Starvation and Aging in Operating Systems
Starvation occurs when a process in the OS runs out of resources because other processes are using it. This is a problem with resource management while Operating systems employ aging as a scheduling approach to keep them from starving. It is one of the most common scheduling algorithms in batch systems. Each process is assigned a priority. The proc
6 min read
Difference Between 32-bit and 64-bit Operating Systems
In computing, there are two types of processors existing, i.e., 32-bit and 64-bit processors. These types of processors tell us how much memory a processor can access from a CPU register. For instance, A 32-bit system can access 232 different memory addresses, i.e. 4 GB of RAM or physical memory ideally, it can access more than 4 GB of RAM also. A
5 min read
Difference between Operational Systems and Informational Systems
1. Operational Systems : An operational system is a generally known term in data warehousing that specifies a system which is used to maintain records of daily business transactions in an organization. Operational system is also termed as Online Transaction Processing (OLTP). Operational systems have to deal with the running data values and consist
3 min read
Heterogeneous and other DSM systems | Distributed systems
A distributed shared memory is a system that allows end-user processes to access shared data without the need for inter-process communication. The shared-memory paradigm applied to loosely-coupled distributed-memory systems is known as Distributed Shared Memory (DSM). Distributed shared memory (DSM) is a type of memory architecture in computer scie
7 min read
Introduction to Signals and Systems: Properties of systems
In this article, we will go through Signal and systems, First, we will define what is a signal and what is a system, then we will go through the calculation of the Energy and Power of Signals with their transformation, At last we will conclude our article with Properties, Applications and some FAQs. Table of Content What are Signals ?What is a Syst
6 min read
Operating Systems - GATE CSE Previous Year Questions
Solving GATE Previous Year's Questions (PYQs) not only clears the concepts but also helps to gain flexibility, speed, accuracy, and understanding of the level of questions generally asked in the GATE exam, and that eventually helps you to gain good marks in the examination. Previous Year Questions help a candidate practice and revise for GATE, whic
4 min read
Operating Systems | Set 2
Following questions have been asked in GATE CS exam. 1. Consider a machine with 64 MB physical memory and a 32-bit virtual address space. If the page size is 4KB, what is the approximate size of the page table? (GATE 2001) (a) 16 MB (b) 8 MB (c) 2 MB (d) 24 MB Answer: (c) Explanation: A page entry is used to get address of physical memory. Here we
4 min read
Operating Systems | Set 4
Following questions have been asked in GATE CS exam. 1. Using a larger block size in a fixed block size file system leads to (GATE CS 2003) a) better disk throughput but poorer disk space utilization b) better disk throughput and better disk space utilization c) poorer disk throughput but better disk space utilization d) poorer disk throughput and
3 min read
Operating Systems | Set 5
Following questions have been asked in GATE 2012 exam. 1. A process executes the code fork (); fork (); fork (); The total number of child processes created is (A) 3 (B) 4 (C) 7 (D) 8 Answer (C) Let us put some label names for the three lines fork (); // Line 1 fork (); // Line 2 fork (); // Line 3 L1 // There will be 1 child process created by lin
3 min read
Operating Systems | Set 6
Following questions have been asked in GATE 2011 CS exam. 1) A thread is usually defined as a 'light weight process' because an operating system (OS) maintains smaller data structures for a thread than for a process. In relation to this, which of the followings is TRUE? (A) On per-thread basis, the OS maintains only CPU register state (B) The OS do
4 min read
Operating Systems | Set 10
Following questions have been asked in GATE 2008 CS exam. 1) The data blocks of a very large file in the Unix file system are allocated using (A) contiguous allocation (B) linked allocation (C) indexed allocation (D) an extension of indexed allocation Answer (D) The Unix file system uses an extension of indexed allocation. It uses direct blocks, si
3 min read
Operating Systems | Set 7
Following questions have been asked in GATE CS exam. 1) Let the time taken to switch between user and kernel modes of execution be t1 while the time taken to switch between two processes be t2. Which of the following is TRUE? (GATE CS 2011) (A) t1 > t2 (B) t1 = t2 (C) t1 2) A system uses FIFO policy for page replacement. It has 4 page frames with n
3 min read
Operating Systems | Set 8
Following questions have been asked in GATE 2009 CS exam. 1) In which one of the following page replacement policies, Belady’s anomaly may occur? (A) FIFO (B) Optimal (C) LRU (D) MRU Answer (A) Belady's anomaly proves that it is possible to have more page faults when increasing the number of page frames while using the First in First Out (FIFO) pag
3 min read
Operating Systems | Set 9
Following questions have been asked in GATE 2009 CS exam. 1) In the following process state transition diagram for a uniprocessor system, assume that there are always some processes in the ready state: Now consider the following statements: I. If a process makes a transition D, it would result in another process making transition A immediately. II.
3 min read
Operating Systems | Set 11
Following questions have been asked in GATE 2008 CS exam. 1) A process executes the following code for (i = 0; i The total number of child processes created is (A) n (B) 2^n - 1 (C) 2^n (D) 2^(n+1) - 1; Answer (B) F0 // There will be 1 child process created by first fork / \ F1 F1 // There will be 2 child processes created by second fork / \ / \ F2
3 min read
Operating Systems | Set 12
Following questions have been asked in GATE CS 2007 exam. 1) Consider a disk pack with 16 surfaces, 128 tracks per surface and 256 sectors per track. 512 bytes of data are stored in a bit serial manner in a sector. The capacity of the disk pack and the number of bits required to specify a particular sector in the disk are respectively: (A) 256 Mbyt
3 min read
Operating Systems | Set 13
Following questions have been asked in GATE CS 2007 exam. 1) A virtual memory system uses First In First Out (FIFO) page replacement policy and allocates a fixed number of frames to a process. Consider the following statements: P: Increasing the number of page frames allocated to a process sometimes increases the page fault rate. Q: Some programs d
4 min read
Operating Systems | Set 14
Following questions have been asked in GATE CS 2006 exam. 1) Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at times 0, 2 and 6, respectively. How many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm? Do not count the context switches at t
3 min read
Operating Systems | Set 15
Following questions have been asked in GATE CS 2006 exam. 1) Consider three processes (process id 0, 1, 2 respectively) with compute time bursts 2, 4 and 8 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest pr
4 min read