some people have had luck swapping motherboards and the existing hard drive is able to boot right up with no problems, usually when its similar motherboard (with same chipset)
but.... for the most part it can cause alot of problems and its a good idea to to a format and fresh install of the operating system.