DIGIT-ARC read-only archive · snapshot: July 23, 2026

Anyway to boot into linux if root password is forgoteen?

9 posts · originally from https://geek.digit.in/community/threads/anyway-to-boot-into-linux-if-root-password-is-forgoteen.20686/

V
vinayasurya Original post #1
Dec 20, 2005 at 4:12 PM
Is there any way to boot into linux as root without knowing root password?
N
Dec 20, 2005 at 4:18 PM
Code:
HOW TO RESET UR ROOT PASSWORD IF U FORGET IT

While Booting ( Redhat ) just press "e" in GRUB
u will find 3 lines of code..
Goto to the 2nd line press "e"again and type "1" in the end
then press ENTER..
Then press "b" and it will boot you into your shell..
Just type "passwd" and change your ROOT password...
don't need to know the old one..

*www.linuxquestions.org/linux/answers/Security/Breaking_RESETTING_grub_password
vignesh
vignesh #3
Dec 20, 2005 at 8:53 PM
You can boot into Linux ..You only can`t login as root or use the root account.
V
Dec 21, 2005 at 5:28 PM
Is there any way if i am using lilo as boot loader?
U
ujjwal #5
Dec 21, 2005 at 7:45 PM
Sure, just type "linux 1" at the lilo prompt and follow the other instructions.
V
Dec 24, 2005 at 11:19 PM
I am using Mandriva Linux 2006. How can I access lilp prompt from the gui bootloader screen?
Satissh S
Dec 24, 2005 at 11:23 PM
Select the sections.. Do not press [Enter]. Press e . And edit the kernel line. Append 1 to the end if the kernel line. This is the procedure for grub. But i'm not sure abt lilo, but gotta b same :roll:
U
ujjwal #8
Dec 25, 2005 at 7:22 AM
If I remember correctly, you need to use CTRL+X in LILO for going to command prompt mode.
V
Dec 28, 2005 at 3:53 PM
CTRL + X doesn't work with Mandriva's bootloader (lilo) , is there anyway to get to the prompt?