Restarting the Linux system in a single user mode for diagnostics

Last Updated : Nov 08, 2021 |
Prolog information
This task must be done on the head of the server since it is executed prior to network services being available.
Note:
Restarting the Linux system in a single user mode requires a password.
  1. Reboot the system or power on the system.
  2. As soon as BIOS ends, start typing ESC. The screen is blank at this time and the window is only a few seconds long.
  3. If the grub screen shows up, proceed with the next step. Otherwise wait till the system boots and then reboot again.
  4. Type p  to enter the boot loader password.
  5. Type in the boot loader password that you have set in first root login.
  6. Type a  to append the line.
  7. Scroll down to the linux... line.
    ADDITIONAL INFORMATION:
    This line tells GRUB 2 which kernel to boot.
  8. Go to the end of the line, enter a space by pressing the space bar and then type single .
  9. Press Enter to exit edit mode.
    STEP RESULT:
    The system will then boot into single user mode.
  10. Type the root password when the system prompts.
  11. Type the command runlevel. It should respond NS, where the S stands for single user.
  12. Perform diagnostics.
  13. Press Ctrl-D to return to normal operation.