Chinaunix首页 | 论坛 | 博客
  • 博客访问: 179150
  • 博文数量: 18
  • 博客积分: 804
  • 博客等级: 军士长
  • 技术积分: 220
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-01 13:30
文章分类

全部博文(18)

文章存档

2015年(1)

2012年(2)

2011年(1)

2010年(2)

2009年(12)

分类: LINUX

2009-05-14 15:45:28

Boot Sequence Overview
1. BIOS initialization
2.Boot Loader (1st-resides in MBR or boot sector ; 2st-loaded from boot partition)
          GRUB /boot/grub.conf
          if MBR on /dev/hda is corrupted,reinstall the first stage bootloader with:/sbin/grub-install /dev/hda
            if grub-install fail for some reason try: type the comment -grub Enter -root(hd0,0) -setup(hd0) -quit
       example of GRUB:
            #boot=/dev/sda
             default=0
             timeout=5
             splashimage=(hd0,5)/grub/splash.xpm.gz
             hiddenmenu
           title Red Hat Enterprise Linux Server (2.6.18-8.el5)
             root (hd0,5)
             kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/ rhgb quiet
             initrd /initrd-2.6.18-8.el5.img
           title Other
             rootnoverify (hd0,0)
             chainloader +1
3.Kernel initialization (Device detection; Device driver initialization;Mounts root filesystem read ony; load init)
4.init starts and enters desired run level by executing: (/etc/inittab)
    -/etc/rc.d/rc.sysinit
    -/etc/rc.d/rc and /etc/rc.d/rc?.d/
    -/etc/rc.d/rc.local  (you can put your own scripts in there)
    -X Display Manager if appropriate  
      (system-config-services; ntsysv; chkconfig;  service ;  chkconfig;)
阅读(1528) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~