×

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

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.

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.

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.

CPU Scheduling in OS

What is Scheduling? Scheduling is the process that is used to share the computing resources such as memory, processor time, and bandwidth to the different processes, data flows, threads, and applications that need...

5 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.

Deadlock Prevention in Operating System

Deadlock Prevention The conditions which we used for deadlock prevention are: Mutual ExclusionHold and WaitNo PreemptionCircular Wait 1. Mutual Exclusion: - From the resource point of view, the mutual exclusion means that simultaneously more...

4 minutes read.

Semaphore in Operating System

What is Semaphore in Operating System Semaphore is defined as an integer variable which is used to solve the problem of the critical section in process synchronization. In semaphore, we use...

3 minutes read.

Unix Operating System

Unix Operating System Unix Operating System is a multiuser, portable, time-sharing, and multitasking operating system that was developed in 1969. Unix operating system was developed by a group of AT &...

3 minutes read.

Why is it critical for the Scheduler to distinguish between I/O-bound and CPU-bound programs

A CPU-bound process is one that spends most of its time executing instructions on the processor. A process that is I/O-bound spends most of its time waiting for input and...

2 minutes read.

Operating System Tutorial

What is an Operating System? An Operating System is a System Software that handles the resources of a computer such as computer hardware and software and offers frequent services to the...

7 minutes read.

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.

Trap vs Interrupt in Operating System

What is Trap in Operating System? A trap is a synchronous interrupt used to perform functionality when an error occurs in a user process. A trap in an operating system can...

4 minutes read.

What is Scheduling on OS

Scheduling is the process which is used to share the computing resources such as memory, processor time, and bandwidth to the different processes, data flows, threads, and applications which need them. Scheduling is...

5 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.

SCAN Disk Scheduling Algorithm

SCAN Disk Scheduling Algorithm The SCAN disk scheduling algorithm is another type of disk scheduling algorithm. In this algorithm, we move the disk arm into a specific direction (direction can be moved towards...

4 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.

Can a Computer Run Without the Operating System

Computers may function right out of the box, mostly due to operating systems. Nowadays, there are probably already some pre-installed apps in a new computer when you buy one. Have...

9 minutes read.

MS-DOS Operating System

It is also referred to occasionally as "DOS", an abbreviation for disc operating systems. Operating systems with a graphical user interface (GUI) in different iterations of the graphical Microsoft Windows...

5 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.

Banker’s Algorithm in Operating System

What is Banker’s Algorithm? Bankers algorithm is an algorithm which is used for deadlock avoidance and resource allocation. It was established by Edsger Dijkstra. The reason behind the name ‘banker’s algorithm’...

8 minutes read.