135 Shutdown and Reboot Version A.01 H3064S Module 17 Slides.

Slides:



Advertisements
Similar presentations
Windows 2000 Installation Process. There are three methods available to install the Windows 2000 operating system: Setup boot disks CD – Rom Over-the-network.
Advertisements

Introduction to Linux Linux startup process Unix Shells and scripts.
Hp education services education.hp.com 85 System Crash Dump Version C.00 H4264S Module 9 Slides.
Linux Boot Loaders. ♦ Overview A boot loader is a small program that exists in the system and loads the operating system into the system’s memory at system.
Booting and Shuting Down WeeSan Lee. Roadmap Bootstrapping Boot Loaders Startup/Init Scripts Reboot & Shutdown Q&A.
Genesis: from raw hardware to processes System booting sequence: how does a machine come into life.
Chapter 9: Understanding System Initialization The Complete Guide To Linux System Administration.
Week 8 System Initialization and X Windows. Objectives  Summarize the major steps necessary to boot a Linux system  Configure the LILO and GRUB boot.
Booting and Shutting Down the UNIX Operating System Arcadio A. Sincero Jr. 6/6/2001 CMSC 691X, Section 6080.
Linux+ Guide to Linux Certification Chapter Nine System Initialization.
Linux Booting Procedure
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
Linux+ Guide to Linux Certification, Third Edition
Booting And Shutting Down. Bootstrapping  Bootstrapping is standard term for “starting up a computer”  During bootstrapping the kernel is loaded into.
Chapter 2 Booting and Shutting Down Kim Grempler (Sections 2.0 to 2.3) Leon Dague (Sections 2.4 to 2.7)
Introduction to Linux Init Scripts In this session we will cover the Linux initialization process, run levels, how to change the run level and how to initialize.
 Starting up a computer › Load kernel into memory and execute it. (1)BIOS load and run the MBR (Master Boot Record) (2)MBR searches for the bootable.
Startup and Shutdown1-1 Booting and Shutting Down  Bootstrapping m The computer must pull itself up m Automatic and manual booting m Steps in the boot.
Exploring the UNIX File System and File Security
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
Linux Intro Linux, the do it yourself OS Linux, successor to MINIX Linux, Unix for the masses (PC users) History:
Chapter 2 Accessing Your System and the Common Desktop Environment.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
Chapter 12 - Backup and Disaster Recovery1 Ch. 12 – Backups and Disaster Recovery MIS 431 – Created Spring 2006.
Starting and Stopping Linux. Boot Process BIOS initializes hardware –Loads the boot sector MBR loads the bootloader –Point to kernel Kernel initializes.
Processes & Daemons Chapter IV / Part III. Commands Internal commands: alias, cd, echo, pwd, time External commands, code is in a file: grep, ls, more.
Va-scanCopyright 2002, Marchany Unit 4 – The Boot Process Randy Marchany VA Tech Computing Center.
System Startup and Shutdown
CCNA 2 v3.1 Module 2.
Chapter 2 Booting Up and Shutting Down. Computer Center, CS, NCTU 2 Boot Up?
Installing Linux Redhat: A how to guide in installing and configuring Redhat 6.2.
George Vordenbaum Systems Content Developer Global Support Automation Microsoft Corporation Exploring Windows XP Boot Options and Recovery Console George.
Module 3: Resolving Boot Process Issues. Overview Understanding the Boot Process Using Advanced Boot Options Using the Boot.ini file to Change Startup.
Configuring the MagicInfo Pro Display
Booting and boot levels
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
System Startup & Shutdown Objectives –to interpret the Unix startup and shutdown configuration files –to be able to create a customised run level Contents.
UNIX Startup and Shutdown CSCI N321 – System and Network Administration Copyright © 2000, 2010 by Scott Orr and the Trustees of Indiana University.
Hp education services education.hp.com 50 LVM Problems Version C.00 H4264S Module 6 Slides.
Linux Administration. Pre-Install Different distributions –Redhat, Caldera, mandrake, SuSE, FreeBSD Redhat Server Install –Check HCL –Significant issues.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
System Startup & Shutdown
UNIX (Linux) Introduction Module-1. OS Kernel In computing, the kernel is the central component of OS. It is a bridge between applications and the actual.
CIS Lesson 5 Lesson 5 New Skills Boot time GRUB edits (review) Changing BIOS boot order on a VM (review) Mounting CD ISO and floppy Image files on.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 9: Basic Linux Administration Chapter 11: System Administration: Core Concepts Chapter 16:
Linux Startup Process Presenter: Dipu Gupta.
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/16 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
70 Starting Network Services Version A.01 H3065S Module 7 Slides.
CSC414 “Introduction to UNIX/ Linux” Lecture 2. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
System Administration. Logging in as System Administrator System Admin login (aka superuser, aka root) –login id: root –Default PS1 prompt: # –Home directory:
Genesis: From Raw Hardware to Processes Andy Wang Operating Systems COP 4610 / CGS 5765.
UNIX Startup and Shutdown CSCI N321 – System and Network Administration Copyright © 2000, 2009 by Scott Orr and the Trustees of Indiana University.
Unix System Administration Booting and Shutting Down Chapter 2.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
Sys Admin Course Service Management Fourie Joubert.
System initialization Unit objectives A.Outline steps necessary to boot a Linux system, configure LILO and GRUB boot loaders, and dual boot Linux with.
Overview A) Power on or reset B) 1st stage boot loader C) 2nd stage boot loader D) Operate system.
Linux Introduction Linux was developed in the early 1990’s by Linus Torvald computer science student at the University of Helsinki Linux is distributed.
Chap- 2 BOOTING & SHUTDOWN LINUX SYSTEM Created by: Asst. Prof. Ashish Shah, J.M.PATEL COLLEGE, GOREGOAN W 1.
System Administration Startup Process. Why Care? ● Every process on your system comes about by following a specific chain of events from the machine startup.
Booting Up and Shutting Down
Chapter 4 – Introduction to Operating System Concepts
Linux Start Sequence Summary
Chapter 4 Booting and Shutdown
OPS235: Week 1 Installing Linux (Lab1: Investigations 4 - )
SUSE Linux Enterprise Desktop Administration
Chapter 3: The Shell.
Objectives Topic 2.6 Understanding the boot process
Presentation transcript:

