Hyper-V, Windows won’t boot after fresh install or import

Microsoft Hyper-V

Vmware-logo

I’ve seen this happen several times under different conditions.  The one that has happened to me the most is a fresh install of Windows 7, under Hyper-V.   In this case, it was Hyper-V 2012 R2, but it happens under all previous versions as well.

Others have reported the problem after migrating or importing from VirtualBox or VMWare.

You boot up the virtual machine, and all you get is blinking cursor in the top left corner.  that’s it.

The solution pretty easy, but going through a bunch of forums takes a while. so here it is step by step.  If you just built the machine from an ISO, you already have the required tools to get this done:

  1. Boot the virtual machine using the ISO you used to build it, or the same version as the one you are trying to fix
  2. Go into the recovery options, and choose the command prompt
  3. type: bcdedit

The problem happens because the boot manager and the actual partition are separated or installed incorrectly.

At this point, if the Boot Manager and the loader are in different partitions, type:

  1. bootrec /fixmbr
  2. bootrec /fixboot

if you see something different, then this will probably work for you:

  • bcdboot c:\windows

Now reboot the virtual machine and you should be able to get it going.

Once I found the solution, I saw this posted in a few places and all of them had the same writing, so I don’t know who the original poster is.  in any case, thanks to that person!

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Post Navigation