search on lynty.com

Related Articles

booting in single mode

Print PDF


Booting Single-User Mode (RedHat)

If you are using GRUB, use the following steps to boot into single-user mode:

If you have a GRUB password configured, type p and enter the password.

Select Red Hat Linux with the version of the kernel that you wish to boot and type e for edit. You will be presented with a list of items in the configuration file for the title you just selected.
Select the line that starts with kernel and type e to edit the line.
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.
Back at the GRUB screen, type b to boot into single user mode.

 

If you are using LILO, specify one of these options at the LILO boot prompt (if you are using the graphical LILO, you must press [Ctrl]-[x] to exit the graphical screen and go to the boot: prompt):

boot: linux single
boot: linux emergency

In single-user mode, you computer boots to runlevel 1. Your local filesystems will be mounted, but your network will not be activated. You will have a usable system maintenance shell.


Booting Single-User Mode (conitune)...
another option to boot into sinlge user mode

Procedure: Boot Linux Grub Boot Loader into single user mode
(1) At grub boot screen (after restart)

(2) Select the kernel

(3) Press the e key to edit the entry

(4) Select second line (the line starting with the word kernel)

 

(5) Press the e key to edit kernel entry so that you can append single user mode

(6) Append the letter S (or word Single) to the end of the (kernel) line


(7) Press ENTER key

(8) Now press the b key to boot the Linux kernel into single user mode

(9) When prompted give root password and you be allowed to login into single user mode.

FAQ (Booting Single-User Mode)

 

How do I boot into single user mode using the GRUB bootloader?

Single user mode can be accessed by appending an S (the capital letter S) to the kernel command line in GRUB. To do this, restart your system and when the GRUB splash screen presents itself:

 

  1. Select/highlight the kernel you wish to boot using the up/down arrow keys.

  2. Press the e key to edit the entry.
  3. Select/highlight the line starting with the word kernel.

  4. Press the e key to edit the line.

  5. Append the letter S to the end of the line.

  6. Press ENTER to accept the changes.

  7. Press the b key to boot the kernel with the modified command line.

 

This will take you into single user mode and should provide a bash shell to execute commands.

 

Related Articles+