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
Power off your Raspberry Pi and remove the SD card. Insert it into another computer.
Open the boot partition of the SD card (it’s FAT32, so Windows/Mac/Linux can all read it).
Find and open the file
cmdline.txt
.At the very end of the single line, add:
init=/bin/sh(⚠ Keep everything in one line, do not press Enter).
Put the SD card back into the Raspberry Pi and boot it. It will start directly into a root shell.
Remount the filesystem as writable:
mount -o remount,rw /Change the password (replace
pi
with your username if different):
passwd piEnter the new password twice.
Ensure the changes are written:
syncShut down, remove the SD card, and put it back into your computer.
Edit
cmdline.txt
again and remove theinit=/bin/sh
you added earlier.Insert the SD card back into the Raspberry Pi and boot. You can now log in with your new password.**
Comments
image file link for crowpi : https://drive.google.com/drive/u/0/folders/1omz8i4UVU-chItRekNViZEYqbhsLtCnn