How To Boot Linux Grub Into Single User Mode

April 30, 2011 | By in BOOTING, HOWTOS, LINUX HOWTO
| Reply More

GRUB is a GRand Unified Bootloader, the default bootloader in Linux. GRUB can be used to boot Linux in the single user mode. The single user mode is a restricted mode, that is used for maintenance purposes. In single user mode, the only user available is the root user, and in RHEL, no password is asked for login. The single user mode does not have any graphical interface or any networking services running. This article discusses how you can boot your system in single user mode, using GRUB.

Booting in single user mode


Restart your computer and press any key when GRUB timer is running to stop the timer before timeout.


Grub Single User


Carefully read the instructions (keystrokes) provided in the lower part of the screen. It asks to press 'e' to edit the commands before booting. So, we press 'e' now to get this screen:


Grub Edit


Here, we want to edit the kernel command. Select the second line and press 'e' again to edit this kernel command. Append the word "single" to this line, i.e. all you have to do is press space and type "single". You can also replace "single" with "1". This will also take you to single user mode or runlevel 1.

Grub Menu

Grub Single User


Hit enter and press 'b' to boot. That is all. Just wait and you will be logged in as a root user.

Single User Mode

Tags: ,


Share This :

Free Linux Ebook to Download

Leave a Reply

Commenting Policy:
Promotion of your products ? Comment gets deleted.
All comments are subject to moderation.