Tag Archives: Hyper-V

“Error loading operating system” in Hyper-V After P2V Conversion via Disk2VHD

Follow these steps to rewrite the MBR code:

  1. Download TestDisk.
  2. Mount VHD.
  3. Launch TestDisk.
  4. Select [No Log].
  5. Select the virtual disk.
  6. Select [Intel].
  7. Select [MBR Code].
  8. Hit ‘y’ twice.
  9. Quit TestDisk.
  10. Unmount the disk, and try it again in Hyper-V.

If that fails, try rebuilding the MBR:

  • Repeat steps 2 – 6 above.
  • Select [Advanced]
  • Select the boot partition, with [Boot] highlighted.
  • Select [Rebuild BS].
  • This may take about 15 minutes to complete.
  • After it is finished, select [Write] and confirm.
  • Quit.
  • Unmount the disk, and try it again in Hyper-V.