Aside from the fact you usually don't get to pick where ransomware is installed, but if somehow you did, it will certainly still take over the OS no matter what drive.
Only someone wanting to test their copy of a virus would install a virus on a computer.
No one would install ransomware on their own computer if they had no ill intentions in the near future.