Boot Block | Operating System - Computer Science Engineering (CSE) PDF Download

Boot Block in Operating System

Basically for a computer to start running to get an instance when it is powered up or rebooted it need to have an initial program to run. And this initial program which is known as bootstrap needs to be simple. It must initialize all aspects of the system, from CPU registers to device controllers and the contents of the main memory, and then starts the operating system.
To do this job the bootstrap program basically finds the operating system kernel on disk and then loads the kernel into memory and after this, it jumps to the initial address to begin the operating-system execution. 

Why ROM

 

For most of today’s computer bootstrap is stored in Read Only Memory (ROM). 

  1. This location is good for storage because this place doesn’t require initialization and moreover location here is fixed so that processor can start executing when powered up or reset.
  2. ROM is basically read-only memory and hence it cannot be affected by the computer virus.

The problem is that changing the bootstrap code basically requires changes in the ROM hardware chips. Because of this reason, most system nowadays has the tiny bootstrap loader program in the boot whose only job is to bring the full bootstrap program from the disk. Through this now we are able to change the full bootstrap program easily and the new version can be easily written onto the disk.
The full bootstrap program is stored in the boot blocks at a fixed location on the disk. A disk that has a boot partition is called a boot disk. The code in the boot ROM basically instructs the read controller to read the boot blocks into the memory and then starts the execution of code. The full bootstrap program is more complex than the bootstrap loader in the boot ROM, It is basically able to load the complete OS from a non-fixed location on disk to start the operating system running. Even though the complete bootstrap program is very small.
Example:
Let us try to understand this using an example of the boot process in Windows 2000.
The Windows 2000 basically stores its boot code in the first sector on the hard disk. Moreover, Windows 2000 allows the hard disk to be divided into one or more partitions. This one partition is basically identified as the boot partition which basically contains the operating system and the device drivers.
Booting in Windows 2000 starts by running the code that is placed in the system’s ROM memory. This code directs the system to read code directly from MBR. In addition to this, boot code also contains the table which lists the partition for the hard disk and also a flag that indicates which partition is to be boot from the system. Once the system identifies the boot partition it reads the first sector from the memory which is known as a boot sector and continues the process with the remainder of the boot process which includes loading of various system services.
The following figure shows the Booting from disk in Windows 2000:
Boot Block | Operating System - Computer Science Engineering (CSE)

The document Boot Block | Operating System - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Operating System.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
10 videos|99 docs|33 tests

Top Courses for Computer Science Engineering (CSE)

FAQs on Boot Block - Operating System - Computer Science Engineering (CSE)

1. What is a boot block in an operating system?
Ans. A boot block is a small section of code located at the beginning of a storage device, such as a hard drive or a flash drive. It contains the necessary instructions to start the booting process of an operating system.
2. Why is the boot block important in an operating system?
Ans. The boot block is important because it holds the initial instructions required to load the operating system into the computer's memory. Without a properly functioning boot block, the system may not be able to start up or boot successfully.
3. What happens if the boot block gets corrupted?
Ans. If the boot block gets corrupted, the computer may not be able to boot up properly. It may result in various issues such as a system crash, error messages, or an inability to start the operating system. In such cases, it may be necessary to repair or replace the corrupted boot block.
4. Can the boot block be modified or customized?
Ans. Yes, the boot block can be modified or customized, but it requires advanced knowledge and expertise. Modifying the boot block without proper understanding can lead to system instability or even render the operating system unbootable. It is recommended to perform any modifications under the guidance of professionals.
5. How can one recover a damaged or missing boot block?
Ans. Recovering a damaged or missing boot block can be a complex process. One common method is to use a bootable recovery disk or USB drive to repair or restore the boot block. Another option is to reinstall the operating system, which will automatically recreate the boot block. It is advisable to consult technical support or refer to specific guides for the operating system in question.
10 videos|99 docs|33 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

past year papers

,

mock tests for examination

,

Important questions

,

Objective type Questions

,

Free

,

Sample Paper

,

MCQs

,

Boot Block | Operating System - Computer Science Engineering (CSE)

,

Extra Questions

,

shortcuts and tricks

,

Semester Notes

,

video lectures

,

pdf

,

Previous Year Questions with Solutions

,

practice quizzes

,

Boot Block | Operating System - Computer Science Engineering (CSE)

,

Viva Questions

,

Exam

,

study material

,

Summary

,

ppt

,

Boot Block | Operating System - Computer Science Engineering (CSE)

;