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:
- Boot the guest OS off of the appropriate Windows CD (mount ISO is also an option).
- Go to the recovery options.
- Open the command prompt.
- Type the command:
bcdedit
- You should see the windows boot manager in one partition and the loader in another one.
- If that is the case, then type the following commands and then reboot the guest:
bootrec /fixmbr
bootrec /fixboot - If that is not the case, try the following command and reboot the guest:
bcdboot C:\Windows
- If that is the case, then type the following commands and then reboot the guest: