Well never fear - my buddy Chuck helped me through it. It's a snap:
- Pull the SD card
- Mount it somewhere else (I use a Mac, but you can mount it on Windows or Linux or what have you)
- Open the "cmdline.txt" file
- Add "init=/bin/sh" to the end of the FIRST line.
- Save "cmdline.txt" again, unmount/eject the SD card and reboot the Pi
- When you get to the command prompt, type "mount -rw -o remount /"
- Next, type passwd pi and reset your password
- Next, type sync
- Then exec /sbin/init
- Finally, reboot (you can use sudo halt)
Now log in as usual.
No comments:
Post a Comment