The System Boot Process

Similar documents
Halting and Booting. Student Guide. sun

Common Administration Tasks

Certification. System Initialization and Services

Introduction to Linux Init Scripts

Runlevels, System Shutdown and Reboot

RHCE BOOT CAMP. The Boot Process. Wednesday, November 28, 12

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER

CSE 265: System and Network Administration

CSE 265: System and Network Administration

HOW LINUX BOOTS. As it turns out, there isn t much to the boot process:

boot PROM 11.1 boot PROM

Booting up and Shutting down A primer for troubleshooting

OPERATING SYSTEMS. Božo Krstajić, PhD, University of Montenegro Podgorica.

The Linux IPL Procedure

System Administration. Startup Process

Booting Up and Shutting Down. lctseng / Liang-Chi Tseng

Backup & Recovery. Sun Microsystems Korea. ning.co.kr

Real4Test. Real IT Certification Exam Study materials/braindumps

HP-UX System Administration Course Overview. Skills Gained. Who will the Course Benefit?

Configure Windows Server 2003 Release 2 Server Network File Share (NFS) as an authenticated storage repository for XenServer

Unit 2 System startup and shutdown

Exam : : Sun Certified System Administrator for Solaris 10 OS.Part 1. Title. Version : DEMO

Converting rc scripts for 10.x

Sun Certified System Administrator for the Solaris 10 OS Bootcamp

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

Advanced Unix System Administration

Using grub to Boot various Operating Systems

Basic UNIX system administration

Chapter 2 Booting Up and Shutting Down

Introduction to Linux start-up. Hao-Ran Liu

Chapter 6. Boot time configuration. Chapter 6 Boot time configuration

Installing Red Hat Enterprise Linux AS 4 Update 3 on the IBM System p5 185 or IBM Intellistation POWER 185

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Alternative Boot Solutions

Booting Up and Shutting Down

Please choose the best answer. More than one answer might be true, but choose the one that is best.

Start Up and Shutdown Procedures (Unix)

PL-I Assignment Broup B-Ass 5 BIOS & UEFI

client X11 Linux workstation

Thousands of Linux Installations (and only one administrator)

HP-UX System Administration

Chapter 02 Linux Installation and Usage

Basic Shell Commands. Bok, Jong Soon

Linux/Citrix Virtual Environment Documentation

Embedded Linux Architecture

System Startup and Shutdown O BJECTIVES. The following objectives for the Solaris System Administrator Exam are covered in this chapter:

CRASH COURSE ON SOLARIS ADMINISTRATION

Network Drawing. Computer Specs, I ve used. Installing a Network-Based Intrusion Detection

SUN SOLARIS. Course Catalog

Administration Supplement for Solaris Platforms

Lab 3a Using the vi editor

LPI Exam LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 Version: 6.0 [ Total Questions: 120 ]

Replacing the Air Filter

System Boot May 2003 System Boot

LX0-103 Exam Questions Demo CompTIA. Exam Questions LX CompTIA Linux+ [Powered by LPI] 1

CompTIA Linux+/LPIC-1 COPYRIGHTED MATERIAL

System Initialization Part 2

StormTracker EMS 2.3 Installation Instructions. Contents. Document Number EMS-A2-GN10-00 July 2002

Mirroring the Boot Drive with Solstice Disk Suite/Solaris Volume Manager. Brad Isbell, Seeds of Genius June 2006

CompTIA Exam LX0-103 CompTIA Linux+ [Powered by LPI] Exam 1 Version: 6.0 [ Total Questions: 120 ]

This course is for those wanting to learn basic to intermediate topics in Solaris 10 system administration.

G54ADM Sample Exam Questions and Answers

Embedded lightweight unix

Rev C. OCAP Installation and Upgrade Instructions

Using the Offline Diagnostic Monitor Menu

Server Consolidation with Xen Farming

Course 55187B Linux System Administration

CST8177 Linux II. Linux Boot Process

LPIC-1 Exam 101, Part 1 of 2, version 4.0

Filesystem. Disclaimer: some slides are adopted from book authors slides with permission

Performing Administrative Tasks

"Charting the Course... Enterprise Linux System Administration Course Summary

Initialization: runlevels

MODULE 02. Installation

UNIX / LINUX - GETTING STARTED

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1

LPI EXAM LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2. Buy Full Product.

Unix System Architecture, File System, and Shell Commands

OPERATING SYSTEMS LINUX

"Charting the Course... MOC B: Linux System Administration. Course Summary

QUICK RECOVERY FOR REISER-FS

LPIC 102. be familiar with standard runlevels in a Linux system

A9890A RAID Smart Array 6402 Controller Quick Installation Guide

OPS535. NFS Servers and Clients. Advanced TCP/IP Network Administration. Raymond Chan Seneca College of Applied Technology

Booting: ROM vs RAM The term random access memory is somewhat misleading because DRAM, SRAM and ROM all qualify as random access memories We will

LPI Linux LPIC1. Module 1

Embedded System Design

Adding SD card to WRT54GL

Startup, Login, Logout scripts. By James Reynolds

Chapter 02. System Boot. HP-UX Handbook Revision 13.00

