This is an example of what makes English such a bitch to learn. Indeed, fast has the meaning cited by Trigger, but in the phrase “hold fast” it means “in place” or “securely.”