Saturday, 3 October 2015

Windows will not Boot. Blank Screen with Blinking Cursor on top left corner. in Hyper v


Ever run into a Windows system which won’t boot and instead just sits at a black screen with a blinking cursor forever? I have. Especially when the Windows system is a guest operating system in Microsoft Hyper-V. And frequently if that guest OS was recently converted from a VMWare Server or VMWare ESX Server vmdk to vhd. Well, after lots of searching I stumbled upon the solution:
  1. Boot the guest OS off of the appropriate Windows CD (mount ISO is also an option).
  2. Go to the recovery options.
  3. Open the command prompt.
  4. Type the command:
    bcdedit
  5. You should see the windows boot manager in one partition and the loader in another one.
    1. If that is the case, then type the following commands and then reboot the guest:
      bootrec /fixmbr
      bootrec /fixboot
    2. If that is not the case, try the following command and reboot the guest:
      bcdboot C:\Windows