Recover the Password

Mount the SD card on your PC and edit “passwd”:

$ sudo nano [your path] /etc/passwd

It could look like that:
$ cd /run/media/mycomputer/2f840c69-cecb-4b10-87e4-01b9d28c231c/etc/ $ sudo nano passwd Find the line starting with “pi”:

pi:x:1000:1000...

Delet the x; leave the colons on either side. This will eliminate the need for a password.

After booting create a new password:

   $ passwd