After an operating system is generated, it must be available for the use by the hardware. But how the hardware know where the kernel is, or how to load that kernel? The procedure of starting a computer by loading the kernel is known as Booting the system. Hence it needs a special program, stored in ROM to do this job known as the Bootstrap loader. Example: BIOS (boot input output system). A modern PC BIOS (Basic Input/Output System) supports booting from various devices.Typically, the BIOS will allow the user to configure a boot order. If the boot order is set to:
- CD Drive
- Hard Disk Drive
Then the BIOS will try to boot from the CD drive first, and if that fails then it will try to boot from the hard disk drive, and if that fails then it will try to boot from the network, and if that fails then it won’t boot at all.
Booting is a startup sequence that starts the operating system of a computer when it is turned on. A boot sequence is the initial set of operations that the computer performs when it is switched on. Every computer has a boot sequence. Bootstrap loader locates the kernel, loads it into main memory and starts its execution.In some systems, a simple bootstrap loader fetches a more complex boot program from disk, which in turn loads the kernel.
When two operating system are installed on the computer system then it is called dual booting. In fact multiple operating systems can be installed on such a system. But how system knows which operating system is to boot? A boot loader that understand multiple file systems and multiple operating system can occupy the boot space.Once loaded, it can boot one of the operating systems available on the disk.The disk can have multiple partitions, each containing a different type of operating system. When a computer system turn on, a boot manager program displays a menu, allowing user to choose the operating system to use.
- System Protection in Operating System
- Functions of Operating System
- The Tempo Operating System
- Thread in Operating System
- Paging in Operating System
- Segmentation in Operating System
- Multithreading in Operating System
- Introduction of Operating System - Set 1
- Inode in Operating System
- Access matrix in Operating System
- Structures of Directory in Operating System
- Kernel I/O Subsystem in Operating System
- Non-Contiguous Allocation in Operating System
- Banker's Algorithm in Operating System
- Benefits of Multithreading in Operating System
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.