Unix System Administration Booting and Shutting Down Chapter 2.

Slides:



Advertisements
Similar presentations
Introduction to Linux Linux startup process Unix Shells and scripts.
Advertisements

Basic Unix system administration
Some history PDP versions BSD/Version 7 split VAX virtual memory implementations End of line 4.4 BSD System V merges Modern versions OSF/1, Solaris, HPUX.
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.
Booting and Halting Chapter 4. Chapter Objectives Examine the sequence of events that occur when a system is booted. Examine the methods used to modify.
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.
Cosc 4750 Booting and shutdown. Bootstrapping Starting up a computer, load kernel into memory and begin executing. a vulnerable time, since errors in.
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.
FreeBSD startup and repair AfNOG 2007 Abuja, Nigeria Hervey Allen Materials from Brian Candler.
LinuxChix System Startup and Recovery. What happens at startup? ● The BIOS loads and runs the MBR ● A series of "bootstrap" programs are loaded – see.
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)
 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.
Chapter 15 System Administration By C. Shing ITEC Dept Radford University.
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.
Linux Boot Up Process Bootstrapping –Bootstrapping is the standard term for “ starting up a computer”. During bootstrapping, the kernel is loaded into.
Wednesday, June 07, 2006 “Unix is user friendly … it’s just picky about it’s friends”. - Anonymous.
Unix kernel Kernel refers to the core part of an operating system Historically, UNIX kernels are monolithic Newer versions of UNIX allow part of the kernel.
Unix Startup procedure
Chapter 10 Linux 10.1 User Interface Administration
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
Chapter 2 Booting Up and Shutting Down. Computer Center, CS, NCTU 2 Boot Up?
UNIX Startup and Shutdown CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University.
IT2204: Systems Administration I 8. The Operating System and Booting.
New SA Training Topic 4: System Architecture  System architecture is a broad topic, comprised of many different things. In our organization, SA’s primarily.
Booting Up and Shutting Down. Computer Center, CS, NCTU 2 Booting Up  Starting up a computer Load kernel into memory and execute it. (1)BIOS load and.
Booting and boot levels
System Startup & Shutdown Objectives –to interpret the Unix startup and shutdown configuration files –to be able to create a customised run level Contents.
Linux Security Anthony Albrecht – Services & Accounts
Introduction to Unix Operating System
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
UNIX Startup and Shutdown CSCI N321 – System and Network Administration Copyright © 2000, 2010 by Scott Orr and the Trustees of Indiana University.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
System Startup & Shutdown
ITI Chris Uriarte ITI-481: Unix Administration Meeting 2 Rutgers University Center for Applied Computer Technologies Chris Uriarte, Instructor.
Linux Startup Process Presenter: Dipu Gupta.
Linux Security. Module 13 – Linux Security ♦ Overview Linux is more prone today to security loopholes and attacks, both inside and outside the network.
Core System Services. INIT Daemon The init process is the patron of all processes. first process that gets started in any Linux/ UNIX -based system.
System Administration – Part 2. Devices in UNIX are files: A device can be accessed with different file names All device files are stored in /dev or its.
CSC414 “Introduction to UNIX/ Linux” Lecture 2. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
System Administrator Responsible for? Install OS Network Configuration Security Configuration Patching Backup Performance Management Storage Management.
System Administration. Logging in as System Administrator System Admin login (aka superuser, aka root) –login id: root –Default PS1 prompt: # –Home directory:
Runlevel initialization. Boot to Linux Grub interface.
UNIX Startup and Shutdown CSCI N321 – System and Network Administration Copyright © 2000, 2009 by Scott Orr and the Trustees of Indiana University.
135 Shutdown and Reboot Version A.01 H3064S Module 17 Slides.
Sys Admin Course Service Management Fourie Joubert.
Lecture 4 & 5: System Architecture  File systems  Devices  File system permissions  Review of Linux runlevels  In-class exercise.
Basic UNIX system administration CS 2204 Class meeting 14 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
System initialization Unit objectives A.Outline steps necessary to boot a Linux system, configure LILO and GRUB boot loaders, and dual boot Linux with.
The Linux startup process Jerry Feldman The Linux Expertise Center Hewlett-Packard Company Document produced via OpenOffice.org.
Getting Started with Linux
The Linux Kernel About 6 million lines of code
Chapter 8 Unix & Linux.
SYSTEM ADMINISTRATION PART I by İlker Korkmaz and Kaya Oğuz
Booting Up and Shutting Down
Session (1) Secure Unix Administration Who is a system administrator?
Linux Start Sequence Summary
Chapter 4 Booting and Shutdown
Booting Up and Shutting Down
OPS235: Week 1 Installing Linux (Lab1: Investigations 4 - )
SUSE Linux Enterprise Desktop Administration
Booting Up and Shutting Down
Presentation transcript:

Unix System Administration Booting and Shutting Down Chapter 2

Six Steps to Better Footwear Sock Shoe, Sock Shoe or Sock Sock, Shoe, Shoe? Load and init the kernel Detect and config devices Create spontaneous processes Operator intervention System startup scripts Multi-user operation

Sock Shoe, Sock Shoe vs. Sock Sock, Shoe Shoe In case of fire... Sock sock, shoe shoe –Both feet will be kept warm Sock Shoe, Sock Shoe –If raining, sock sock will get wet and cold –Sock shoe can hop around on one foot to stay dry

Colonel Kernel Here! Let’s Go... Kernel is a program Path is vendor dependent –Solaris - /kernel/genunix –Linux - depends, sometimes /vmlinuz, see /etc/lilo.conf Two stage process –Boot loader read from disk or tape (vendor dependent) –Kernel loaded into memory

Let’s Probe Uranus Instead! Kernel’s first chore Detects and initializes devices built into kernel Probes for additional device info and other devices In Solaris, devices must be on and the system booted with boot -r to detect new devices

Processes That Start with a “(cheesy) Poof” BSD Spontaneous Processes –swapper - process 0 –init - process 1 –pagedaemon - process 2 ATT Spontaneous Processes –sched - process 0 –init - process 1 –various memory handlers (except on Solaris)

Hey, I Need a Little Help Here! Single-user mode Most modern version of Unix stop and ask for the “root” password before creating a Bourne shell with root privileges Minimal services running and partitions mounted Operator can run fsck, backups, etc. CTRL-D to proceed to multi-user startup

Just follow the Script Please Location, content and organization of the startup scripts varies by system Two “standard” startup script methods exist. BSD - /etc/rc, /etc/rc.boot, /etc/rc.single, /etc/rc.local ATT - /etc/inittab, /etc/rc*, /etc/rc*.d/, /etc/init.d

I’ll Go This Way, You Go the BSD Way

Ack. Kiptan. We’re heading into the SUN….

Calling All Operators, How Does ATT Startup? Run + /etc/inittab determines scripts to run /etc/rc* scripts run programs that start with “S” in the /etc/rc*.d directories –foreach f in rc2.d run $f /etc/rc*.d startup scripts are usually linked to a scripts in a common /etc/init.d directory

It’s More Fun in Multi-User Mode Multi-user mode is reached after all the startup scripts run The system is ready for more than one user to login at a time Services (e.g. web, nfs daemon, telnet daemon, ftp daemon) are up and waiting to service requests

Jeopardy Time Answer: The system won’t start. Answer: The startup script method Linux uses. Answer: It is the command used to properly shutdown the system.