Chapter 3 Understanding the Boot Process and Command Line.

Slides:



Advertisements
Similar presentations
Understanding the Boot Process and Command Line
Advertisements

2 © 2004, Cisco Systems, Inc. All rights reserved. IT Essentials I v. 3 Module 4 Operating System Fundamentals.
Genesis: from raw hardware to processes System booting sequence: how does a machine come into life.
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.
A+ Guide to Software, 4e Chapter 6 Windows 9x/Me Commands and Startup Disk.
MCT260-Operating Systems I Operating Systems I Introduction to Operating Systems.
© 2007 The McGraw-Hill Companies, Inc. All rights reserved Working with the Command- Line Interface Chapter 14.
11 INSTALLING WINDOWS XP Chapter 2. Chapter 2: Installing Windows XP2 INSTALLING WINDOWS XP  Prepare a computer for the installation of Microsoft Windows.
A+ Guide to Software, 4e Chapter 7 Supporting Windows 9x/Me.
A+ Guide to Software, 4e Chapter 4 Supporting Windows 2000/XP Users and Their Data.
A+ Guide to Software, 4e Chapter 5 Troubleshooting Windows 2000/XP Startup.
MCT260-Operating Systems I Operating Systems I Managing Your System.
1 DOS with Windows 3.1 and 3.11 Operating Environments n Designed to allow applications to have a graphical interface DOS runs in the background as the.
Micro Op SYS (DOS) Chapters 1, 2, 3, 5, 6, 7. 2 Hardware Four Categories –CPU (Central Processing Unit) –Primary Storage (RAM) –Input/Output Devices Keyboard.
PC Maintenance: Preparing for A+ Certification
Working in DOS DOS is a true operating system
FILES  A file is a collection of related information  Files are kept in directories on a disk.
LECTURE 14 Operating Systems and Utility Programs
Command Line Interface
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 4 Disk Operating System (DOS) and the Command-Line Interface McGraw-Hill.
Lesson 4 Computer Software
1 Partitioning a Hard Drive ©Richard Goldman Revised January 8, 2001 Revised December 9, 2002.
System Software. BIOS Basic Input Output System A kind of ROM Execute routines Checking RAM, detecting hard disk, floppy disk, CDROM, … etc.
IT Essentials - Chapter 4 Operating System Fundamentals.
Windows 95 requirements l 80386DX or higher machine l at least 4 MB of RAM (8 MB recommended) l mouse l VGA or better monitor l hard drive with at least.
How Hardware and Software Work Together
IT Essentials: PC Hardware and Software 1 Chapter 5 Windows 9x Operating System.
1. 2 Disk Operating System (DOS) Finding DOS and Understanding its Strengths and Weaknesses Installing DOS How the FAT File System Works Working with.
DOS Understanding what you can do. Operating System Traits An OS only works with one type of processor –X86 processors for us; Motorola for Mac –Must.
DOS Commands What is a command Types of DOS Commands Basic Terms
A+ Guide to Managing and Maintaining your PC, 6e Chapter 13 Supporting Windows 2000/XP Users and Their Data.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
The Command Line Interface. The OS files IO.sys MSDOS.sys Command.com IO and MSDOS are hidden files, COMMAND.COM shows in directory listings.
Understanding the Boot Process and Command Line
ITE 1 Chapter 5. Chapter 5 is a Large Chapter It has a great deal of useful information about operating systems. You will find this VERY helpful when.
Installing and Using Windows 9x
Gene Perkins, Lassen High School Networking Academy
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 14 Managing and Troubleshooting Windows 2000.
1 Chapter Overview Floppy Disk Drives Hard Disk Drives.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 2 How an OS Works with Hardware and Other Software.
Computer Hardware PC Operating Systems. What is an operating system? An OS is the interface between the user and the computer hardware It provides the.
University of Management & Technology 1 Operating Systems & Utility Programs.
How Hardware and Software Work Together
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 12 Supporting Windows 9x.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 4 Disk Operating System (DOS) and the Command-Line Interface McGraw-Hill.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
1 Windows 98 Ancillary Systems x The Process Scheduler provides system resources. The Windows Driver Model (WDM) allows Windows 98 and Microsoft Windows.
OPERAING SYSTEM 1 CA-210 WINDOWS XP. CHAPTER 1 OPERATING SYSTEM FUNDAMENTALS.
Operating System Fundamentals 1. Components of an OS 2. Functions of an OS 3. Types of OS 4. Command-line tools.
I T Essentials I Chapter 5 JEOPARDY Installing & UpgradingComputerBasicsErrorsServicePotpourri
POST and The Boot Process
1 Operating System Software What, Where, Why, and How? Startup routines ROM BIOS POST Device Drivers User Interface – Text or GUI Menus and dialog boxes.
IT Essentials 1 v3 Module 4 JEOPARDY IT Essentials 1 RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
Computer Technician POST and The Boot Process ©UNT in Partnership with TEA1.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 15 Windows 9x/Me Commands and Startup Disk.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 3 Understanding the Boot Process and Command Line.
IST 222 Day 6. DOS Naming Conventions A filename contains up to 8 characters, a separating period, and a file extension of up to three characters This.
DOS MS-DOS stands for Microsoft Disk Operating System. MS-DOS controls the computer’s hardware and provides an environment for programs to run. This.
Introduction To MS-DOS
Chapter Objectives In this chapter, you will learn:
Guide to Linux Installation and Administration, 2e
Partitioning a Hard Drive
Chapter 6 Windows 9x/Me Commands and Startup Disk
CONFIGURING HARDWARE DEVICE & START UP PROCESS
Chapter Overview Operating System Basics
Operating System Fundamentals
Modern PC operating systems
OPERATING SYSTEM B-TECH III YEAR I SEM BRANCH :ECE
Presentation transcript:

