Hyper-V, Booting and Ghosting/Imageing computer

Virtual Machines can be a joy to play with but sometimes a real hassle to set up, especially if you use your “good ol” ghosting program for several computers (for example in a lab setup) and perhaps have chosen to boot from a virtual machine.

First problem:
After ghosting, boot record can not be found.

Something like “missing MBR” (master boot record that is), “operating system not found” and similar heart stabbing messages can sometimes be fixed with this procedure.

Boot from installation disk and get into “Repair”
Go to the prompt and type
Bcdboot “c:\windows”

and that’s it. (Your windows installation on c: needs to be ok of course.)

Second problem:
Hyper-V is available but you cannot start your virtual machines.

Well, the the above code added the basic booting “code” but removed the booting “code” for activating Hyper-V.
So open the command prompt and type
bcdedit /set hypervisorlaunchtype auto

and off you go.

A couple of things good to know as well:
Sometimes the virtual machines wont start because the files are read-only.
HAL detection is sometimes also present in  the boot “code” and removed on bcdboot command. To add this go to the command prompt and type: bcdedit /set detecthal yes


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s