×

Booting Process in Operating System

What is Booting?

Booting is defined as the term which says that the process of loading the operating system into the memory. The process of booting begins when we switch on the computer and carry on until it is ready for use. In case of DOS also known as disk operating system, the booting procedure begins when we switch on the computer until the DOS prompt is displayed. It mainly deals with 3 main file system of DOS into memory. These files are IO.SYS, MSDOS.SYS and .COMMAND.COM.

Booting Process in OS

Operating system generally performs all the basic processes such as managing files, processes and memory. Thus the operating system plays the role of manager of all the resources. That’s why the operating system is also known as the interface between the user and the hardware.

There are mainly 5 types of operating systems:

  1. Batch operating system: This is a kind of operating system which interacts with the computer. The idle time of batch operating system is very less. It easily manages huge work on batch.
  2. Time sharing operating system: In this type of operating system, every task is assigned with some amount of time to execute.
  3. Distributed operating system: In this type of operating system, user can access the files as well as software which are not included in his system. In this OS, system delay in data processing reduces.
  4. Network operating system: This type of operating system executes on a server and issues the capability of managing data and networking functions.
  5. Real time operating system: This type of operating system is designed for real time activities. For example, life saving activities such as automatic airbags in automobiles for safety purpose in case of extreme accident.

During the booting process of DOS, the following steps are implemented when we switch on the computer:

  1. When the system is switched on, BIOS (Basic Input/Output System) implements a series of activities or performance test on programs stored in ROM, called on power on self test (POST) that examine to know whether the peripherals in the system are in perfect order or not.
  2. After the BIOS is performed with pre boot activities and performance test, it reads bootable sequence from CMOS (Common Metal Oxide Semiconductor) and search for the master boot record in initial physical sector of the bootable disk as per boot service sequence described in CMOS.
    For example, the boot device sequence
    Floppy disk
    Hard disk
    CDROM
  3. In the next stage, the master boot record will be explored first in a floppy disk drive. If not found then the hard disk will be explored for master boot record. But if the master boot is also not present in the hard disk, we have to search in the CDROM drive. After that if the master boot is not read by any of the mention sources then the ROM displays that “NO BOOT Device Found” and system is discontinued. On uncovering master boot record from as particular bootable drive, OS loader (also known as bootstrap loader) is loaded form boot sector of bootable drive into memory. Bootstrap is type of program which is present in boot sector of bootable device.
  4. Bootstrap loader first loads the IO.SYS file and MSDOS.SYS file and load it in core file of DOS system.
  5. MSDOS.SYS explores to find the command interpreter in CONFIG.SYS file and when it is found it loads into the memory. If command interpreter is not present in the CONFIG.SYS file then the command file is loaded as default command interpreter of DOS system.
  6. AUTOEXEC.BAT is one of the most important file which is loaded in the last. It carries a sequence of DOS commands. In the next step, prompt is displayed, and we can see the bootable device appeared on the computer system. All these 6 methods are most important and explain the booting in DOS system.

Classification of Booting

  1. Switch booting: When a user switches on the computer system, the operating system is loaded from disk to main memory. This type of booting is known as switch booting. It consumes more time than the hot and warm booting. It is also known as cold booting.
  2. Warm booting: This type of booting is performed when computer is in a hang state or in a situation in which the computer gives no response. Computer doesn’t respond to commands provided by the users. There are multiple reasons behind the hang state of a computer. It can be fixed by rebooting the device by using restart or reset button on cabinet. You can also follow the shortcut key combination ALT+CTRL+DEL to restart the computer.

Related Topics

Difference between Seek Time and Disk Access Time in Disk Scheduling

Seek Time The time taken for the hard disk controller to detect a specific piece of recorded data is known as the seek time. The amount of time it takes to...

4 minutes read.

Need of Operating System

There are various needs of operating system: Managing Input-Output UnitThe Operating system as a platform for application programsMultitaskingConsistent user interface Managing Input-Output Unit: - With the help of the operating system, the...

2 minutes read.

Memory Management in Operating System

