Linux enters single-user mode

Source: Internet
Author: User

Sometimes in the process of configuring Linux, because some misoperation caused the system to block or suspend the initialization of the system can not enter, often because the configuration file settings are wrong, some files were mistakenly deleted and so on. In this case, the general novice is to re-install (virtual machine does not install white), but in the actual production environment, this processing means most of the time is unacceptable.

In fact, Linux also offers something like Windows Safe Mode, called single-user mode. In this mode, Linux runs in a minimized mode, does not log in remotely, and most non-core services are not loaded during the startup phase and logged in as root.

Here are the entry methods:

1. Start your computer and go to the Grub boot menu

Tap E to enter edit mode, as prompted below

2. Enter edit mode

The content here varies depending on the Linux distribution, installation options, and different machine configurations, but there must be a line near the end such as the Red Box code (which may start with kernel).

Add [space]single at the end and then tap CTRL + X to confirm that Linux is started in this mode (you may be prompted to tap Crtl + D to confirm entering single-user mode and follow the instructions)

At this point, the Linux single user mode is entered.

Linux enters single-user mode

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.