There are generally ways to get it to work, such as booting to safemode first and installing drivers, etc. At least with recent Windows. If it is a modern Linux, it is usually even smoother to move over. Anyway, it sounds like it didn't go smoothly and you had to reinstall, so that is that.
In the future though, it helps to know what OS you are using, and what the old and new hardware is.