BIOS is the main part of Booting process of a Computer. BIOS means Basic Input Output System. When We start our computer and the starting screen comes infront of us..the process between this is called booting process of the Computer. Most of the people are not interested to know about booting process. They just start the computer and do their work. But Here I am going to explain the overall booting process of computer step by step to boost your knowledge.
What is BIOS ?
When we push the power of PC, there are absolutely no instructions in memory for the PC to execute. In fact, when the PC is first powered on, it is almost like it is being turned on for the very first time ever.The importance of the PC’s BIOS (Basic Input/Output System) is that it performs all of the functions the PC needs to get started. It contains that first instruction the computer needs to get started, programming that checks that computer’s hardware is attached and ready, and other routines to help the computer get up and running.
A PC’s BIOS (Basic Input/Output System) includes the programming to perform three vital and useful functions for the PC:
(1) It boots the computer.
(2) It validates the PC’s configuration.
(3) It provides an interface between the hardware of the PC and its software.
Booting Process of Computer Step by Step :-
(1) When you turn on the PC’s power switch, the internal power supply initializes itself. The power supply does not provide power to the rest of the PC immediately. As soon as the power supply is able to supply reliable power to the motherboard, it transmits a “good power” signal to the motherboard’s chip set , which sends a system reset command to the processor . At this point, from all outward appearances, the PC looks as if it is still powered off.
(2) The system reset command sent by the motherboard’s chip set causes the CPU to read its first instruction from what is called the jump address . The jump address is always located in a fixed preset location, typically address FFFF0h in system memory. The jump address contains the physical address of the BIOS’ boot program on the ROM BIOS chip.
(3) The CPU executes the first instruction, which copies the BIOS programs into system memory and starts the BIOS running.
(4) The BIOS next performs the POST (Power-On Self-Test) process . The POST verifies and tests the hardware configuration stored in the BIOS configuration information. Should the POST detect any problems, it sounds beep codes, one or more beeps through the system speaker to indicate the nature of the problem, or displays an error message , and the boot process stops.
(5) If the POST finds no problems, the boot process continues. At this point, the system BIOS (the one booting the PC) looks for the video adapter’s BIOS and starts it. Virtually all peripheral devices on the PC have their own BIOS. This is the first time, aside from the noises of the disk drives and a single beep indicating all is well, that you will know the PC is booting. Information about the video card is displayed on the monitor’s screen.
(6) The display of the video adapter’s information is followed by information about the system BIOS itself. This usually includes information on the manufacturer and version of the BIOS program.
(7) Any device BIOS routines are started. The video card’s BIOS starts first to turn on the display, then information about the system BIOS and the other BIOSs is displayed as they are started.
(8) Next, the BIOS begins a series of tests on the system, including the amount of memory detected on the system. This test is usually displayed on the screen as a run-up counter showing the amount of memory detected and tested. Because the BIOS now has use of the monitor, it displays error messages for any problems detected instead of the beep codes that it had to use prior to the display being available.
(9) With the device BIOSs loaded, the system BIOS checks if the devices listed in the CMOS configuration data (see “Complementary Metal-Oxide Semiconductor (CMOS)” later in the chapter) are present and functioning, including their speeds, access modes, and other parameters. In this sequence, the serial and parallel ports are assigned their identities (COM1, COM2, LPT1, etc.). As each device is passed, a message is displayed that it was found, configured, and tested.
(10) If the BIOS supports Plug and Play (PnP) technology, any PnP devices detected are configured. Information on each PnP device is displayed on the screen, although it typically goes by much too fast to read.
(11) At the end of the test and configuration sequence, the BIOS should display a summary data screen that details the PC as the BIOS sees it and indicating that the system is verified and ready for use.
(12) To start the operating system running, the BIOS must first find it. Included in the CMOS data is a parameter that indicates the disk drives (floppy, hard, or CD-ROM) and the order in which they should be accessed to find the operating system. In most cases, the boot sequence parameters will be set to look for the operating system on first the floppy disk drive, then the hard disk drive, and perhaps, if all else fails, the CD-ROM drive.
(13) This sequence can be changed to reflect the sequence desired. If the first boot device is the hard disk, the BIOS looks for the master boot record (MBR) to use to start the operating system. If the boot disk is a floppy disk, the BIOS looks at the first sector of the disk for the OS boot program. If the boot program is not found on the first device listed, then the next device is searched and so on until the boot program is found. If no boot device is found, the boot sequence stops and an error message (“No boot device available”) is displayed.
So I think now you know how much work a BIOS does to boot a computer.
Cold Boots versus Warm Boots
The boot sequence used when a PC is powered on from a powered off condition is called a cold boot. A cold boot is done when the computer is started from a cold (or completely powered off) status. A warm boot happens when the PC is already powered on. Pressing the key combination CTRL-ALT-DEL or pressing the reset button. A cold boot causes the complete boot and POST sequence to run. However, the POST process does not run after a warm boot.