135 Shutdown and Reboot Version A.01 H3064S Module 17 Slides

© 1999 Hewlett-Packard Co. H3064S A HP-UX Operation States Multi-user mode Normal machine state Users can log in File systems mounted Most services plus daemons available Single-user mode Required for some admin tasks Only root login allowed Non-critical file systems unmounted Non-critical daemons shut down Halt state Nothing running a66979

© 1999 Hewlett-Packard Co. H3064S A Changing State with Shutdown and Reboot Multi-user Mode shutdown -r reboot Power-off Halt State reboot -h shutdown s hutdown -h Single-user Mode Power-off a69710

© 1999 Hewlett-Packard Co. H3064S A System Boot Introduction Goal Load kernel in memory. Bring system up to a fully functional state. a66981 boot area / stand vmunix Boot Disk CPU Memory SPU

© 1999 Hewlett-Packard Co. H3064S A System Boot Players a66982 BootROM Stable Storage SPU swap /stand/vmunix boot area Boot Disk BootROM Stable storage Boot area File system containing the kernel Primary swap

© 1999 Hewlett-Packard Co. H3064S A System Boot Process Overview a66983 PDC ISL hpux vmunix Test SPU. Choose a boot disk using h/w paths in stable storage. Load and run ISL utility from boot disk. Read AUTO file from boot disk for kernel load options. Load and run hpux utility from boot. Find root file system on boot disk. Load and run kernel from boot disk. Uses “init” to start all necessary daemons and services. Bring system to multi-user mode.

© 1999 Hewlett-Packard Co. H3064S A Autoboot versus Manual Boot Autoboot System boots without admin intervention Uses default boot disk kernel Normal mode of operation What if... The primary boot disk is damaged? The default kernel is unbootable? The root password has been lost? A manual boot may be required! a66984

© 1999 Hewlett-Packard Co. H3064S A Initiating the Boot Sequence From a power-off state Hit the power switch! From a running system Multiuser mode: shutdown -r Single-user mode: reboot a66985

© 1999 Hewlett-Packard Co. H3064S A Interacting with the PDC/BootROM Interrupting the autoboot menu choice: a# some models go straight to BOOT_ADMIN Useful PDC commands BOOT_ADMIN> help# view help menu BOOT_ADMIN> search# list all SCSI devices BOOT_ADMIN> search ipl# list all possible boot devices BOOT_ADMIN> path# list all boot paths in stable storage BOOT_ADMIN> path pri scsi.6.0# set scsi.6.0 as primary boot path BOOT_ADMIN> path alt scsi.0.0# set scsi.0.0 as alternate boot path BOOT_ADMIN> boot alt# boot from the alternate boot path BOOT_ADMIN> boot pri# boot from the primary boot path BOOT_ADMIN> boot pri isl# boot from the primary to isl prompt a66986 Power Escape

© 1999 Hewlett-Packard Co. H3064S A Interacting with the ISL Getting to the ISL menu choice: a# some models go straight to BOOT_ADMIN BOOT_admin> boot pri isl# use “isl” Interact with IPL? Yes# some models go straight to ISL Useful ISL commands ISL> help# list available commands ISL> hpux# boot from default kernel ISL> hpux -is# boot to single-user mode ISL> hpux ls# list contents of /stand ISL> hpux -is /stand/vmunix.prev# boot using an alternate kernel ISL> hpux show autofile# show the LIF AUTO file contents a66987 Power Escape

© 1999 Hewlett-Packard Co. H3064S A What Happens after the Kernel Is Loaded? a66988

© 1999 Hewlett-Packard Co. H3064S A Run Levels and init Init starts services in stages (run levels) Possible run levels= 0, s, 1, 2, 3, 4, 5, 6 Lower run levels= few services available Higher run levels= more services available Simplified example: Run level:Services available: 3syncer, spooler, CDE 2syncer, spooler 1syncer 0 a66989

© 1999 Hewlett-Packard Co. H3064S A Changing Run Levels with init a66990 Viewing the current run level # who -r. Run-level 3 Dec 1 12: S previous run level # times at this level since boot current run level when this level was entered current run level Changing run levels # init 4# moves up to run level 4 # init 2# moves down to run level 2 # init 3# moves back up to run level 3

© 1999 Hewlett-Packard Co. H3064S A Configuring init via /etc/inittab a69711 Sample initab file ### change the default run level here init:3:initdefault: ### pre-configured lines required for boot - don’t change! ioin::sysinit:/sbin/ioinitrc# scan h/w and create dev files muxi::sysinit:/sbin/dasetup# initialize console mux stty::sysinit:/sbin/stty 9600# set console baud rate, etc. brcl::bootwait:/sbin/bcheckrc# run fsck on file systems cprt::bootwait:/sbin/cat /etc/copyright# display copyright sqnc::wait:/sbin/rc# start add’l daemons and svc’s ### these lines display login prompts cons:123456:respawn:/usr/sbin/getty console # login prompt on console t0pl:234:respawn:/usr/sbin/getty -h tty0p1 H # login prompt for tty0p1 t0p2:234:respawn:/usr/sbin/getty -h tty0p2 H # login prompt for tty0p2 (Note: some arguments are truncated from commands to fit on slide.)