Mount the root partition, edit the /etc/passwd file to remove the root password, reboot.