-->

DEVOPSZONES

  • Recent blogs

    How to boot a Oracle linux 7/RHEL 7/CentOS 7 server to Single user mode

      In this article we will cover How to boot a Oracle linux 7/RHEL 7/CentOS 7 server to single user mode.


    Single User Mode

    Single user mode is important because it gives you root access without needing the root password. This is very useful if you've forgotten,the root password and need root access. 

    Step 1:

    Boot the server and press a key at the "Press any key to enter the menu" option.

    centos7 boot menu


    Step 2: 

    At the GRUB screen, press the "e" key to edit the boot parameters.

    Use the arrow keys to move the highlight down to the "kernel ..." line and press the "e" key to edit it.  Add " rw init=/bin/bash" onto the end of the line, then press ctrl+x to start.

    centos 7 GRUB menu


    Step 3: 

    The server will now boot into single user mode.

    single user mode

    Find Articles on troubleshooting Other OCI issues.

    No comments