The term "Main Memory" refers to the computer's internal physical memory. It is distinguished from external mass storage devices like disk drives by using the term "main." RAM is another...

4 minutes read.

Components of Operating System

Components of Operating System: An operating system is a complex and vast system. We can only create the operating system by dividing it into small parts. Each part must be...

5 minutes read.

What is Demand Paging?

Demand Paging is defined as a process in which the pages are loaded into the memory (when the page fault occurs) or on-demand. It consists of the following steps: If there is...

4 minutes read.

N-Step-SCAN Disk Scheduling

Before you study about N-Step-SCAN Disk Scheduling, it requires prerequisite of what is Disk Scheduling Algorithms: Operating systems use disc scheduling to schedule I/O requests that arrive at the disc....

4 minutes read.

Thrashing in Operating System

A virtual memory system's poor performance when the same pages are loaded repeatedly due to a lack of main memory to store them in secondary memory is referred to as...

3 minutes read.

Inter Process Communication in Operating System

Inter-Process Communication or IPC refers to the methods and techniques that allow processes (programs or tasks) to communicate with each other within a computer system. This is typically done through...

3 minutes read.

Difference between C-SCAN and SSTF Disk Scheduling Algorithm

C-SCAN / Circular Elevator The circular SCAN (C-SCAN) scheduling method is a modified version of the SCAN disc scheduling technique that addresses the SCAN algorithm's inefficiency by more equitably serving requests....

3 minutes read.

5 Goals of Operating System

An Operating System (OS) is system software that acts as an interface or bridge between the hardware of a computer and the end user. Operating System reduces the communication barrier between the...

4 minutes read.

Page Table in Operating System

What is a Page Table? A page table is a data structure used by an operating system (OS) to store information about the physical location of the pages in a computer's...

6 minutes read.

Single-User Operating System

An operating system designed and intended to be used on a computer or device with a single user at a time is known as a single-user operating system. Devices like...

8 minutes read.

Difference between Multi-programming and Multitasking

Difference between Multiprogramming and Multitasking         Multiprogramming  Multitasking In Multiprogramming, at the same time, we can run the multiple processes concurrently on one...

2 minutes read.

Turn Variable or Strict Alternative Approach

Turn Variable or Strict Alternative Approach Turn Variable Approach is used for process synchronization mechanism, which offers synchronization between two processes. Turn variable is implemented on user mode, and it is a software mechanism. We...

3 minutes read.

Types of Operating System

There are various types of operating system: Simple Batch Operating SystemMultiprogramming batch Operating SystemTime-sharing Operating SystemMultiprocessor Operating SystemDistributed Operating SystemNetwork Operating SystemReal-time Operating SystemMobile Operating System Simple Batch operating system In the simple batch operating system, there is no direct communication between...

6 minutes read.

Strategies for Handling Deadlock

Strategies for Handling Deadlock The Strategies for handling Deadlock are: Deadlock IgnoranceDeadlock PreventionDeadlock AvoidanceDeadlock Detection and Recovery Deadlock Ignorance Deadlock Ignorance is the most popular deadlock handling strategy. We can use this in the various operating systems for...

2 minutes read.

What is Deadlock in OS?

Deadlock in Operating System In an Operating System, a process uses various resources, and the resources are used in the following manner: Request the ResourceUse the ResourceRelease the Resource In the Operating System, Deadlock is a condition...

4 minutes read.

Operating System Properties

The Properties of Operating System are: Batch processingMultitaskingMulti-programmingInteractivityReal-Time SystemDistributed Environmentspooling 1. Batch Processing In Batch Processing, the OS first gathers the data and programs together in a batch, then processing starts. The operating system...

3 minutes read.

Kernel in OS

What is Kernel in OS? The kernel is the core component in the operating system. The job of the kernel is to handle the communication between the hardware and the software. ...

2 minutes read.

FCFS (First-Come-First-Serve) Disk Scheduling Algorithm

FCFS Disk Scheduling Algorithm FCFS (First-Come-First-Serve) is the easiest disk scheduling algorithm among all the scheduling algorithms. In the FCFS disk scheduling algorithm, each input/output request is served in the order...

4 minutes read.