计算机系 信息处理实验室 Lecture 5 Startup and Shutdown

Slides:



Advertisements
Similar presentations
Troubleshooting Startup Problems
Advertisements

计算机系 信息处理实验室 Lecture 3 System Mechanisms (1)
计算机系 信息处理实验室 Lecture 10 Memory Management(2)
18th August, 2005 CS431 Course Presentation 1 Booting of a Computer System Harpreet Singh.
Genesis: from raw hardware to processes System booting sequence: how does a machine come into life.
Windows Vista Boot process. All the computer running Windows vista have the same start up sequence: Power-on self test (POST) phase Initial startup phase.
Linux+ Guide to Linux Certification Chapter Nine System Initialization.
Linux Booting Procedure
DIT314 ~ Client Operating System & Administration CHAPTER 4 CONFIGURING HARDWARE DEVICES AND STARTUP PROCESS Prepared By : Suraya Alias.
The power supply performs a self-test. When all voltages and current levels are acceptable, the supply indicates that the power is stable and sends the.
1 Module 18 The Windows NT Boot Process. 2  Overview Overview of the Windows NT Boot Process Troubleshooting the Boot Process Last Known Good Configuration.
BACS 371 Computer Forensics
计算机系 信息处理实验室 Lecture 15 File Systems
Installing Windows XP Professional Using Attended Installation Slide 1 of 35Session 9 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
计算机系 信息处理实验室 Leture1 concepts and tools 2005 Spring 陈香兰.
计算机系 信息处理实验室 Lecture 11 Security
11/13/01CS-550 Presentation - Overview of Microsoft disk operating system. 1 An Overview of Microsoft Disk Operating System.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 4: Troubleshoot System Startup and User Logon Problems.
Hands-On Microsoft Windows Server 2003 Administration Chapter 10 Monitoring and Troubleshooting Windows Server 2003.
11 INSTALLING WINDOWS XP Chapter 2. Chapter 2: Installing Windows XP2 INSTALLING WINDOWS XP  Prepare a computer for the installation of Microsoft Windows.
PC Maintenance: Preparing for A+ Certification
计算机系 信息处理实验室 Lecture 14 Cache Manager
计算机系 信息处理实验室 Lecture 2 System architecture
计算机系 信息处理实验室 Lecture 12 I/O System
1 Partitioning a Hard Drive ©Richard Goldman Revised January 8, 2001 Revised December 9, 2002.
Tel : 同济大学软件学院 UEFI 与固件程序设计.
IT Essentials: PC Hardware and Software 1 Chapter 7 Windows NT/2000/XP Operating Systems.
Overview Introduction to Windows NT Workstation 4.0. Installing Windows NT Workstation 4.0. Customizing and managing NT Workstation 4.0. Managing Windows.
Host and Application Security Lesson 4: The Win32 Boot Process.
Basic Input Output System
Linux Booting Procedure
By the end of this lesson you will be able to explain: 1. What is the BOOT process 2. A Cold Boot 3. A Warm Boot.
计算机系 信息处理实验室 Lecture 7 Processes, Threads, and Jobs (1)
Understanding the Boot Process and Command Line
A Look under the Hood Chapter 8 The registry is a database that includes settings for: Device drivers Services Installed applications Operating system.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 14 Managing and Troubleshooting Windows 2000.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 6 Managing and Troubleshooting Windows 2000.
Module 12: Managing Disaster Recovery. Overview Preparing for Disaster Recovery Backing Up Data Scheduling Backup Jobs Restoring Data Configuring Shadow.
计算机系 信息处理实验室 Lecture 6 Management Mechanisms
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Windows NTFS Introduction to Operating Systems: Module 15.
计算机系 信息处理实验室 Lecture 4 System Mechanisms (2)
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
Chapter 3 Partitioning Drives using NTFS and FAT32 Prepared by: Khurram N. Shamsi.
Virtual Memory Review Goal: give illusion of a large memory Allow many processes to share single memory Strategy Break physical memory up into blocks (pages)
Chapter Thirteen Booting Windows XP. Objectives Understand the Windows XP boot process Understand the Windows XP boot process Troubleshoot system restoration.
I T Essentials I Chapter 5 JEOPARDY Installing & UpgradingComputerBasicsErrorsServicePotpourri
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
Copyright © Genetic Computer School 2008 Computer Systems Architecture SA 8- 0 Lesson 8 Secondary Management.
BIOS Identification and initialization of hardware devices Power-on self-test (POST) is started Bootmgr.exe starts once POST detects system.
System initialization Unit objectives A.Outline steps necessary to boot a Linux system, configure LILO and GRUB boot loaders, and dual boot Linux with.
This courseware is copyrighted © 2016 gtslearning. No part of this courseware or any training material supplied by gtslearning International Limited to.
NON STANDARD HARDWARE By the end of this lesson you will be able to: 1. Identify non standard computer hardware 2. Understand ACRONYMS used to describe.
OS Boot Sequence and File System (implication to “Boot Sector Viruses”) Department of Computer Science Southern Illinois University Edwardsville Spring,
Overview A) Power on or reset B) 1st stage boot loader C) 2nd stage boot loader D) Operate system.
NT1110 Computer Structure and Logic Unit 8 (Module 5A) COMPUTER OPERATION AND SECURITY.
Chapter Objectives In this chapter, you will learn:
Crash Dump Analysis - Santosh Kumar Singh.
Unit OS11: Performance Evaluation
Files Used in the Boot Process
Under the Windows Desktop
Partitioning a Hard Drive
CONFIGURING HARDWARE DEVICE & START UP PROCESS
Booting Up 15-Nov-18 boot.ppt.
Starting the computer. Every day we are using an operating system and most specifically a Windows operating system but most of us are not aware of the.
Device management How does the operating system manage the hardware and peripheral devices? Device Driver: Each device is attached to your computer with.
Modern PC operating systems
OS Boot Sequence and File System
OS Boot Sequence and File System
Presentation transcript:

计算机系 信息处理实验室 Lecture 5 Startup and Shutdown

计算机系 信息处理实验室 the Inside of Windows Contents Boot Process Safe Mode Recovery Console Shutdown System Crashes

计算机系 信息处理实验室 the Inside of Windows Background BIOS (Basic Input/Output System) Typically placed on a ROM chip of the computer Low-level routines specific to the hardware supplied with the motherboard POST (Power On Self Test) routines Boot up the system

计算机系 信息处理实验室 the Inside of Windows Boot from power-on Power-on or reset The processor is pre-programmed, the value in IP register is 0xFFFFFFF0 The instruction tells the processor: “jump to the real BIOS startup program at XXXXX” POST … Search for a boot device For disk, MBR (Master Boot Record) The code in MBR controls the processor

计算机系 信息处理实验室 the Inside of Windows MBR (Master Boot Record) The first sector on the disk: cylinder 0, head 0, sector 1 Master partition table (only 4 entries) Primary partitions Active (primary) partitions, only one Extended partitions

计算机系 信息处理实验室 the Inside of Windows Hard disk layout MBR

计算机系 信息处理实验室 the Inside of Windows Master Boot Code Find an active partition, and boot Volume/partition boot sector

计算机系 信息处理实验室 the Inside of Windows Volume boot sector Disk parameter block Size Sector numbers Label name Sectors per cluster … Volume boot code Boot an operating system or a boot manager This is operating specific

计算机系 信息处理实验室 the Inside of Windows Windows setup Writes MBR Formats the boot partition with user specified file system format (FAT, FAT32, or NTFS ) Writes volume boot sector Copies files including two boot files: Ntldr and Ntdetect.com Create a boot menu file, Boot.ini, in the root directory of the boot partition …

计算机系 信息处理实验室 the Inside of Windows Boot.ini Contains options for starting the version of Windows 2000 and any preexisting Windows 2000 installations Example: [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(1) \WINNT=“Microsoft windows 2000 professional“ /fastdetect C:\="Microsoft 燱 indows"

计算机系 信息处理实验室 the Inside of Windows Windows 2000 boot sector The content depends on the file system format FAT, FAT32 or NTFS The role of the boot-sector code To give Windows 2000 information about the structure and format of a logical disk drive to read in Ntldr

计算机系 信息处理实验室 the Inside of Windows Ntldr Real mode  protected mode 20bits memory access  32bits memory access creating enough page tables to make memory below 16 MB accessible enables paging Read Boot.ini loads and executes Ntdetect.com

计算机系 信息处理实验室 the Inside of Windows Background Real mode vs. protected mode

计算机系 信息处理实验室 the Inside of Windows Ntldr Loading the files needed to start the kernel initialization Ntoskrnl.exe, Hal.dll Determine, locate, and load the necessary boot device drivers May need to adds the necessary file system driver for those boot device drivers Prepares CPU registers for Ntoskrnl.exe

计算机系 信息处理实验室 the Inside of Windows Call Ntoskrnl Ntldr passes the following parameters: The selected menu option The memory tables The in-memory copy of the HARDWARE and SYSTEM registry hives The list of loaded boot drivers

计算机系 信息处理实验室 the Inside of Windows Ntoskrnl Initializing the Kernel and Executive Subsystems Phase0 To build the rudimentary structures required to allow the services needed in phase 1 to be invoked. phase1 Initialize

计算机系 信息处理实验室 the Inside of Windows Smss start the Win32 subsystem Csrss Winlogon THE END

计算机系 信息处理实验室 the Inside of Windows Boot Process Boot Process Components Master boot record (MBR) code Boot sector Ntldr Ntoskrnl.exe Smss Winlogon Service control manager (SCM)

计算机系 信息处理实验室 the Inside of Windows Safe Mode Safe mode is a concept Windows 2000 borrows from Consumer Windows—a boot configuration that consists of the minimal set of device drivers and services. By relying on only the drivers and services that are necessary for booting, Windows 2000 avoids loading third- party and other nonessential drivers that might crash. Key “F8”

计算机系 信息处理实验室 the Inside of Windows Recovery Console In some situations a safe-mode boot won't help the system boot The Recovery Console allows you to boot into a limited command-line shell from the Windows 2000 CD or boot disks to repair an installation without having to boot the installation.

计算机系 信息处理实验室 the Inside of Windows Shutdown ExitWindowsEx Winlogin Csrss NtSetSystemPowerState

计算机系 信息处理实验室 the Inside of Windows System Crashes Why ? unhandled exception in kernel mode reschedule when IRQL is DPC/dispatch level or higher. A page fault on memory backed by data in a paging file or a memory mapped file occurs at an IRQL of DPC/dispatch level or above explicitly crash after detecting an internal error condition hardware error

计算机系 信息处理实验室 the Inside of Windows The Blue Screen

计算机系 信息处理实验室 the Inside of Windows Crash Dump Files Default option Three levels of information can be recorded on a system crash Complete memory dump Kernel memory dump Small memory dump