SlideShare a Scribd company logo
PC Hardware Servicing
Chapter 27: The Boot Process
Chapter 27 Objectives
• Understand bootable disks
• Identify key boot files in each OS version
• List the boot sequence for each OS
• Use alternative boot modes
• Create and use a boot floppy
• Use the Recovery Console
• Create and use an ERD
• Troubleshoot startup and shutdown problems
What Constitutes a Bootable Disk?
• A disk that can bring the PC to a functional
level, with the OS ready to accept user
commands
Startup Configuration Files for DOS
• CONFIG.SYS
– Used primarily under MS-DOS
– Plain text file
– Lists environment variables and device drivers
– Runs only at startup
• AUTOEXEC.BAT
– Used primarily under MS-DOS
– Plain text file
– Lists applications to run at startup
– Simple batch file, can be rerun at any time
Sample CONFIG.SYS
Sample AUTOEXEC.BAT
Startup Configuration Files for
Windows 3.x
• SYSTEM.INI
– Loads device drivers
– Defines environment variables
• WIN.INI
– Loads applications
– Sets display settings and I/O device settings
– Defines application settings
Sample SYSTEM.INI
Sample WIN.INI
The Registry
• 32-bit versions of Windows system
settings files
• In Windows 9x: SYSTEM.DAT and
USER.DAT
• In Windows NT/2000/XP:
SAM, SECURITY, SYSTEM, SOFTWARE,
DEFAULT
• Accessed through the Registry Editor as a
single database
MS-DOS Boot Sequence
1. BIOS performs POST
2. BIOS searches for master boot record
(MBR), which defines the active partition
3. MBR takes control and locates IO.SYS
4. IO.SYS takes control, identifies hardware
5. IO.SYS runs CONFIG.SYS
6. MSDOS.SYS takes control, loads OS kernel
into RAM
7. MSDOS.SYS runs AUTOEXEC.BAT
8. Command.com displays a command prompt
Windows 9x Boot Sequence
1.BIOS performs POST
2.BIOS searches for MBR
3.MBR takes control and locates IO.SYS
4.IO.SYS takes control, runs MSDOS.SYS
instructions
5.IO.SYS loads LOGO.SYS (graphic file) and
displays it as Windows “splash screen”
6.IO.SYS looks for SYSTEM.DAT and USER.DAT
and checks them
Windows 9x Boot Sequence
7. IO.SYS loads SYSTEM.DAT
8. IO.SYS executes CONFIG.SYS and
AUTOEXECB.BAT if present
9. IO.SYS loads HIMEM.SYS
10.IO.SYS loads WIN.COM
11.Win.COM loads 386.VXD (virtual
memory manager)
12.VMM386.VXD loads 32-bit device drivers
Windows 9x Boot Sequence
13.WIN.COM processes SYSTEM.INI if
present
14.WIN.COM loads
KRNL32.DLL, GDI.EXE, and USER.EXE
15.WIN.COM executes WIN.INI if present
16.WIN.COM runs any programs from
Startup folder on Start menu
Alternative Boot Modes for Windows 9x
• Press F8 as PC is starting up to see
Startup Menu
Alternative Boot Modes for Windows 9x
Safe Mode
• Minimal
set of
drivers
• Standard
VGA
driver
• No
support
for
CD, soun
d, modem
s
Step by Step Confirmation
• Accept or reject each line of the startup
Windows NT, 2000, and XP Boot
Sequence
1. BIOS performs POST
2. BIOS searches for MBR
3. MBR takes control and locates NTLDR
4. NTLDR switches CPU into 32-bit protected
mode
5. NTLDR reads BOOT.INI. If multiple OSes, it
displays a menu for user choice, and passes
control to the chosen OS
6. NTLDR runs NTDETECT.COM, which detects
the hardware for Registry
Windows NT, 2000, and XP Boot
Sequence
7. NTLDR reads NTOSKRNL (OS kernel)
into memory
8. NTLDR locates drivers for Registry-
reported hardware
9. NTLDR hands over control to
NTOSKRNL.EXE
10.NTOSKRNL.EXE loads the device
drivers and the GUI
Alternative Boot Modes for NT 4
• VGA mode
Alternative Boot Modes for Windows 2000
and XP
Troubleshooting 9x Startup
• No operating system found
– No bootable disk is available
– PC does not see hard drive
– Hard drive not formatting
– No OS installed
– Loose connection to hard disk
– Physical malfunction
– Virus infection
– IO.SYS or MSDOS.SYS missing or corrupted
Troubleshooting 9x Startup
• Error in CONFIG.SYS Line xx
– Driver called for in CONFIG.SYS missing or
corrupted
• Bad or Missing COMMAND.COM
• Stuck at Windows splash screen
– Press Esc to see what is going on behind it
– Disable virtual memory
– Rebuild paging file
Troubleshooting 9x Startup
• Missing, Corrupt, or Unloaded
HIMEM.SYS
• Windows protection error
– Virtual device driver problem
– Start in Safe Mode and check for a real-mode
driver on CONFIG.SYS
– Remove and reinstall the device
• Device referenced in SYSTEM.INI or
WIN.INI not found
Troubleshooting 9x Startup
• General protection fault (GPF)
– Two programs try to use the same memory
space
– Make a note of the file causing the error, and
restart
– If repeats, try reinstalling the associated
program or using EXTRACT to re-copy file
from Windows disc
Troubleshooting 2000/XP Startup
• Try Safe Mode
• Try restoring last known good
configuration
• If Windows XP, use System Restore
• Repair Windows installation by booting
from Setup CD and choosing Repair
Controlling What Loads at Startup
• Disable items in
WIN.INI, SYSTEM
.INI, AUTOEXEC.
BAT, and
CONFIG.SYS
through the
System
Configuration
Editor (SYSEDIT)
Controlling What Loads at Startup
• Delete items from Startup folder on Start menu
Controlling What Loads at Startup
• Use System
Configuration Utility
(MSCONFIG) to
disable startup
items
Creating a 9x Startup Floppy
1. Open Control Panel
2. Add/Remove Programs, Startup Disk tab
3. Click Create Disk and follow the prompts
How a Boot Floppy Works
1.Booting from floppy creates RAM disk
2.Compressed files are decompressed onto
RAM disk
Therefore… some utilities are directly on
the floppy, and others are on the RAM disk
Files on a Boot Floppy
• DRVSPACE.BIN: Support for hard disks compressed
with DriveSpace
• EBD.CAB: The compressed file containing extra utilities
to be placed on RAM disk
• AUTOEXEC.BAT and CONFIG.SYS
• FINDRAMD.EXE: Locates the RAM disk
• EXTRACT.EXE: Extracts compressed files to RAM disk
• FDISK: Partitions disks
• README.TXT: Information
• CD-ROM drivers
Files on the RAM Disk
What is an ERD?
• Emergency Repair Disk
• For Windows 2000/XP only
• Not bootable
• Stores settings that can help repair
Windows, along with Windows Setup’s
Repair mode
• Specific to that PC
Creating an ERD
1. Start the
Backup
application
2. Click the
Emergency
Repair Disk
button
3. Follow the
prompts
What Is the Recovery Console?
• Command-line interface
• Limited set of commands
• Accessible even when Windows will not
start normally
• Can repair the MBR, disable services, etc.
Booting to the Recovery Console
1.Boot from the Windows CD
2.Choose R for Repair
3.Choose C for Recovery Console
4.Type 1 to choose the Windows installation
5.Enter administrator password when
prompted
Recovery Console Commands
– ATTRIB
– CD
– MD
– COPY
– DEL
– CHKDSK
– DIR
– EXIT
– EXPAND
– FORMAT
– MD
– RD
– REN
Some are same as with Win9x startup disk:
Recovery Console Commands
• Some are different from normal command
prompt commands:
– BATCH
– DISABLE
– DISKPART
– ENABLE
– FIXBOOT
– FIXMBR
– LISTSYS
Troubleshooting Shutdown
Problems
• Does not shut off with Shut Down
command
– Is ACPI enabled in BIOS Setup?
– Is it an ATX motherboard?
– Is ACPI enabled in Windows?
– Are case wires connected to motherboard?
– Is a BIOS update available for motherboard?
Troubleshooting Shutdown
Problems
• Application Not Responding
– Click End Task if dialog box appears
– Press Ctrl+Alt+Delete and shut down
application
• No Shutdown with Power Button
– Hold power button down for 5 seconds
Troubleshooting Shutdown
Problems
• Windows 98 locks up when shutting down
– Download patch for Windows 98
– Disable Fast Shutdown (in MSCONFIG)

