What Happens Inside a Computer After Power Is Turned On?
What Happens Inside the Machine?
You push the power button and you may hear one short beep or a continuous beep. What does this beep indicate? Why does the computer beep when it boots up and what does it mean?
This Is What Happens
From the moment you push your power button, it perceives a set of automatic instructions that tells it what to do. Or better put, it goes through a series of system tests that the computer must past in order for it to boot to the OS. Computers have four basic functions and they are:
- Input (data)
There are different devices or components that are assigned to carry out different functions. With this being said, a functional pc requires that the processes of software run on top of the hardware in this order:
- Operating System
- Windows Management ( Desktop)
Your Bios (Basic Input/Output System) provides your pc with the necessary information to start.
I could really go technical here and say that your Bios is a set of firmware instructions that control input and output parameters... but I'll keep it simple. Typically, to access the Bios you can read the first bootup screen and it will give you the Bios access key. The Bios access key could vary based on manufacture and the type of computer you have. For example: The first screen above tells you to press Del to enter setup. This is where all of your setup configurations are, user configurable data such as: time, date, boot sequence and installed components.
Bios is utilized to:
- Check installed components
- Enable or disable devices
- Change boot sequence
- Enable/Disable virtualization
So when you turn on your computer, the Bios performs what is known as 'hardware initialization and additionally supplies run-time services for the OS and applications.
Wait There's More
Okay! Now that we've discussed what happens upon startup, let's discuss what happens during startup or boot.
POST (Power On Self Test) is a basic or standard test that a computer runs during the boot process. POST will check if:
- Cpu is functional
- Ram and graphics are accessible
- If keyboard is working
- That Bios isn't corrupt
When the devices and parameters are checked and returns no issue then the PC will boot to the Operating System. However, if an error or issue is detected the PC will display an error or give a beep code.
Tip: No beep could mean an issue with power supply or no power.
- One short beep: System Passed Post
- Continuous beep: Issue with power supply, motherboard or keyboard.
What is Post Doing
Putting It Together
As soon as your computer comes on, the Bios is then automatically awakened. The Bios sits on a (ROM) chip called CMOS (complimentary Metal Oxide Semiconductior). It holds the user configurable data like we discussed before: time, date and system setup parameters.
It Is Sometimes Called
CMOS is sometimes referred to as Real Time Clock (RTC). CMOS is onboard, which means motherboard, it's a battery powered semi conductor chip inside of a PC which stores information.
It is also referred to as CMOS RAM due to the fact that it utilizes a volatile but low-powered complementary metal-oxide-semiconductor SRAM.It doesn't need a refresh due static ram usage and is often referred to as (non-volatile). Is powered with a lithium battery, which additionally powers the real time clock (RTC). However, if the CMOS utilizes SRAM and has non volatile memory, why would it need a source of power? Because it's non-volatile it should keep or remember its info, even with no power source.
Moving forward, all of these things work together during power on and boot up. However, the Bios and Post processes are mainly responsible.
- Power On
- CMOS intializes
- Bios Awakes (time, date, system setup parameter, components)
- Post Runs ( Is PC functional, Keyboard working, Bios not corrupt, ram and graphics.
- System test passed boots to OS, System tests fail (beep code or error message).
Now that I've explained a few actions that your computer takes upon turning on the power, you should have a general understanding of how the boot up process works. There is much more I could tell you because the whole process is wonderfully amazing. But I decided to keep it simple rather than discussing each concept of the operation. I hope this information is very informative and helpful. Until next time...
This article is accurate and true to the best of the author’s knowledge. Content is for informational or entertainment purposes only and does not substitute for personal counsel or professional advice in business, financial, legal, or technical matters.