Chapter 3 Understanding the Boot Process and Command Line

You Will Learn…  To understand the process of booting to a command prompt  To create and use Windows 9x rescue disks to troubleshoot and solve problems when booting Windows  To use many commands at the command prompt

Booting Up Your Computer  Refers to the computer bringing itself up to an operable state without user intervention  Soft (warm) boot Uses OS to reboot  Hard (cold) boot Uses on/off switch More stressful on the machine

Booting Up Your Computer  Plug and Play (PnP) standard  File system  What happens when PC is first turned on and startup BIOS takes control and then loads OS  What happens when essential components of OS are loaded from hard drive or floppy disk

Plug and Play  Standard designed to make installation of hardware devices easier  Applies to OS, system BIOS, and hardware devices  Supported by Windows 9x and Windows 2000/XP but not by Windows NT  ESCD (extended system configuration data) Plug and Play BIOS

What Is a File System?  Organizational method used by an OS to store files and folders on a secondary storage device  FAT (file allocation table) file system  Files and directories  File naming conventions  File organization  Partitions and logical drives on a hard drive

FAT File System  Most common file system for floppy disks and hard drives  Contains list of clusters and which clusters are used for each file stored on the disk

Tracks and Sectors

Files and Directories

File Naming Conventions  Under DOS Can contain up to eight characters, a separating period, and a file extension of up to three characters Acceptable file extensions:.com,.sys,.bat., and.exe Example: filename.ext  Under Windows 95 and later Windows OSs Can be as long as 255 characters and can contain spaces

File Organization  Create different directories on a hard drive or other secondary storage media

Partitions and Logical Drives on a Hard Drive

Startup BIOS Controls the Beginning of the Boot  Boot steps BIOS checking hardware Loading the OS OS initializing itself Loading and executing an application  Startup BIOS is in control for first step of the boot, then it turns over control to the OS

