linux系统引导流程(2)

发布时间:2021-06-08

linux系统引导流程

Sun Jan 15 19:26:50 PST 2012

[root@localhost test]# hwclock

Sun 15 Jan 2012 07:26:58 PM PST -0.997218 seconds

[root@localhost test]# hwclock --systohc

[root@localhost test]# date

Sun Jan 15 19:27:41 PST 2012

[root@localhost test]# hwclock

Sun 15 Jan 2012 07:27:48 PM PST -0.322978 seconds

[root@localhost test]#

内核 kernel

内核只有两个作用,载入驱动程序,驱动硬件

启动进程init (很重要的进程 ,其PID)始终为1

# 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/sda2

# initrd /initrd-version.img

#boot=/dev/sda

default=0

timeout=5

splashimage=(hd0,0)/grub/splash.xpm.gz

hiddenmenu

title CentOS (2.6.18-194.32.1.el5)

精彩图片

热门精选

大家正在看