More Related Content

PPTX
booting steps of a computer
PPT
PPTX
bios booting process
PPTX
BIOS AND OS
PPTX
BIOS basic input output system
PPSX
COMPUTER Bios
ODP
5. boot process
PDF
Bios configuration management
booting steps of a computer
bios booting process
BIOS AND OS
BIOS basic input output system
COMPUTER Bios
5. boot process
Bios configuration management

What's hot (19)

PPTX
PPTX
Booting of Computer System
PDF
Lec post , bios , cmos
PPTX
BIOS PRESENTATION
PPT
PPTX
Boot process
PDF
Ms dos boot process
PPTX
Booting process by Amar singh
PPTX
PPS
Bioscmos, post, boot
PPT
PPTX
Booting and Start-up Sequence
PPTX
PDF
Grub2 Booting Process
PPT
Booting Up And Shutting Down Computer
PPTX
ROM BIOS & POST
PPT
computer & input devices
PPT
5 post , bios , cmos
Booting of Computer System
Lec post , bios , cmos
BIOS PRESENTATION
Boot process
Ms dos boot process
Booting process by Amar singh
Bioscmos, post, boot
Booting and Start-up Sequence
Grub2 Booting Process
Booting Up And Shutting Down Computer
ROM BIOS & POST
computer & input devices
5 post , bios , cmos
Ad

