1. read the MBR information and start BootManagerWindows to use NTLDR as the BootManager. if multiple versions of Windows are installed in your system, Select
1. read the MBR information and start the Boot Manager.
In Windows, NTLDR is used as the Boot Manager. if multiple versions of Windows are installed in your system, you need to select the system to enter from NTLDR.
Linux usually uses the powerful and flexible GRUB configuration as the Boot Manager. we will introduce how to use it in the startup management chapter.
2. load the system kernel and start the init process.
The init process is the root process of Linux, and all system processes are its sub-processes.
3. the init process reads the information in the "/etc/inittab" file, enters the preset running level, and runs the scripts in the corresponding folder of the running level in order, the script is usually started with the "start" parameter and points to a program in the system.
Normally, "/etc/rcS. the startup script in the d/"directory is executed first, and then"/etc/rcN. d/"directory. for example, if you set the runtime level to 3, the corresponding Startup directory is"/etc/rc3.d /".
4. start the Xwindow server "xorg" according to the script in the "/etc/rcS. d/" folder"
Xwindow is a graphical user interface system in Linux.
5. start the logon manager and wait for the user to log on.
By default, you can log on to the system using the Windows agent system as the logon manager. you can log on to the system by entering the user name and password on the logon manager page. (You can find a link named "s13tpd" in the "/etc/rc3.d/" folder)
If you want to start Ubuntu to command prompt every time, enter the following command:
$ Echo "false" | sudo tee/etc/X11/default-display-manager
When the next boot starts, it will start in command mode. if you want to restart x window again, you can enter:
$ Echo "/usr/bin/mcm" | sudo tee/etc/X11/default-display-manager