Posts tagged ‘SD card’

September 2, 2014

How To Reset A Forgotten Raspberry Pi Password

by Prashant Kumar Sharma

I’ve got a Raspberry Pi running in my garage as part of a security system. It’s been running for so many months that I forgot the password so I was unable to access it via SSH.

Luckily there is was a technique that I could use to reset the password and get it back up and running. You need physical access to the SD card, a separate PC and the ability to connect your Pi to a monitor and keyboard. I used a Windows PC but this should work fine on a Mac or Linux machine.


Step 1 – Grab The SD Card

Power down the Pi and remove the SD card. Insert it into your PC.
Step 2 – Edit cmdline.txt

read more »