I set up a password on the crowpi/crowpi 2, but has forgotten it. Is there a way of resetting it?

The following is the password update process. pls try it .

If it still doesn't work, pls re-burn the image to the SD card used in Raspberry Pi.

**: Edit cmdline.txt on the SD Card

  1. Power off your Raspberry Pi and remove the SD card. Insert it into another computer.

  2. Open the boot partition of the SD card (it’s FAT32, so Windows/Mac/Linux can all read it).

  3. Find and open the file cmdline.txt.

  4. At the very end of the single line, add:


    init=/bin/sh

    (⚠ Keep everything in one line, do not press Enter).

  5. Put the SD card back into the Raspberry Pi and boot it. It will start directly into a root shell.

  6. Remount the filesystem as writable:


    mount -o remount,rw /
  7. Change the password (replace pi with your username if different):


    passwd pi

    Enter the new password twice.

  8. Ensure the changes are written:


    sync
  9. Shut down, remove the SD card, and put it back into your computer.

  10. Edit cmdline.txt again and remove the init=/bin/sh you added earlier.

  11. Insert the SD card back into the Raspberry Pi and boot. You can now log in with your new password.**

Sign In or Register to comment.