This question already has an answer here:
So my old computers motherboard died and right in the middle of a windows boot. As you imagine, after buying a new and suitable rig windows 7 will not boot. windows gets to the "windows starting up" animation and restarts. When the computer restarts it goes to the startup repair which says it cannot be repaired. However, with ubuntu installed, all HDD files are accounted for and all components work well. Is there a way for ubuntu to repair the booting process without compromising any files on the HDD? Thanks!