Viewers also liked (20)

PPTX
System Booting Process overview
PPTX
Booting Process OS
PDF
Understanding The Boot Process
PPT
Booting Up And Shutting Down Computer
PDF
Booting Android: bootloaders, fastboot and boot images
ODP
Form 1 Term 1 Week 8.1
PPT
Broadcasting Technologies Branch Overview Nov 2007
PDF
Multimedia Broadcasting Platform
PPT
Final Report
DOCX
MSDOS
DOC
Curs linux 2
PPT
Microsoft Powerpoint
PPTX
Bootloader and bootloading
PPT
MULTIMEDIA SERVICES OVER IP NETWORKS
PPT
Dual boot
PDF
Ims in ngn
PPT
Microsoft PowerPoint
PPTX
Tel ip session1
PPTX
Managing CD Devices
System Booting Process overview
Booting Process OS
Understanding The Boot Process
Booting Up And Shutting Down Computer
Booting Android: bootloaders, fastboot and boot images
Form 1 Term 1 Week 8.1
Broadcasting Technologies Branch Overview Nov 2007
Multimedia Broadcasting Platform
Final Report
MSDOS
Curs linux 2
Microsoft Powerpoint
Bootloader and bootloading
MULTIMEDIA SERVICES OVER IP NETWORKS
Dual boot
Ims in ngn
Microsoft PowerPoint
Tel ip session1
Managing CD Devices
Ad

Similar to The Boot Process (20)