Vendor: RedHat. Exam Code: RH133. Exam Name: Red Hat Linux System Administration. Version: Demo

Herding Clones. Mike Kershaw August 17, urmk/

New Developments for HP-UX 10.X Filesystems

At course completion. Overview. Audience profile. Course Outline. : 55187B: Linux System Administration. Course Outline :: 55187B::

The UNIX operating system is a set of programs that act as a link between the computer and the user.

Presented by Bill Genske Gary Jackson

arxiv:cs/ v2 [cs.os] 9 Jan 2005

ENTERPRISE LINUX SYSTEM ADMINISTRATION

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1

System Administration for Beginners

Transcription:

The System Boot Process Sun Microsystems Korea www.suntraining. co.kr

PROM runs POST boot locates bootdevice Boot reads bootblk Boot load bootblk Bootblk load secondary boot program (ufsboot) Ufsboot loads kernel 32-bit kernel or 64-bit kernel Kernel initializes itself and loads modules Reads configuration file /etc/system Kernel starts /etc/init init starts rc scripts

1. Boot PROM Phase PROM runs the POST. boot determines the boot device. boot locates the bootblk on the boot device. boot loads the bootblk from its location on the boot device into memory.

2. Boot Programs Phase Bootblk loads the secondary boot program, ufsboot, from the boot device into memory. ufsboot locates and loads the appropriate two-part kernel * 32 bit kernel: /platform/`uname m`/kernel/genunix /platform/`uname m`/kernel/unix * 64bit kernel: /platform/`uname m`/kernel/genunix /platform/`uname m`/kernel/unix

3. The Kernel Initialization Phase The kernel initializes itself and begins loading modules(sys, exec, fs, misc, sched, strmod, drv ). /kernel /usr/kernel /platform/`uname m`/kernel /platform/`uname i`/kernel The kernel reads its configuration file called /etc/system. moddir: root device and root filesystem configuration: exclude: forceload: set: The kernel starts the /sbin/init process

4. The init Phase id : rstate : action : process # vi /etc/inittab ap::sysinit:/sbin/autopush -f /etc/iu.ap ap::sysinit:/sbin/soconfig -f /etc/sock2path fs::sysinit:/sbin/rcs sysinit >/dev/msglog 2<>/dev/msglog </dev/console is:3:initdefault: p3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog 2<>/dev/msglog ss:s:wait:/sbin/rcs >/dev/msglog 2<>/dev/msglog </dev/console s0:0:wait:/sbin/rc0 >/dev/msglog 2<>/dev/msglog </dev/console s1:1:respawn:/sbin/rc1 >/dev/msglog 2<>/dev/msglog </dev/console s2:23:wait:/sbin/rc2 >/dev/msglog 2<>/dev/msglog </dev/console s3:3:wait:/sbin/rc3 >/dev/msglog 2<>/dev/msglog </dev/console s5:5:wait:/sbin/rc5 >/dev/msglog 2<>/dev/msglog </dev/console s6:6:wait:/sbin/rc6 >/dev/msglog 2<>/dev/msglog </dev/console fw:0:wait:/sbin/uadmin 2 0 >/dev/msglog 2<>/dev/msglog </dev/console of:5:wait:/sbin/uadmin 2 6 >/dev/msglog 2<>/dev/msglog </dev/console rb:6:wait:/sbin/uadmin 2 1 >/dev/msglog 2<>/dev/msglog </dev/console sc:234:respawn:/usr/lib/saf/sac -t 300 co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T sun -d /dev/console -l console -m ldterm,ttcompat sg:3:respawn:/usr/bin/banner hi >/dev/msglog 2<>/dev/msglog </dev/console

init phase process /etc/inittab file sets initdefault to run level 3 executes commands with a sysinit entry in the action field executs commands with a run Level 3 entry in the rstate field /sbin/autopush /sbin/soconfig /sbin/rcs /sbin/rc2 /sbin/rc3 /usr/lib/saf/sac /usr/lib/saf/ttymon

/ / /sbin rc0 rc0 rc1 rc1 rc2 rc2 rc3 rc3 rc5 rc5 rc6 rc6 rcs rcs 47154 47155 47156 47157 47154 47154 47158 / / /etc /etc rcs.d rc0.d rc1.d rc2.d rc3.d S#script K#script K#script S#script K#script S#script K#script S#script

/ / /etc /etc rcs.d rc0.d rc1.d rc2.d rc3.d S#script K#script K#script S#script K#script S#script K#script S#script / / /etc /etc init.d cron cron dtlogin lp lp nfs.server

init run-level all rc script running ok delay time(sec) 0 messages no shutdown all ok 60 yes halt 0 no 0 no poweroff 5 no 0 no reboot 6 no 0 no

Level S Level 1 Level 0 Level 5 Level 6 init S init 1 init 0 init 5 init 6 shutdown shutdown i 1 shutdown i 0 shutdown i 5 shutdown i 6 halt poweroff reboot

1. /etc/system file modification 2. File system corruption 3. Mount file system (rc script) 4. Super block error 5. Disk label (VTOC) lost 6. /etc/vfstab file error 7. NFS (remote mount) error

joosy@suned.co.kr http://www.suntrai ning.co.kr