Kernel is one of the most important part of Operating System. We use the word kernel to mean the part of operating system that runs in the privileged mode (Sometimes even a subset of this). Kernel is closer to the hardware and often performs tasks like memory management and system calls.
Now for BIOS (Basic Input-Output System), it is the one which is responsible to provide drivers for new devices to OS. BIOS constitutes of the code that is stored in read-only memory (ROM) and some configuration data in non-volatile RAM.
BIOS provides three primary functions:
- Power on self test (POST), so it knows where to load the boot program.
- Load and transfer control to boot program .
- Provide drivers for all devices.
The main BIOS is supplied as a chip on the motherboard. It contains everything needed to perform the above three functions. Additional BIOSes on other boards can provide access to additional devices.
I think you may be little bit confused about BIOS and Boot loader.
Both are working together but their tasks should be different. Technically BIOS should be explained..
the task of the boot loader is have to find the boot file of the operating systems and initiate the boot file to load the operating system.
I think you can understand this..
Bios is the basic output input system of the computer which means it the most basic program that runs on the computer and the first one as well, it allows you to configure hardware configurations, diagnose problems and etc. Whereas the kernel is the heart of the operating system (not the computer) it's purpose is to bridge between the hardware and user mode applications. The kernel is overall mostly used to make operating systems more stable and to prevent the operating system from crashing because of one dumb process.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.