Often, the boot sector is operating system specific and its main function is to load and execute a kernel that continues startup. In case of non-availability of active partition or if the active partition's boot sector is invalid then MBR would load a secondary boot loader and pass over the control to it. A partition (mostly via user input) is selected by the secondary boot loader and its boot sector is loaded which generally loads the corresponding operating system kernel.











