??(cancho_at_sparcs) - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

??(cancho_at_sparcs)

Description:

Title: 3. Controlling Program Flow Author: SEC Last modified by: WinXP Created Date: 4/9/2006 8:04:41 AM Document presentation format: (4:3) – PowerPoint PPT presentation

Number of Views:70
Avg rating:3.0/5.0
Slides: 13
Provided by: SEC117
Category:

less

Transcript and Presenter's Notes

Title: ??(cancho_at_sparcs)


1
??? ??? ??
SPARCS Wheel Seminar
  • ??(cancho_at_sparcs)

2
??? ????
  • ??? ???? ??
  • -gt ????.
  • -gt ???? SKIP
  • GRUB
  • -gt ???? ?? ??? ????? ??
  • -gt ??? ???? ??

3
Kernel
  • Kernel???
  • hardware? software? ?? ??
  • process? ????, device? mount
  • OS Kernel ( ??? ???)

Monolithic Kernel
4
GRUB
  • GRUB???
  • GRand Unified Bootloader
  • ???? Linux ???? ????
  • Debian ???? GRUB? ??

5
/boot/grub/menu.lst
  • ??? ?? -gt /etc/grub.conf ? ??.
  • grub shell ?? menu
  • ?? (SPARCS)

6
GRUB Install Remove
  • GRUB ??
  • grub-install --root-directory/boot /dev/sda
  • GRUB ??
  • FDISK /MBR (Windows 95/98/ME)
  • XP CD? ??? fixboot -gt fixmbr
  • (Windows NT/2000/XP)
  • MBR ?? X -gt Linux ??
  • -gt Windows ?? ?? -gt ??

7
init, inittab
  • init - ??? ???? ??
  • /etc/inittab
  • - init? ??? ??
  • - ???? ?? ??
  • ?? ???
  • init 5
  • /sbin/getty?

8
/etc/init.d
  • /etc/init.d/rcS
  • ???? ???? ????
  • ?? ??? 1? ??? ?? /etc/init.d/rcS
  • /etc/init.d/rc.d N
  • ? ?? ??? ?? ????
  • (/etc/rcN.d)? ??
  • /etc/init.d/apache start
  • ?? ????(apache) ??. /etc/rc6.d

9
?? ??
??
BIOS ??
???? ??
???? ?? ??
?? ??
?? ?? ????
??
MBR
HDD
????
RAM
????
?? ???
10
?? ??? ??
  • Single User Mode
  • - Login Prompt ?? Superuser
  • - ?? ???? ????
  • When?
  • - Superuser? password? ??? ?
  • - ?? ??? ???

11
??? ??
  • /sbin/shutdown
  • - init ????? ???? ??? ??
  • - ctrlaltdel -gt shutdown (inittab ??)
  • Why?
  • - Buffer ???
  • Option?
  • - man shutdown

12
??????
Write a Comment
User Comments (0)
About PowerShow.com