Hmm. I am not sure where you are getting the idea that HCl cannot react with primary alcohol, but if it is from a resource, then it is probably right. I will try my best to explain though. The reactivity of alcohol depends on where the OH is attached. With tertiary being the most reactive, and a primary one least reactive. The reactivity of hydrogen halide would be HI > HBr > HCl > HF. The reactivity is like that because you have to remember that when you are in a protic environment, then nucleophile's reactivity increases as you are going down. Since we are dealing with a not very reactive alcohol, then we would need a hydrogen halide that is really reactive in order for the reaction to work. In this case, it will be HBr. In cases with HCl, it is not very reactive so we might need to add proably 2 moles of HCl or excess HCl for the reaction to proceed. I hope that helps!