Timeline for Resseting password using init=/bin/sh - Keyboard doesn't work
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 12, 2021 at 23:42 | review | Close votes | |||
Nov 17, 2021 at 3:04 | |||||
Nov 12, 2021 at 9:22 | answer | added | Vojtěch Pithart | timeline score: 0 | |
Jun 19, 2018 at 22:56 | comment | added | goldilocks♦ | No, the stuff in the link is what you could literally see on the SD card using a system that cannot read ext4 filesystems. That's a very small (<100 MB) vfat partition that contains firmware, OS kernels, and some configuration stuff. The bulk of the OS is on a much bigger (2+ GB) ext4 partition, but if the tool you are using can't read it, it will either say there is some big partition it cannot read, or it will just pretend it doesn't exist. Anyway, I'd try Ingo's answer first. | |
Jun 19, 2018 at 19:53 | answer | added | Ingo | timeline score: 5 | |
Jun 19, 2018 at 17:28 | comment | added | Anrpiu9 | ok, but how do I locate the shadow file? The link I posted is literally whatever is in my sdcard | |
Jun 19, 2018 at 16:12 | comment | added | goldilocks♦ | Not necessarily -- you just need a system that can read and write to ext4 filesystems. MS Windows by default cannot, but I think there is software you can add for that. | |
Jun 19, 2018 at 16:07 | comment | added | Anrpiu9 | I tried this approach as well, but the problem is that this is what the folder structure looks like ibb.co/n90nKd Do I need to mount the sd card or run something in linux? | |
Jun 19, 2018 at 15:58 | comment | added | goldilocks♦ | "Open the file 'cmdline.txt' and add 'init=/bin/sh' to the end. This will cause the machine to boot to single user mode." -> RUBBISH. Sort of. But don't do this. You need to edit some files on the root filesystem to reset the password: raspberrypi.stackexchange.com/q/24770/5538 | |
Jun 19, 2018 at 15:31 | review | First posts | |||
Jun 20, 2018 at 16:14 | |||||
Jun 19, 2018 at 15:29 | history | asked | Anrpiu9 | CC BY-SA 4.0 |