I currently have an MSI board with B150m chipset. I am changing it to Z170m from MSI. I have windows 10 and Ubuntu 15.10 installed in dual boot mode. If I change the board, would everything work fine? Would I need to do anything before?
Agreed, you should perform a clean install of both OSes, but unless you purchased a retail version of Windows, per the license agreement, you cannot use your current license with the new motherboard.