sdegabrielle
Posts: 5
Joined: Mon Mar 02, 2015 5:25 pm
Location: Ealing

no keyboard when resetting lost password

Sun Jul 05, 2020 10:33 pm

Hi

I'm following the instructions to reset a lost password at https://howtoraspberrypi.com/recover-pa ... pberry-pi/

I have the pi zero booting (after adding ` init=/bin/sh` to `cmdline.txt`.) to

Code: Select all

/bin/sh: 0: can't access tty; job control turned off
#
I know the keyboard is working because I've tested ti with another device, and holding shift when starting lets me choose recovery mode.

Any ideas ?

I have a Pi Zero W w/Inky pHAT e-ink screen
Raspbian noobs 2.4.3 (2017)

Kind regards,

Stephen
Kind regards

Stephen

sdegabrielle
Posts: 5
Joined: Mon Mar 02, 2015 5:25 pm
Location: Ealing

Re: no keyboard when resetting lost password

Sun Jul 05, 2020 11:19 pm

Luckily on NOOBs - so instead of solving the problem I've started the process of moving to more recent version of raspberry pi os.
Kind regards

Stephen

pidd
Posts: 724
Joined: Fri May 29, 2020 8:29 pm
Location: Birkenhead, Wirral, UK
Contact: Website

Re: no keyboard when resetting lost password

Sun Jul 05, 2020 11:22 pm

instead of just "/bin/sh" try using this in your cmdline.txt, I don't think it has to be in quotes but it might do.

Code: Select all

/bin/sh -m
too late lol

sdegabrielle
Posts: 5
Joined: Mon Mar 02, 2015 5:25 pm
Location: Ealing

Re: no keyboard when resetting lost password

Mon Jul 06, 2020 12:44 am

Thanks anyway - your tip might help someone else - or me next time I forget!
Kind regards

Stephen

Return to “Troubleshooting”