Reset root password

From ArchWiki
Revision as of 15:02, 5 November 2008 by Warriant (Talk | contribs)

Jump to: navigation, search

I came back from vacation after doing an Arch64 install and like the genius I am forgot 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.