PPT
Network Implementation and Support Lesson 12 Backups
PDF
How to Create Bootable disk in Windows XP
PPT
Ch04 system administration
PPTX
Configuring startup and troubleshooting startup issues
PPTX
WinFE: The (Almost) Perfect Triage Tool
PPT
101 1.2 boot the system
PDF
groupProject-1-Win8
PPT
PPT
15 maintaining & troubleshooting windows
PPT
Linux Booting Procedure system and networking.ppt
PPT
Linux booting procedure
PDF
Linux booting procedure
PDF
CSS LO6 - PREPARING AND INSTALLING OPERATING SYSTEM
PPTX
Selecting and Installing Operating System
PPTX
Linux booting process - Linux System Administration
PPTX
Chapter II - OS installation-Virtualization.pptx
PDF
Computer Forensics Working with Windows and DOS Systems
PDF
windows 7 installation guide edit how to install window 7.pdf
PDF
ITFT - DOS - Disk Operating System
Network Implementation and Support Lesson 12 Backups
How to Create Bootable disk in Windows XP
Ch04 system administration
Configuring startup and troubleshooting startup issues
WinFE: The (Almost) Perfect Triage Tool
101 1.2 boot the system
groupProject-1-Win8
15 maintaining & troubleshooting windows
Linux Booting Procedure system and networking.ppt
Linux booting procedure
Linux booting procedure
CSS LO6 - PREPARING AND INSTALLING OPERATING SYSTEM
Selecting and Installing Operating System
Linux booting process - Linux System Administration
Chapter II - OS installation-Virtualization.pptx
Computer Forensics Working with Windows and DOS Systems
windows 7 installation guide edit how to install window 7.pdf
ITFT - DOS - Disk Operating System

More from Amir Villas (20)

PPTX
Managing Files
PPTX
Working with Applications
PPTX
The Internet
PPTX
The Modems
PPTX
Using a Windows Network
PPTX
Setting Up a Windows Network
PPTX
Networking Hardware Concepts
PPTX
Portable PCs
PPTX
Imaging and Sound Devices
PPTX
Working with Printers
PPTX
Keyboards and Mice
PPTX
Monitors
PPTX
Video Cards
PPTX
Configuring Devices in Windows
PPTX
Performing Disk Management Tasks
PPTX
Disk Drives Interfaces
PPTX
Introduction to Disk Storage
PPTX
Working with the BIOS Setup Program
PPTX
Installing and Troubleshooting the Basic Components
PPTX
Cables
Managing Files
Working with Applications
The Internet
The Modems
Using a Windows Network
Setting Up a Windows Network
Networking Hardware Concepts
Portable PCs
Imaging and Sound Devices
Working with Printers
Keyboards and Mice
Monitors
Video Cards
Configuring Devices in Windows
Performing Disk Management Tasks
Disk Drives Interfaces
Introduction to Disk Storage
Working with the BIOS Setup Program
Installing and Troubleshooting the Basic Components
Cables

Recently uploaded (20)

PDF
Anesthesia in Laparoscopic Surgery in India
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Classroom Observation Tools for Teachers
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Pre independence Education in Inndia.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Institutional Correction lecture only . . .
PDF
Insiders guide to clinical Medicine.pdf
Anesthesia in Laparoscopic Surgery in India
O7-L3 Supply Chain Operations - ICLT Program
102 student loan defaulters named and shamed – Is someone you know on the list?
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Microbial diseases, their pathogenesis and prophylaxis
Classroom Observation Tools for Teachers
VCE English Exam - Section C Student Revision Booklet
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Renaissance Architecture: A Journey from Faith to Humanism
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Final Presentation General Medicine 03-08-2024.pptx
Microbial disease of the cardiovascular and lymphatic systems
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
GDM (1) (1).pptx small presentation for students
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Pre independence Education in Inndia.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Institutional Correction lecture only . . .
Insiders guide to clinical Medicine.pdf

