Hi! Since some days i’m having troubles booting my osmc.
It started when I tried to use the Youtube - Plugin, where I always got asked if I want to run the Setup - Wizard. I always declined and ran the osmc updater. After the update I got stuck in a boot loop.
So I pressed ESC during boot and got the terminal. But I could not login as my credentials where not accepted (tried the factory settings “osmc / osmc” as well as the credentials I’ve set manually). I also tried to login as root. But everything I tried got denied.
To resolve this, I edited the cmdline.txt.
This is the original cmdline.txt:
root=/dev/mmcblk0p2 rootfstype=ext4 rootwait quiet osmcdev=rbp2
I changed it to:
root=/dev/mmcblk0p2 rootfstype=ext4 rootwait quiet osmcdev=rbp2 init=/bin/bash
Now I was able to boot into the cmdline without getting asked for the password, but my keyboard (wired) did not get recognized (did not react to keypress).
I also read that there could be a problem with the user - settings.
So I edited the cmdline.txt to
root=/dev/mmcblk0p2 rootfstype=ext4 rootwait quiet osmcdev=rbp2 init=/bin/bash “mv ~/.kodi ~/kodi-bak”
As a result, instead of the sad face I first got the “osmc - logo” but after some seconds the sad face appeared again and the boot loop started.
And now I’m really lost and don’t know how to resolve this issue.
Worst case I have to reinstall my osmc, but to be honest I have some python scripts in the home folder… and … did … not … make … a backup (yeah, foolish…)
Any help is really appreciated!
//Edit:
Maybe there is a way to manually reset the osmc password during boot? Something like
init=/bin/bash “cat >> PATH-TO-CREDENTIALS <<EOF__NEW-PASSWORD__EOF”