Newbie School: instructions on how to start the Linux operating system

Source: Internet
Author: User
Article Title: newbie School: instructions on how to start the Linux operating system. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

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 sequence. The script is usually started with the "start" parameter and points to a program in the system.

Generally, the startup script under the "/etc/rcS. d/" directory is first executed, and then the "/etc/rcN. d/" directory. For example, if you set the running 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

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.