The Boot Process

  • 1. PC Hardware Servicing Chapter 27: The Boot Process
  • 2. Chapter 27 Objectives • Understand bootable disks • Identify key boot files in each OS version • List the boot sequence for each OS • Use alternative boot modes • Create and use a boot floppy • Use the Recovery Console • Create and use an ERD • Troubleshoot startup and shutdown problems
  • 3. What Constitutes a Bootable Disk? • A disk that can bring the PC to a functional level, with the OS ready to accept user commands
  • 4. Startup Configuration Files for DOS • CONFIG.SYS – Used primarily under MS-DOS – Plain text file – Lists environment variables and device drivers – Runs only at startup • AUTOEXEC.BAT – Used primarily under MS-DOS – Plain text file – Lists applications to run at startup – Simple batch file, can be rerun at any time
  • 7. Startup Configuration Files for Windows 3.x • SYSTEM.INI – Loads device drivers – Defines environment variables • WIN.INI – Loads applications – Sets display settings and I/O device settings – Defines application settings
  • 10. The Registry • 32-bit versions of Windows system settings files • In Windows 9x: SYSTEM.DAT and USER.DAT • In Windows NT/2000/XP: SAM, SECURITY, SYSTEM, SOFTWARE, DEFAULT • Accessed through the Registry Editor as a single database
  • 11. MS-DOS Boot Sequence 1. BIOS performs POST 2. BIOS searches for master boot record (MBR), which defines the active partition 3. MBR takes control and locates IO.SYS 4. IO.SYS takes control, identifies hardware 5. IO.SYS runs CONFIG.SYS 6. MSDOS.SYS takes control, loads OS kernel into RAM 7. MSDOS.SYS runs AUTOEXEC.BAT 8. Command.com displays a command prompt
  • 12. Windows 9x Boot Sequence 1.BIOS performs POST 2.BIOS searches for MBR 3.MBR takes control and locates IO.SYS 4.IO.SYS takes control, runs MSDOS.SYS instructions 5.IO.SYS loads LOGO.SYS (graphic file) and displays it as Windows “splash screen” 6.IO.SYS looks for SYSTEM.DAT and USER.DAT and checks them
  • 13. Windows 9x Boot Sequence 7. IO.SYS loads SYSTEM.DAT 8. IO.SYS executes CONFIG.SYS and AUTOEXECB.BAT if present 9. IO.SYS loads HIMEM.SYS 10.IO.SYS loads WIN.COM 11.Win.COM loads 386.VXD (virtual memory manager) 12.VMM386.VXD loads 32-bit device drivers
  • 14. Windows 9x Boot Sequence 13.WIN.COM processes SYSTEM.INI if present 14.WIN.COM loads KRNL32.DLL, GDI.EXE, and USER.EXE 15.WIN.COM executes WIN.INI if present 16.WIN.COM runs any programs from Startup folder on Start menu
  • 15. Alternative Boot Modes for Windows 9x • Press F8 as PC is starting up to see Startup Menu
  • 16. Alternative Boot Modes for Windows 9x
  • 17. Safe Mode • Minimal set of drivers • Standard VGA driver • No support for CD, soun d, modem s
  • 18. Step by Step Confirmation • Accept or reject each line of the startup
  • 19. Windows NT, 2000, and XP Boot Sequence 1. BIOS performs POST 2. BIOS searches for MBR 3. MBR takes control and locates NTLDR 4. NTLDR switches CPU into 32-bit protected mode 5. NTLDR reads BOOT.INI. If multiple OSes, it displays a menu for user choice, and passes control to the chosen OS 6. NTLDR runs NTDETECT.COM, which detects the hardware for Registry
  • 20. Windows NT, 2000, and XP Boot Sequence 7. NTLDR reads NTOSKRNL (OS kernel) into memory 8. NTLDR locates drivers for Registry- reported hardware 9. NTLDR hands over control to NTOSKRNL.EXE 10.NTOSKRNL.EXE loads the device drivers and the GUI
  • 21. Alternative Boot Modes for NT 4 • VGA mode
  • 22. Alternative Boot Modes for Windows 2000 and XP
  • 23. Troubleshooting 9x Startup • No operating system found – No bootable disk is available – PC does not see hard drive – Hard drive not formatting – No OS installed – Loose connection to hard disk – Physical malfunction – Virus infection – IO.SYS or MSDOS.SYS missing or corrupted
  • 24. Troubleshooting 9x Startup • Error in CONFIG.SYS Line xx – Driver called for in CONFIG.SYS missing or corrupted • Bad or Missing COMMAND.COM • Stuck at Windows splash screen – Press Esc to see what is going on behind it – Disable virtual memory – Rebuild paging file
  • 25. Troubleshooting 9x Startup • Missing, Corrupt, or Unloaded HIMEM.SYS • Windows protection error – Virtual device driver problem – Start in Safe Mode and check for a real-mode driver on CONFIG.SYS – Remove and reinstall the device • Device referenced in SYSTEM.INI or WIN.INI not found
  • 26. Troubleshooting 9x Startup • General protection fault (GPF) – Two programs try to use the same memory space – Make a note of the file causing the error, and restart – If repeats, try reinstalling the associated program or using EXTRACT to re-copy file from Windows disc
  • 27. Troubleshooting 2000/XP Startup • Try Safe Mode • Try restoring last known good configuration • If Windows XP, use System Restore • Repair Windows installation by booting from Setup CD and choosing Repair
  • 28. Controlling What Loads at Startup • Disable items in WIN.INI, SYSTEM .INI, AUTOEXEC. BAT, and CONFIG.SYS through the System Configuration Editor (SYSEDIT)
  • 29. Controlling What Loads at Startup • Delete items from Startup folder on Start menu
  • 30. Controlling What Loads at Startup • Use System Configuration Utility (MSCONFIG) to disable startup items
  • 31. Creating a 9x Startup Floppy 1. Open Control Panel 2. Add/Remove Programs, Startup Disk tab 3. Click Create Disk and follow the prompts
  • 32. How a Boot Floppy Works 1.Booting from floppy creates RAM disk 2.Compressed files are decompressed onto RAM disk Therefore… some utilities are directly on the floppy, and others are on the RAM disk
  • 33. Files on a Boot Floppy • DRVSPACE.BIN: Support for hard disks compressed with DriveSpace • EBD.CAB: The compressed file containing extra utilities to be placed on RAM disk • AUTOEXEC.BAT and CONFIG.SYS • FINDRAMD.EXE: Locates the RAM disk • EXTRACT.EXE: Extracts compressed files to RAM disk • FDISK: Partitions disks • README.TXT: Information • CD-ROM drivers
  • 34. Files on the RAM Disk
  • 35. What is an ERD? • Emergency Repair Disk • For Windows 2000/XP only • Not bootable • Stores settings that can help repair Windows, along with Windows Setup’s Repair mode • Specific to that PC
  • 36. Creating an ERD 1. Start the Backup application 2. Click the Emergency Repair Disk button 3. Follow the prompts
  • 37. What Is the Recovery Console? • Command-line interface • Limited set of commands • Accessible even when Windows will not start normally • Can repair the MBR, disable services, etc.
  • 38. Booting to the Recovery Console 1.Boot from the Windows CD 2.Choose R for Repair 3.Choose C for Recovery Console 4.Type 1 to choose the Windows installation 5.Enter administrator password when prompted
  • 39. Recovery Console Commands – ATTRIB – CD – MD – COPY – DEL – CHKDSK – DIR – EXIT – EXPAND – FORMAT – MD – RD – REN Some are same as with Win9x startup disk:
  • 40. Recovery Console Commands • Some are different from normal command prompt commands: – BATCH – DISABLE – DISKPART – ENABLE – FIXBOOT – FIXMBR – LISTSYS
  • 41. Troubleshooting Shutdown Problems • Does not shut off with Shut Down command – Is ACPI enabled in BIOS Setup? – Is it an ATX motherboard? – Is ACPI enabled in Windows? – Are case wires connected to motherboard? – Is a BIOS update available for motherboard?
  • 42. Troubleshooting Shutdown Problems • Application Not Responding – Click End Task if dialog box appears – Press Ctrl+Alt+Delete and shut down application • No Shutdown with Power Button – Hold power button down for 5 seconds
  • 43. Troubleshooting Shutdown Problems • Windows 98 locks up when shutting down – Download patch for Windows 98 – Disable Fast Shutdown (in MSCONFIG)