tencent cloud


Booting into Linux Single User Mode

Last updated: 2022-08-29 10:22:51


    For operations like password management, SSHD fixing and maintenance before disk mounting, Linux users need to enter the single user mode. This document describes how to boot into this mode in mainstream Linux distributions.


    1. On the CVM console, choose VNC to log in to a CVM. For detailed directions, see Logging into Linux Instances via VNC.
    2. In the VNC login window, select Send CtrlAltDel in the upper-left corner, press Ctrl-Alt-Delete, and click OK in the prompt box.
    3. When a connection failure message appears, press Up or Down arrow to refresh the page and hovers the cursor over the grub menu, as shown below.
    4. Press c to enter the grub rescue mode.
    5. Perform the steps that suit your operating system version.
      1. Select a kernel in the grub mode, as shown below.
      2. Press e to enter the kernel edit page, choose the kernel line using Up or Down arrow, and press e again, as shown below.
      3. Enter single at the end of line, as shown below.
      4. Press Enter, and then press b to boot the selected command line and enter single user mode, as shown below.

        The following figure indicates that the system boots into single user mode.


        You can run the exec /sbin/init command to exit the single user mode.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support