User Tools

Site Tools


grub:reset_forgotten_root_password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
grub:reset_forgotten_root_password [2017/04/04 08:38] – created petergrub:reset_forgotten_root_password [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 1.  Reboot your machine. 1.  Reboot your machine.
 +
 2.  Press 'Esc' key once grub starts loading. 2.  Press 'Esc' key once grub starts loading.
 +
 3.  Select your kernel press 'e' on one of the kernel to edit the kernel parameter. 3.  Select your kernel press 'e' on one of the kernel to edit the kernel parameter.
 +
 4.  Press 'e' on the line that starts with 'kernel /vmlinuz...'. 4.  Press 'e' on the line that starts with 'kernel /vmlinuz...'.
 +
 5.  Append ''single" or "1" at the end of the line. 5.  Append ''single" or "1" at the end of the line.
 +
 6.  Press 'Enter'. 6.  Press 'Enter'.
 +
 7.  Press 'b' to boot from the appended kernel. 7.  Press 'b' to boot from the appended kernel.
 +
 8.  You are now in the single user mode of your linux machine once you get to the shell. You can now change the password of your account using command passwd. 8.  You are now in the single user mode of your linux machine once you get to the shell. You can now change the password of your account using command passwd.
 +
 9.  Reboot back your machine normally. 9.  Reboot back your machine normally.
 +
 10.  Log back in to your machine using your new password. 10.  Log back in to your machine using your new password.
 +
grub/reset_forgotten_root_password.1491295102.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki