Small white production Linux boot flowchart

Source: Internet
Author: User

Small white production Linux boot flowchart (old driver do not spray, welcome to discuss and correct mistakes), thank you

References: Brother Bird's Linux private cuisine, Wikipedia.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/88/2B/wKioL1frNSSyEw10AAOB0u12oNw076.png "title=" Linux boot flowchart. png "alt=" Wkiol1frnssyew10aaob0u12onw076.png "/>


Note ①: Files for each run mode

[[Email protected] ~]# ll -d /usr/lib/systemd/system/runlevel*.target | cut  -c 28- May 4 17:52 /usr/lib/systemd/system/runlevel0.target ->  poweroff.target may 4 17:52 /usr/lib/systemd/system/runlevel1.target ->  rescue.target may 4 17:52 /usr/lib/systemd/system/runlevel2.target ->  multi-user.target may 4 17:52 /usr/lib/systemd/system/runlevel3.target ->  multi-user.target may 4 17:52 /usr/lib/systemd/system/runlevel4.target ->  multi-user.target may 4 17:52 /usr/lib/systemd/system/runlevel5.target ->  graphical.target may 4 17:52 /usr/lib/systemd/system/runlevel6.target ->  Reboot.target

Note ②:

[Email protected] ~]# Cat/usr/lib/systemd/system/graphical.target
[Unit]

Interfacedocumentation=man:systemd.special (7)
Requires=multi-user.targetafter=multi-user.target
Conflicts=rescue.targetwants=display-manager.service
Allowisolate=yes[install]alias=default.target

This means that Graphical.target must complete the multi-user.target before it can be done, and after the graphical.target, it is necessary to start display-manager.service the meaning of the line.

Note ③:

#看看系统预设要载入的unit有哪些? [[Email protected] ~]# ls /usr/lib/systemd/system/multi-user.target.wantsbrandbot.path  plymouth-quit.service systemd-logind.servicedbus.service plymouth-quit-wait.service  systemd-user-sessions.servicegetty.target systemd-ask-password-wall.path# user custom to load the unit and what? [[Email protected] ~]# ls /etc/systemd/system/multi-user.target.wantsabrt-ccpp.service  crond.service mdmonitor.service sshd.serviceabrtd.service hypervkvpd.service  Modemmanager.service sysstat.serviceabrt-oops.service hypervvssd.service networkmanager.service  tuned.serviceabrt-vmcore.service irqbalance.service postfix.service  Vmtoolsd.serviceabrt-xorg.service kdump.service remote-fs.target vsftpd2.serviceatd.service  ksm.service rngd.service vsftpd.serviceauditd.service ksmtuned.service  rsyslog.servicebackup2.timer libstoragemgmt.service Smartd.servicebackup.timer libvirtd.service sshd2.service 


This article is from the "Pengjiawang" blog, make sure to keep this source http://pengjiawang.blog.51cto.com/10989721/1857266

Small white production Linux boot flowchart

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.