stuck in single user mode OS 10.2.8
I forgot the admin password for this old iMac and can't find the system disk. So I started up in single user mode by turning on power, after chime pressing command, then S and holding until type began to come up on screen. When cursor stopped after "sh-2.05a#" I typed in "/sbin/mount -uw /" and return (no, I didn't see where it said to do fsck -y first). Computer came back with "sh-2.05a#" so i typed in "passwd" and username for account to change, return. Cursor on blank line, typed new password, return. New blank line, typed new password, return. New blank line, typed reboot, return. New blank line and nothing happening. Tried reboot again. Nothing happening. Just getting new blank lines no matter what I type. What is best to do now?