Operating System - Linux
1819809 Members
2821 Online
109607 Solutions
New Discussion юеВ

Linux single usermode thru GRUB

 
SOLVED
Go to solution
Jayan_2
Advisor

Linux single usermode thru GRUB

Dear admins,

I lost the main key i mean the root password of my linux 8.0 WS.How do I go to singel user mode thru GRUB

Jaya
Work whole souled so as to god
3 REPLIES 3
U.SivaKumar_2
Honored Contributor
Solution

Re: Linux single usermode thru GRUB

Hi,

Ref:

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.

regards,

U.SivaKumar

Innovations are made when conventions are broken
Caesar_3
Esteemed Contributor

Re: Linux single usermode thru GRUB

Hello!

Very simple:
When the grub starts
choose the wanted entry and press "E"
for edit then press "E" on line with
the kernel
Now you can edit this line so in the end
of line write "single" (it's parameter to kernel) and press enter
Press now "B" for boot and you will have singel
user mode.

Good luck.

Caesar
Alexander Chuzhoy
Honored Contributor

Re: Linux single usermode thru GRUB

you can also type "1" instead of "single" from previous replies.