Boot single user mode for Redhat

Tuesday, February 5th, 2013

Every once in awhile I have the need to access a system in single user mode.  Especially, when the root password isn’t what it’s supposed to be or for some reason a root login dumps me back to the login prompt.

Sometimes I forget the option to enable the single user due to multiple systems and rarely needing to use it.

Single-user mode boots the computer to runlevel 1 which means you will have access to your local file systems but not the network.

To get to single use mode you simply follow these steps which I found here:

At the GRUB splash screen at boot time, press any key to enter the GRUB interactive menu.
  1. Select Red Hat Enterprise Linux with the version of the kernel that you wish to boot and type a to append the line.
  2. Go to the end of the line and type single as a separate word (press the Spacebar and then type single). Press Enter to exit edit mode.

After that press the “b” key to boot the system which should go through process and then leave you with a root prompt. There you can change the root password, edit config files, etc.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: