Raspberry Pi‎ > ‎Raspbian Setup‎ > ‎

Problem solved


    

Lost Pi Password 

  • Essentially, mount the SD card using a different machine and edit cmdline.txt to include (at the end) init=/bin/sh. 
  • Then, run the following commands:
    • mount -o remount,rw /
    • passwd pi
    • (enter a new password)
    • sync
    • exec /sbin/init

Problem 



Comments