Reset root password

From ArchWiki
Revision as of 09:38, 29 March 2009 by SkonesMickLoud (talk | contribs)
Jump to: navigation, search

I came back from vacation after doing an Arch64 install and like the genius I forgot my root password. To recover the password, do the following:

  • Boot your install CD and enter the bash shell.
  • # mount [your root partition -- e.g. /dev/sda3] /mnt
  • # chroot /mnt
  • # passwd root
  • (Set a new password.)
  • Reboot.