Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lost root password (grub)
#1

At the Grub boot menu hit "e"

Select the line that begins with "kernel"

 

Hit "e" again

 

Move the cursor to the end of the line and add " init=/bin/bash" then hit enter

 

Press "b" to boot the system

 

At the bash prompt that comes up, type the following: "mount /proc" then hit enter

 

next type "mount / -o rw,remount" then hit enter

 

next type "passwd" then hit enter

 

now enter your new password twice

 

You should receive a notice stating "All authentication tokens updated successfully". This confirms your password has been changed.

 

next type "mount / -o ro,remount" then hit enter

 

now press control-alt-delete to reboot

 

logon with new password to verify

 

Credit to Buddha and his LUG

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)