Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-27-2004, 04:29 PM   #1
LQ Newbie
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
Forgot Root Password

Ok, I forgot the password to logon to linux, and I try pressing "E" on grub to edit and I'v done this before but it no longer works, how do I get past this problem and get our system back with out reinstalling the whole 9 yards?

All help is appreciated,
Old 06-27-2004, 04:38 PM   #2
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
try boot ing from the install disk in rescue mode (as root), then mount your root partition (eg. mount -t ext2 /dev/hda2 /mnt) then issue chroot (eg. chroot /mnt) then type "passwd root". not sure if that works 'cause I've never needed to try it!!
Old 06-27-2004, 04:38 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Have a search here, that's not an uncommon problem,
it's been answered abundantly.

Old 06-27-2004, 04:41 PM   #4
LQ Newbie
Registered: Jun 2004
Posts: 3

Original Poster
Rep: Reputation: 0
did that, no help

no help, read them, my problem is the "e" thing in grub, once I get that working I can do the password bypass no problem, thanks though
Old 06-27-2004, 10:59 PM   #5
LQ Newbie
Registered: Jun 2004
Location: Malaysia
Distribution: Fedora Core
Posts: 13

Rep: Reputation: 0
not sure what distro you using, so i'm guessing here

are your sure is "e" or issit "a"
Press "a" to modify the kernel arguments before booting
then, Add "1" to the end of the arguments

if that don't work, try put in your distro cd, and type "linux rescue"

for your reference:

should work for your distro too

Last edited by tux2furious; 06-27-2004 at 11:01 PM.
Old 06-28-2004, 01:45 PM   #6
LQ Newbie
Registered: Jun 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I think you may be right, I'll try the "a" key later today when I stop into the office, thanks again. I'll let you know if anything works.
Old 07-03-2004, 04:48 PM   #7
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
Tuttle's method WFM


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot root password muru Linux - Security 5 09-26-2005 12:37 AM
forgot root password ali_hammad Linux - Newbie 3 03-09-2005 10:46 AM
forgot root password ali_hammad Linux - Security 4 03-08-2005 02:44 PM
Forgot root password Jay Smith Linux - Newbie 15 10-12-2004 06:23 PM
I Forgot my root password Hamid Moradmand Linux - Distributions 4 06-02-2004 01:45 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration