:




        Boot,   bootstrapping   -   ,   
"/,    ",     
      "Pull itself up by its own boot
straps" (     )

        Boot-prom'a -  , 
                  
   .

      , boot-prom   : 
,     ,    
hardware.      -    
    /unix -   .
              ,
                 
"      ",          
.



     Boot-prom  "BOOT BLOKS" - 1-  
. "boot-bloks"     1-15    ,
        "/".   
           0.
     "Boot-   blocks"             
  (      SCSI-
3)    installboot.     -
:

    installboot /dev/rdsk/c0t3d0s0

     Boot-blocks  " "    unix -
ufs .          "/ufsboot"
- 2-    -   .

     /ufsboot   /kernel/unix   .

        Unix           .    
      .      
""           ,      
   ,      ,   
      ,            
.

       boot-prompt:

  STOP+A

       single user:

  bo: boot -s



     Boot-prom      -  /stand/boot,
   /stand/unix

       boot-prom           
   unix'  ,  unix
  boot            - 
/stand.    "      "  bfs
(Boot  File  System),    boot-prom'     
    .

       boot-prompt:

      : "Idle MPU: none"
  

       single user:

                      
 : "Press _-_to enter system_maintence.
  



     BIOS       .

           LILO (LInux LOader). Lilo 
 /vmlinuz

                   
/etc/lilo.conf          
 

  lilo

       Lilo-prompt:

Left_ALT     "Lilo ..."

       single user:

  Lilo: linux root=/dev/hda2 single

         single user:

  Lilo: linux init=/bin/sh
  mount -n -o remount /dev/hda2 /
  insmod de4x5
  ifconfig eth0  195.232.171.30
  route add -net 195.232.171.0 gw 195.232.171.30
  insmod nfs



       HP 9000  "PDC" - "Processor Dependent Code"
-     ,       ESC    
 .

                Boot-    LIF
(  )  LIF- 4 ""

ISL       - "" 
HPUX      -   
AUTOBOOT  -   ,         
            

: PDS  ISL 

  bo scsi.6.0 isl

ISL   

  hpux /stand/vmunix

       PDC-prompt:

 ESC   10 

       single user:

PDC> bo pri isl
ISL> hpux -is /stand/vmunix


        :
GSP - Guardian Service Processor -   ( 2003) 
MP - Management Processor -  Itanium-

  :
Admin/Admin

 IP:
GSP - 192.0.0.192/0.0.0.0
MP  - 192.168.1.1/0.0.0.0

############    MP  unix-:
route add 192.0.0.192 {my.own.ip.addres}
ping 192.0.0.192
arp -a | grep 192.0.0.192
arp -s 192.0.0.192  {GSP:ether:net:addres}
telnet 192.0.0.192

MP-

^E CF -     ( RO  RW)
co  - COnsole (  console  MP-prompt - ^B)
vfp - Virtual Front Panel (^Q,ma -    )
cm  - Command Menu
cl  - Console Log viewer
sl  - Show chassis Log
he  - HElp menu
x   - eXit







         init.
 init -   ,  ,  
    .

        .
,    init-,   .

 init    - " ".
       -
.    ( ) 0,1,2,3,4,5,6,s,S

   0        - prom  -   ;
1, s, S     - single user mode.  ;
   2        -    NFS-;
   3        -    NFS-;
   6        - ;




bchk::sysinit:/etc/bcheckrc/dev/console 2>&1
brc::sysinit:/etc/brc   > /dev/console 2>&1
is:3:initdefault:
rc:12345:wait:/etc/rc    > /dev/console 2>&1
r0:0:wait:/etc/rc0       > /dev/console 2>&1
r2:23:wait:/etc/rc2      > /dev/console 2>&1
r3:3:wait:/etc/rc3       > /dev/console 2>&1
pf:12345:powerfail:/etc/powerfail > /dev/console 2>&1
co:12345:respawn:/etc/sysmonitor  console console
t1:23:respawn:/etc/sysmonitor     tty01   9600
t2:23:off:/etc/sysmonitor         tty02   9600

         :

:_:_: 

: -    -     
_:

  sysinit        ;

               :
  wait    -     ,   ;
  respawn -  ,   , -
             ;
  off     -    (   ).


      ,   ,
          -
    .


         init  ,  "sysinit"

           "sysinit" ,  init    
    /etc/inittab     initdefault 3 -
   ""   3.



               3, init  
          "3"  -  
    /etc/rc2  -    .   :
/etc/rc2            /etc/rc2.d/S*,
      /etc/rc2.d.        
 "start"

        /etc/rc2, init     
 /etc/rc3.         
sysmonitor  -         .  
  ,        :   "Login:   "
,     ,   , 
    ""    ,      
   . init     "respawn" -
   sysmonitor -     
"Login: "   .



          init    5.
    
/etc/rc.d/rc.S

             
/etc/rc.d/rc.M
           
/etc/rc.d/rc.inet1    
/etc/rc.d/rc.inet2    
/etc/rc.d/rc.local         
                     - ,  ,   httpd,
                        ..



   rc- System V

RC-:
/etc/rc.d/rc[0123456].d/
/etc/rc.d/init.d/

   RC-:
/etc/sysconfig/



      BSD- ,  
 rc- System V

RC-:
/sbin/rc[0123].d/
/sbin/init.d/

   RC-:
/etc/rc.defaults.d/



   rc- System V

RC-:
/etc/rc[0123456].d/
/etc/init.d/

Last-modified: Sun, 14 Mar 2004 03:45:10 GMT
: