How to start the linux system
How to start the linux system? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
1: first, bios power-on self-test, initialization (this process will detect the relevant hardware (cpu, memory, video card, hard disk, etc.))
2: load the kernel and read the configuration file in / boot
3: start the initialization process and start running / sbin/init
4: read / etc/initab to determine the run level
5: according to / etc/rc.d/rcN.d load boot program, rcN.d are connection files (where the "N" represents the number), all point to / etc/rc.d/init.d.
6: run / etc/rc.d/rc.local again
7: for login (3 ways ssh, command line, graphical)
8: enter loginshell, take the command behavior as an example, first read the global configuration file / etc/profile, and then read ~ / .bash_profile and ~ / .bash_login and ~ / .profile in the home directory (home) for the current user.
Note: the common "rc" in Linux is generally an abbreviation for "run command" and is often used in script file names.
This is the answer to the question about how to start the linux system. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel to learn more about it.