ch 08. 부트 프로세스

Download Ch 08.  부트 프로세스

Post on 23-Feb-2016

89 views

Category:

Documents

0 download

Embed Size (px)

DESCRIPTION

Ch 08. 부트 프로세스. Flatstar. 부트 프로세스란 ?. 컴퓨터의 시동 과정을 부트 과정 (Boot process) 라고 합니다 . 시스템의 부팅 과정을 이해하는 것은 매우 중요한 과정으로 리눅스 시스템 운영의 기본이 됩니다 . 리눅스 시스템의 부트 과정은 다음과 같이 7 단계로 구분되어 있습니다 . 부트 프로세스. 1. 시스템 전원 ON. 2. BIOS 프로그램의 실행. 3. 부팅매체 검색. 4. 부트로더 실행. 5. - PowerPoint PPT Presentation

TRANSCRIPT

Ch 08.

Ch 08. Flatstar

? (Boot process) .

.

7 . ONBIOS 1234 (vmlinuz) (\) init Conclusion567 Conclusion ON1

. ROM-BIOS* BIOS** CPU .*ROM-BIOS = BIOS . ?**BIOS = Basic Input Output System, .. Conclusion BIOS(Basic Input Output System) (Booting) . ROM-BIOS BIOS . , , . , . BIOS 2BIOS?

ROM-BIOS Conclusion POST(Power-On Self Test) (Booting) CPU, , , . , (beep) SETUP . POST BIOS BIOS POST .BIOS 2POSTPs. POST .

http://blog.daum.net/hanlimpark/13565134

Ps2. .

3 POST * CMOS** . , MBR*** MBR (Boot loader) GRUB .

* = , CD-ROM, DVD, **CMOS = . CMOS BIOS.***MBR = Master Booting Record, ., GRUB = .. .

(Boot Loader) * .

LILO(Linux Loader) GRUB(Grand Unified Bootloader) , GRUB . 4BOOT LOADER?* = kernel, . .

:

.

CPU .

, .

, .

, .

.

GNU GRUB Erich Stefan Boleyn GRand Unified Bootloader . GRUB GNU Hurd LILO Linux .

GRUB .

LILO LILO .

GRUB . 4GRUB , .

Chain-loader Linux, FreeBSD, NetBSD, OpenBSD, Windows .

.

.

BIOS .

GRUB .

gzip .

. 4GRUB GRUB /boot/grub/grub.conf.

GRUB . IDE hda, hdb SCSI sda, sdb . hda1, hda2 sda1, sda2 . , GRUB IDE SCSI . , (hd0) . , had sda (hd0) . , (hd0,0) hda1 sda1 .

Default=0 GRUB . title , 0 . Default=0 .

4GRUB Timeout=5 . Timeout=5 5 .

Splashimage=(hd0,1)/grub/splash.xpm.gz GRUB .

Hiddenmenu hiddenmenu .

Password GRUB .

Title . Root, kernel, initrd , , initrd . Title , .

4GRUB Conclusion GRUB . *(/boot/vmlinuz-2.6.9-34.EL) PID 0 swapper . Swapper . (vmlinuz) 5* = . . Conclusion (\) . (read-only) , / .(\) 6 PID 1 init . Init . . Init sysinit sysinit fack , , , , , , , /etc/fstab .Sysinit init /etc/inittab . /etc/inittab , . inittab .init 7 INIT .Id : runlevel : action : process

Id : id inittab 1~4 .Runlevel : .Action : respawn wait. -respawn : -wait : init . -once : .. runlevel .init 7INIT (/etc/inittab) -boot : . runlevel . -bootwait : , init . runlevel . -off : . id . -ondemand : ondemand runlevel . runlevel . -initdefault : runlrvel . runlevel . -sysinit : . boot, bootwait . Process .Process : .

init 7INIT (/etc/inittab) Inittab . init , f8 , . , 0~6 7 . runlevel3, runlevel5 . runlevel . init 7Default runlevel Runlevel 0 : (halt)Runlevel 1 : , Runlevel 2 : NFS Runlevel 3 : , TUI Runlevel 4 : ( )Runlevel 5 : x Runlevel 6 : init 7Default runlevel /etc/rc.d/rc5.d . S00microcode_ctl-> so4readahead_early-> so5kudzu-> SO6cpuspeed-> so8arptables_if .init 7S(start) /etc/rc.d/rc5.d . S00microcode_ctl-> so4readahead_early-> so5kudzu-> SO6cpuspeed-> so8arptables_if .init 7K(kill) Thank You !