Complete start-up process under Linu

Source: Internet
Author: User
Tags network function

1:BIOS: boot automatically detects the BIOS (software embedded in hardware) and identifies the first bootable device according to the user's settings

2:MBR: read MBR (main bootstrapper partition block) in first sector of first bootable device, boot loader (boot loader) in MBR

3:boot loader: load kernel file, start operating system

Additional Features:

1: Provides menu options, user can choose other boot options, multi-boot

2: Transfer the boot load function to other loader (boot loader can be installed in the MBR as well as in the boot sector boot sector of other partitions)

4: After the kernel is acquired, it is loaded into memory and hardware detects and loads the driver

5:init process : Kernel actively invokes Init process to get run-level information

run-level:

0-halt: Direct shutdown

1-single User mode: Single-user modes for maintenance in the case of system problems

2-multi-user, without NFS: command-line mode with no NFS service

3-full Multi-User mode: command line with network function

4-unused: System Hold function

5-X11: Graphical interface

6-reboot (restart)

6:/etc/rc.d/rc.sysinit: Init process runs this file to configure the system's basic operating environment (e.g. network environment, storage environment, etc.)

You can use DMESG to see what the system does.

7:/etc/rc.d/rc[0-6].d/*: Init process opens the service under the corresponding Run-level

8:/etc/rc.d/rc.local: Init process runs user-defined script in/etc/rc.d/rc.local

If we want to let the system automatically execute some scripts at boot time, instead of waiting for our login system to start manually, we can write the script to /etc/rc.d/rc.local, then the work will be loaded automatically when it is started.

9: Enter terminal


This article is from the "Call Me boxin" blog, so be sure to keep this source http://boxinknown.blog.51cto.com/10435935/1663832

Complete start-up process under Linu

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.