Locked out of Raspberry Pi
Hello all,
I recently tried to login to my Pi (running Rasp Pi OS) and was told my password was incorrect. I'm sure it was correct, but anyway... I finally wound up booting to single user mode and changed my login password. I booted back to normal mode and tried to login and it still says my password is wrong. I went back to single user mode and created a new user/password. Rebooted again and get told the new user's password is incorrect. I'm really baffled as to what went wrong here. The Pi is runnning as my Jellyfin server and I really hate to wipe it and start over, but if I can't figure out my login problem I guess that's what I'll have to do. Anyway, I was just wondering if anyone has seen a similar issue or has a solution. Thanks! Ken |
It's a couple of decades ago, but I have once got a very special message when I tried to login:
"You don't exist, go away!" Reason was a filled up devicesystem with no space left. |
Wild idea: strace (login or su maybe), to see where it errors out.
|
Quote:
Thanks! |
Quote:
|
Quote:
|
I would try adding another user, and seeing if they can log in and do stuff. If so you can
Given your tale of woe, you may be suffering under the delusion that sdcards are reliable storage. They are not. If you succeed in extracting yourself out of this, back up to disik, buy a new sdcard and make a copy. That may well fix it. When did you fsck the disk last? |
Quote:
|
If you have a usb dedicated to it, why, oh why run on sdcard at all?
Sure, you might have to fart around with your usb initially to get going but the usb boots a Pi for some years. I have a usb disk running mine with an empty sdcard slot. So if the usb boot goes pear shaped, I can get in with an sdcard. Even the other usb3 slot has boot priority, to maximise my chances of taking life easy. |
Quote:
|
Well, I don't know if the Pi 3 does usb boot at all. The Pi 4 does.
|
Moderator Response
Moved: This thread is more suitable in <Linux - Embedded & Single-board computer > and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Usually I have a default boot on the sd card, and everything else is stored on a pendrive. So in such cases I just need to save some settings and reinstall the os. But we still don't know what is wrong. Probably you can find something in logs (dmesg?). Probably your SD card is over.
You can check that SD card on any other host, to see if it is healthy and works perfectly (you just need a reader). |
+1 #6. Well worth a web-research on: strace tutorial
Tho OP has probably moved on with a reinstall, I'd be curious to hear the cause! (Or OP can mark thread as solved with 'Thread Tools' above #1) |
Quote:
Thank you!!! Ken |
All times are GMT -5. The time now is 03:45 AM. |