480 likes | 635 Views
Unit 5: Lets discuss the BIOS, CMOS, POST, and Boot Process! Rajeev Gupta (Mr. RAJ) 15 Years of IT & Training Experience in
E N D
Unit 5: Lets discuss the BIOS, CMOS, POST, and Boot Process! Rajeev Gupta (Mr. RAJ) 15 Years of IT & Training Experience in Hardware and Networking. Training is my Passion. I am really excited about brining this information to you. I will do my best to give you a perfect place to launch an IT career and I promise it will help you tremendously in knowing how the PC works. You will be building on the foundation no matter where you go.
BIOS • Basic Input Output System • A chip on the motherboard • BIOS is stored in the PC’s ROM chip • EPROM • Firmware • BIOS will support all hardware on an 286 AT PC • Drivers are required for all other hardware Mr. Raj Class: Operating Systems Lecture
Firmware • Gray area between hardware and software • Software written permanently or semi-permanently to a computer chip • Used to control electronic devices • Implemented in PC with BIOS and CMOS
BIOS • Basic Input/Output System • A set of software instructions stored on a chip on the motherboard • Enables basic computer functions • Common BIOS manufacturers: • AMD • AMI • AWARD • MR BIOS • PHOENIX • Many use shadowing
Function of the BIOS • Stores a set of instructions to tell the PC how to control devices • Provides low-level hardware access • Tests hardware on startup using POST • Runs “bootstrap loader” after POST • After this the operating system takes over Mr. Raj Class: Operating Systems Lecture
APPS OS AT computer BIOS Hardware The BIOS sits between the hardware and the Operating System Mr. Raj Class: Operating Systems Lecture
BIOS updates • BIOS implemented either in: • ROM: Programmed at factory • Flash memory: Can update, “flash,” the BIOS • Update if you: • Have device problems or other bugs that PC manufacturer says are caused by BIOS problems • Have device problems that can’t be attributed to anything else; have exhausted all other troubleshooting avenues • Need to use new hardware options that are supported by motherboard but not by BIOS
BIOS update sources • Links to BIOS updates and flashing utilities on PC manufacturer’s Web site • BIOS is tailored by each PC manufacturer • Don’t go to BIOS manufacturer’s Web site
Determining the BIOS version • Open System Information • Record BIOS Version/Date field value • If present, record SMBIOS field value
Flashing the BIOS • Determine current BIOS version • Go to PC manufacturer’s Web support pages • Compare available updates with current version • Download new BIOS version • Download flashing utility • Close all open windows • Open flashing utility; follow instructions • Restart PC
BIOS update failures • Don’t update your BIOS unless you must • Never turn off your computer during a BIOS update • Connect to a UPS • Use the correct BIOS flash utility • Follow instructions exactly • Back up BIOS if possible
Recovering from a failed update • Use BIOS backup to restore previous version • Use “boot block” • Use flash recovery jumper switch • Obtain new BIOS chip
Bad CMOS battery • BIOS data retained due to CMOS battery • Older PCs had a soldered battery—not replaceable • Newer PCs have removable battery
CMOS • Area of memory that stores BIOS configuration information • Battery provides power to CMOS • Type of computer chip: complementary metal oxide semiconductor • Can maintain information without a supply of power
CMOS configuration • Configure with system setup utility • Built in BIOS • Locate on separate hard disk partition • Stored on disc • Access to utility varies by manufacturer • List of CMOS access keys: • http://murfsgarage.cybertechhelp.com/cmossetup.htm
CMOS configurable settings • Date and time • CPU options • Optical drive options • Floppy drive options • Hard drive options • Serial port options • Parallel port options • Integrated devices • Plug and Play • Power management options • Virus detection • Boot password continued
CMOS ROM BIOS CHIP Changeable hardware • RAM • hard drive • floppy drive etc. Unchangeable hardware CMOS Battery CMOS also acts as a clock Stores date and time • keyboard • pc speaker • video CMOS Updates to hardware, e.g. adding RAM or changing a hard disk are stored in CMOS
CMOS • Complementary Metal Oxide Semi-Conductor • Stores roughly 64Kb of data • Part of the Southbridge in most PCs • Specs stored in CMOS must match hardware • Allows you to access the BIOS • When hardware is changed/updated, CMOS must be updated Mr. Raj Class: Operating Systems Lecture
Accessing BIOS through CMOS setup • CMOS can only be accessed when the PC is booting • Key combination at start-up • Changes are stored on a NVRAM CMOS chip • AMI and AWARD BIOS – DEL key • PHOENIX BIOS – CTRL, ALT and ESC keys or F2 • The mouse doesn’t work in CMOS setup! Mr. Raj Class: Operating Systems Lecture
The CMOS chip • CMOS is stored in SRAM chip called Non-Volatile Random Access Memory(NVRAM) • Stores data which is used by the BIOS • NVRAM is powered by CMOS battery • Modern BIOS is stored in EEPROM • EPROM and SRAM means motherboards are updateable • Older motherboards • Resetting CMOS Mr. Raj Class: Operating Systems Lecture
AMIBIOS Main Menu Always document existing settings before making any changes Mr. Raj Class: Operating Systems Lecture
Standard CMOS Features Mr. Raj Class: Operating Systems Lecture
Advanced BIOS Features Mr. Raj Class: Operating Systems Lecture
Advanced Chipset Features Mr. Raj Class: Operating Systems Lecture
Power Mangement Features Mr. Raj Class: Operating Systems Lecture
PNP/PCI Configurations This should be set to Yes Mr. Raj Class: Operating Systems Lecture
Integrated Peripherals N.B. Exam - ECP or EPP mode allows printers to access DMA channels and are 10 times faster than bidirectional mode Mr. Raj Class: Operating Systems Lecture
PC Health Status Mr. Raj Class: Operating Systems Lecture
Frequency/Voltage Control Mr. Raj Class: Operating Systems Lecture
Other CMOS Settings • Load High Performance defaults • Load BIOS setup defaults • Supervisor password • User password • Disconnect the battery for 1 hour to erase the password! • CMOS can also be cleared using a jumper Mr. Raj Class: Operating Systems Lecture
Clear CMOS Jumper Mr. Raj Class: Operating Systems Lecture
Troubleshooting CMOS • Loss of time/date settings • Chip creep • Voltage of new battery • Old PCs = 3.6 volt batteries • Newer PCs = 6 volt battery Mr. Raj Class: Operating Systems Lecture
POST process Power-on self test • BIOS tests core hardware • BIOS tests video subsystem • BIOS identifies itself, including its: • Version • Manufacturer • Date • BIOS tests main system memory
Beep codes • Inform user of errors before display is loaded • Vary by manufacturer • www.computerhope.com/beep.htm • Common beep codes: • 1 short beep = No problems found • 3 long beeps = Keyboard error • 8 short beeps = Video adapter memory problems • 9 short beeps = BIOS problem • 1 long + 3 short beeps = Memory error
Numeric codes • Informs user of errors after display is loaded • Vary by manufacturer • IBM numeric code examples: • 151 = Real time clock failure • 161 = Bad CMOS battery • 162 = Configuration mismatch • 164 = Memory size mismatch • 201 or any 20# = Memory failure • 1762 = Hard drive configuration error
The boot process • You turn on the power • Timer chip sends reset signals to CPU to prevent booting • Power supply performs internal checks; sends Power_Good signal to CPU • Timer stops sending reset signals to CPU • CPU loads BIOS and BIOS extensions • BIOS checks whether this is a cold or warm boot continued
The boot process, continued • If cold boot, BIOS performs POST • BIOS reads CMOS and configures devices • Plug and Play devices detected and configured • BIOS determines which drive to boot from • BIOS reads the master boot record from drive • OS takes over and completes the boot process
Boot devices • Used to load operating system • Current: • Internal hard disk • Optical drive: CD or DVD • USB drive: flash drive or external hard disk or optical drive • Network drive, using a PXE network interface card • Older: • Floppy disk drive • SCSI device • Zip drive
BIOS-related problems • Devices misidentified • Wrong memory size reported during POST or available during booting • Hard drive inaccessible • System won’t boot from hard drive • System boots from the wrong device • Date and time incorrect or reset after computer is turned off
POST-related problems • There’s no video; instead, the computer sounds 8 short beeps • The system emits 3 long beeps • The system emits 1 long and 3 short beeps • POST code 162 is displayed • POST code 164 is displayed
CMOS-related problems Error messages: • Non-system disk or disk error • Display type mismatch • Memory size mismatch • CMOS checksum failure
Startup Routine Step 1: POST Step 2: Bootstrap Loader Step 3: Master Boot Record Mr. Raj Class: Operating Systems Lecture
A detailed look at POST • “Devices go forth and test yourselves” • Only checks devices listed in BIOS • Beep codes • Refer to motherboard manual • Text errors • “Missing NTLDR” • “Keyboard error or no keyboard present” • POST cards Mr. Raj Class: Operating Systems Lecture
Startup Routine • 1. During the POST, the BIOS tells drivers to “test themselves” and report back • Problems are flagged either by beeps codes or by messages on the screen • e.g. 301 Keyboard failure • 2. Bootstrap Loader • 3. Master Boot Record • IO.SYS • NTLDR • After this the operating system takes over Mr. Raj Class: Operating Systems Lecture
POST Error Codes Mr. Raj Class: Operating Systems Lecture
BOOT Process in detail • CPU’s power good wire “wakes up” the CPU • CPU reads first line of POST program • Bootstrap loader runs • Check if disk is in FDD drive • Look for O.S. on boot sector of hard drive • NTLDR (Windows 2000/XP) or IO.SYS is loaded into RAM • Control is transferred from bootstrap loader to the O.S. • Core O.S. files, drivers and services are loaded into RAM Mr. Raj Class: Operating Systems Lecture