Overview of Boot Steps  Step 1: POST (Power-on self test)  Step 2: ROM BIOS startup program searches for and loads an OS  Step 3: OS configures the system and completes its own loading  Step 4: User executes application software

Boot Step 1: POST

How the BIOS Finds and Loads the OS

Boot Step 2: Loading the OS

Loading the MS-DOS Core of Windows 9x  When only MS-DOS core of Windows 9x is loaded during booting Brings OS to real-mode command prompt similar to DOS command prompt  Real-mode DOS core is often used as a troubleshooting tool when hard drive fails

Boot Step 3: OS Initializes Itself

Loading the MS-DOS Core of Windows 9x  When OS loads from hard drive, BIOS first executes the MBR, which executes OS boot record, which, for Windows 9x, attempts to find Io.sys on hard drive  Io.sys, which uses Msdos.sys, and Command.com, form the core of real-mode Windows 9x All three are necessary to boot to a command prompt  Autoexec.bat and Config.sys contain commands used to customize 16-bit portion of Windows 9x load process

Emergency Startup Disks (ESDs)  Bootable disks with some utility programs to troubleshoot a failed hard drive  Also called rescue disk or startup disk  Created automatically by the OS beginning with Windows 95

Windows 9x Startup Disks

Files Contained in the Cabinet File, Ebd.cab

Windows 9x Startup Disks  Creating your own bootable rescue disk for Windows 9x  Using a Windows startup disk with another OS

Creating Your Own Bootable Rescue Disk for Windows 9x

Using the Command Prompt  Accessing a command prompt  Launching programs from the command prompt  Using commands to manage files and folders  Using utility tasks to troubleshoot a failed system

Ways to Access a Command Prompt  Click Start, Programs, MS-DOS Prompt  Click Start, Run, enter Command.com in the Run dialog box  When booting from a bootable disk or rescue disk, you get a command prompt instead of Windows desktop

Command Prompt Window

To Get a True Real-Mode Environment in Windows 9x  Click Start, click Shutdown, and select Restart in MS-DOS mode from Shutdown dialog box  Boot to a command prompt by holding down Ctrl or F8 while booting; select “Command prompt only” from the menu

Launching a Program Using the Command Prompt  OS receives command to execute the application  OS locates the program file for the application  OS loads the program file into memory  OS gives control to the program  Program requests memory addresses from OS for its data  Program initializes itself; possibly requests that data from secondary storage be loaded into memory  Program turns to user for first instruction

Finding a Program File

Using the Path Command

Using Commands to Manage a Floppy Disk or Hard Drive  Dir  Label  Del or Erase  Undelete  Recover  Diskcopy continued…

Using Commands to Manage a Floppy Disk or Hard Drive  Copy  Xcopy /C /S /Y /D:  Deltree  Mkdir [drive:]path or MD [drive:]path  Chdir [drive:]path or CD [drive:]path or CD..  Rmdir [drive:]path or RD [drive:]path continued…

Mkdir Command continued…

Using Commands to Manage a Floppy Disk or Hard Drive  Attrib  Unformat  Path  Sys Drive:  Chkdsk [drive:] /F /V  Scandisk Drive: /A /N /P continued…

Using Commands to Manage a Floppy Disk or Hard Drive  Scanreg /Restore /Fix /Backup  Defrag Drive: /S  Ver  Extract filename.cab file1.ext /D  Debug  Edit [path][filename] continued…

Using Commands to Manage a Floppy Disk or Hard Drive  Editing Autoexec.bat and Config.sys  Fdisk /Status /MBR  Format Drive: /S /V:Volumename /Q /U /Autotest continued…

Edit Autoexec.bat continued…

Options for the Fdisk Command continued…

Options for the Format Command continued…

Options for the Format Command

Using Batch Files  To execute a group of commands using only a single command to execute the batch file

Chapter Summary  How a PC first boots up and loads the operating system  How to create floppy disks that can be used to boot to a command prompt  Essential commands for troubleshooting a failing system