yum list available "compat*" passing the boot option init=/bin/bash drops you in a shell without requiring root password (unlike single user mode these days). that does result in a read-only root filesystem, but after running: mount -o remount,rw / you can run passwd to set the root password.