×

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.

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.

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.

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.

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.

Feedback Queue in Operating System

In a computer or a laptop, there is a processor which do all the tasks. The processor cannot do all the tasks at a time. So, the tasks will be...

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

Round-Robin Scheduling Algorithm in OS

Round-Robin is a Preemptive Scheduling Algorithm and is the most commonly used algorithm in CPU Scheduling.In this, each Process is assigned with a fix time interval to execute, which is...

5 minutes read.

Operating System Services

The Operating System provides various types of services:   I/O operationProgram executionFile system manipulationCommunicationError HandlingResource allocationAccountingProtection 1. I/O Operation: - To execute a program, needs I/O, which consists of a file, or I/O device. Due to the protection...

3 minutes read.

Android Operating System

What is Android Operating System? Android is a Linux-based and open-source operating system mainly established for mobile devices like tablet computers and Smartphones. The Android operating system was established by the...

5 minutes read.

Difference between C-LOOK and C-SCAN Disk Scheduling Algorithm

Disk scheduling is used by operating systems to arrange the arrival of I/O requests to the disc. I/O scheduling is another name for disc scheduling. Disk scheduling is necessary because...

4 minutes read.

Disk Scheduling Algorithms

Disk Scheduling Algorithms Disk scheduling algorithms are the algorithms that are used for scheduling a disk. Generally, the scheduling refers to a time-table for completing any task or a job. With the help...

2 minutes read.

Fixed Partitioning in Operating System

Fixed Partitioning in OS Fixed Partitioning is also known as Contiguous memory allocation. Fixed Partitioning is the easiest method, which is used to load more than one process into the main memory. In Fixed...

5 minutes read.

Producer-Consumer Problem in OS

What is Producer-Consumer Problem? The Producer-Consumer problem is a classical problem. The Producer-Consumer problem is used for multi-process synchronization, which means synchronization between more than one processes. In this problem, we have one producer...

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

Process Management in OS

A Program will not do anything unless a CPU executes its instructions. An executing program is called a process. The Process requires computer resources to complete its task. More than...

3 minutes read.

Difference between Process and Program in the Operating System

What is a process in the Operating System? A process is a program that is going through the execution. It also helps us to execute all the lines of code in...

4 minutes read.

Difference between SSTF and LOOK Disk Scheduling Algorithm

Shortest Seek Time First / SSTF Shortest Seek Time First (SSTF) is an acronym for "shortest seek time first." The task request that is closest to the present position of the...

4 minutes read.

Multi-user Operating Systems

Introduction Since only one user may interact with the computer at any given time, the operating system we use on our personal computers, laptops, tablets, and phones is sometimes referred to...

8 minutes read.

Virtual Memory in Operating System

What is Virtual Memory Virtual Memory is a storage scheme in which the users have an illusion that users have a significant amount of Main Memory. We can perform this by taking a...

3 minutes read.