How to enter linux single-user mode

Source: Internet
Author: User

One of the advantages of the single-user mode is that you do not need to use a boot floppy disk or boot CD; however, it still provides you with the option of mounting the file system to read-only mode or simply not to mount the file system.

In single-user mode, your computer is directed to runlevel 1. Your local file system is mounted, but your network is not activated. You have an available system to maintain the shell. Unlike the rescue mode, the single-user mode automatically tries to mount your file system. If your file system cannot be mounted successfully,NoUse the single-user mode. If the running level 1 configuration on your system is corrupted, you cannot use the single-user mode.

If your system is guided but you are not allowed to log on after the boot, you can try to use the single-user mode.

If you are using grub, use the following steps to guide the single-user mode:

  1. If you have configured the GRUB Password, TypePEnter the password.

  2. Select the version with the kernel you want to bootRed Hat LinuxAnd then typeE. You will see a project list in the configuration file used for the selected volume label.

  3. SelectKernelAnd then typeETo edit the row.

  4. Go to the end of the row, and then typeSingle(Press [Space] And then typeSingle). Press [Enter] To exit the editing mode.

  5. Return to the grub screen, TypeBTo guide the single-user mode.

If you are using Lilo, In the Lilo boot prompt (if you are using a graphical Lilo, you must press [CTRL] - [X] To exit the graphical screen and then enterBoot:Prompt) and then type:

linux single

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.