Raspberry Pi Reset Forgotten Password

Raspberry Pi Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZPvIdR5BEqDgO7DsGAla_AZ

CanaKit Raspberry Pi 4 (4GB) Starter Kit (Amazon Affiliate)
US: https://amzn.to/3azJgrW
UK: https://amzn.to/2JdMq9o
CA: https://amzn.to/3bwiRvY
ES: https://amzn.to/2T06LnM (similar)
FR: https://amzn.to/3cvIZrs (similaire)
IT: https://amzn.to/2Ar74Sj (simile)
DE: https://amzn.to/2AqfWHQ (ähnlich)
IN: https://amzn.to/3ey6fWj
AU: https://amzn.to/2VTUt1C
NL: https://amzn.to/3f5NdsD (vergelijkbaar)

Open this File on the “boot” Partition on a Mac/PC/Linux Computer
cmdline.txt
Change the Line
console=serial0,115200 console=tty1 root=PARTUUID=be3c3272-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
To this Line
console=serial0,115200 console=tty1 root=PARTUUID=be3c3272-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait init=/bin/sh

Save and Eject the microSD Card

Boot the microSD Card in a Raspberry Pi

Mount the Filesystem as Read/Write
mount -o remount,rw /dev/mmcblk0p2 /
Change Password for User Pi
passwd pi
Sync RAM to microSD Card before Power Down
sync

Leave a comment

Your email address will not be published. Required fields are marked *