Linux system startup process

Source: Internet
Author: User

Linux system startup process brief

1, power-on self-test, the initialization of hardware.

2, enter the BIOS, look for boot media, the initial installation of Linux system is usually CD-ROM or USB drive boot, installed Linux system selected local HDD hard drive boot.

3. Find the 512-byte MBR boot loader in the first sector of the first partition of the first hard disk, and the Bootloader configuration file/boot/grub/grub.conf Find the system to boot and the kernel and kernel image files.

4. Unzip the kernel image into memory and run the hardware drive (disk, sound card, network card).

5, initialize the init, according to the configuration of/etc/inittab, the system first executes the script under/etc/rc.sysinit according to the configuration file/etc/init/rcs.conf, activates the swap partition, including the network settings, and then according to the configuration file/etc/init/ Rc.conf executes the script under/ETC/RC.D/RC3.D, Initializes a specific (time, language), and loads the service under that level. In addition, the system runs the script/etc/rc.d/rc.local (the user can customize the power-on script here), and when the service and process starts, the system starts to complete.

6, open/sbin/mingetty, set up 6 TTY, if run Level 5, turn on the graphical service.

7. Login user.

This article is from the "Linux" blog, so be sure to keep this source http://daixuan.blog.51cto.com/5426657/1715759

Linux 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.