Source: https://community.online.net/t/reset-root-password-via-console/1724/3
I solved this problem, found a hint here: https://github.com/scaleway/initrd/tree/master/Linux 184.
Here is what I did:
- Edit the βTagsβ field in the server definition and add βINITRD_POST_SHELL=1β as one (or the only) tag.
- Reboot the server
- Wait until you get a shell
- Run:
chroot /newroot
- Change your password using passwd
passwd root
- CTRL-d to resume booting.
- Test your new password.
- Remove βINITRD_POST_SHELL=1β from your tags
π thanks for this guide.