Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


resetting_root_password_in_grub

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resetting_root_password_in_grub [2008/01/30 21:26] juckinsresetting_root_password_in_grub [2025/03/20 19:02] (current) juckins
Line 1: Line 1:
-======Reset root password with GRUB======+==== Reset root password with GRUB ==== 
 Boot machine into GRUB loader. \\ Boot machine into GRUB loader. \\
 Highlight kernel you want to boot into.\\ Highlight kernel you want to boot into.\\
 Press (e) to edit boot process.\\ Press (e) to edit boot process.\\
-Add a space and then press (s) at the end of the boot sequence command line (this is for single user mode).\\+Add a space and append 'single' to the end of the boot sequence command line.\\
 Press (b) to reboot machine.\\ Press (b) to reboot machine.\\
 Machine loads into root without a password.\\ Machine loads into root without a password.\\
 Use passwd to create a new password.\\ Use passwd to create a new password.\\
 Then issue 'shutdown -r now' to reboot machine. Then issue 'shutdown -r now' to reboot machine.
resetting_root_password_in_grub.1201746392.txt.gz · Last modified: 2008/01/30 21:26 by juckins