System startup process

Source: Internet
Author: User

First stage hardware boot boot:

POWER---->bios---->MBR [Bootloader (Grub Program): 446bytes, partition Table partition table, 64bytes, MagicNumber: Standard verification Code


Grub File: cat/boot/grub/grub.conf

# grub.conf generated by Anaconda

#

# Note that you don't have the to rerun grub after making changes to the This file

# notice:you has a/boot partition. This means

# all kernel and INITRD paths is relative to/boot/, eg.

# root (hd0,0)

# kernel/vmlinuz-version RO root=/dev/sda2

# initrd/initrd-[generic-]version.img

#boot =/DEV/SDA

Default=0

Timeout=5

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

Hiddenmenu

Title CentOS (2.6.32-431.el6.x86_64)

the disk partition where root (hd0,0) <--grub resides

kernel/vmlinuz-2.6.32-431.el6.x86_64 <--system core ro root=uuid=65af82a4-cc0e-4361-85c0-3bec9269079a Rd_NO_L UKS 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-431.el6.x86_64.img <--kernel image file, unzip load driver


Second Stage grub boot boot:

Stage1 (MBR)--->stage1.5 (middleware transfer stage2, bridge function)--->stage2 (disk, core image)


Third stage kernel boot boot:

Call/sbin/init main Process---> Start level profile/etc/inittab--> Load startup script profile/etc/init/rc.conf----> Perform service etc/init/rc/and initialize/etc/ Rc.d/rc.sysinit--->./etc/fstab-> one of the run-level scripts/etc/rc3.d--->/etc/rc.d/rc.local execution configuration file


Phase IV SYS V INIT initialization phase

/sbin/mingetty Terminal--->/ETC/X11/PREFDM graphics terminal---->/etc/login Login


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/71/65/wKioL1XN5avTh-G0AAIEu-Xkr4w981.jpg "title=" 1.jpg " Style= "Float:left;" alt= "wkiol1xn5avth-g0aaieu-xkr4w981.jpg"/>650) this.width=650; src= http://s3.51cto.com/ Wyfs02/m01/71/69/wkiom1xn46bqt1wsaajd4lbbhl4915.jpg "style=" float:left; "title=" 2.jpg "alt=" Wkiom1xn46bqt1wsaajd4lbbhl4915.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/71/65/wKioL1XN5a-wv7cjAAMqELl5XoI445.jpg "style=" float: Left; "title=" 3.jpg "alt=" Wkiol1xn5a-wv7cjaamqell5xoi445.jpg "/>


System startup process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.