标签:lan pts hidden image art init lis tab 技术
检查硬件:CPU、内存、主板....
检查完毕将启动任务交给相应的设备(BIOS设置的启动顺序)
硬盘0柱面0磁道1扇区的前446byte
[root@xiaojing ~]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0 #启动那一个内核文件
timeout=5 #超时
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS 6 (2.6.32-754.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-754.el6.x86_64 ro root=UUID=ad36a095-56bf-4e0f-a120-6a8fb7420cfc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-754.el6.x86_64.img
[root@xiaojing ~]# ps -ef|grep init
root 1 0 0 18:53 ? 00:00:01 /sbin/init
root 24716 1816 0 19:26 pts/0 00:00:00 grep init
/etc/inittab #设置运行级别
/etc/rc.d/rc.sysinit #对系统进行基本设置,如设置主机名,设备自动挂载
/etc/rc.d/rc3.d/ #运行级别为3,文本模式
[root@xiaojing ~]# chkconfig --list sshd
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
标签:lan pts hidden image art init lis tab 技术
原文地址:https://www.cnblogs.com/xiaojing-/p/10459351.html