Forgot your root password?
Today I forgot the root password. I mean I forgot it weeks ago, but I haven’t needed it.
Steps to recover (mostly note for self):
- When booting from LILO, choose usual Linux and pass it this argument: “init=/bin/bash”
- You are auto-logged on as root, remount read-write the root folder with “mount -o rw, remount /”
- Change your password as usual, with “passwd”
- Try to memorize the darn password, reboot, breath