Tuesday 19 September 2017

boot - When I hit DEL during start up, am I entering CMOS or BIOS?


For the longest time I assumed I was entering the BIOS setup and CMOS is a chip that holds the settings I set in BIOS in its memory.


I recently read somewhere that when I am configuring the boot order and etc, that that's actually CMOS setup.


I'm a little confused now, could someone explain this to me?



Answer



Both. CMOS stores BIOS configuration information. When you "enter setup", you are running the BIOS's configuration program, which loads the settings defined in CMOS. You are "setting up" the CMOS, by providing configuration information the BIOS will use as it runs.


The BIOS is a program written as Firmware onto a ROM, so it cannot be written to (except by an all-or-nothing flash operation, which is dangerous, so not an everyday operation). The BIOS ROM stores its configuration info on to the CMOS when you hit F10. That's why clearing the CMOS restores your BIOS settings to default, and is why it doesn't delete the BIOS iteslf, leaving you with an expensive paperweight.


In example, the BIOS has a subroutine that will load the OS per the boot order. the boot order information however, (eg use first CD-ROM as first device) is stored in the CMOS. If you clear the CMOS, the BIOS will use a default, usually the first disk on the first disk controller that is populated.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...