6-ch2 Part2
6-ch2 Part2
Fall Semester
Operating Systems
Whether booting from BIOS or UEFI, the bootstrap program can perform a
variety of tasks.
• In addition to loading the file containing the kernel program into memory,
it also runs diagnostics to determine the state of the machine — for
example, inspecting memory and the CPU and discovering devices.
• If the diagnostics pass, the program can continue with the booting steps.
• The bootstrap can also initialize all aspects of the system, from CPU
registers to device controllers and the contents of main memory.
• Sooner or later, it starts the operating system and mounts the root file
system. It is only at this point is the system said to be running.
Advantages:
• Changes in one component affect only that component, and no others,
allowing system implementers more freedom in creating and changing the
inner workings of the system.