I installed Mandrake 10.1 but it keeps telling me invalid password when I know it's correct.
I don't understand your logic here. I you are being told your password is invalid, then certainly whatever you are typing in cannot be 'correct'. In any event, log in as root and run:
# passwd [username]
and reset your password...