• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 559
  • Last Modified:

boot to vhd created with hyper-v?

I have a server 2008 r2 instance with hyper-v.  I had a windows 7 instance.  Can I boot directly to it?
  • 2
1 Solution
Subhashish LahaCommented:
Yes, run below commands

bcdedit /copy {originalguid} /d "New Windows 7 Installation"
bcdedit /set {newguid} device vhd=[D:]\Image.vhd
bcdedit /set {newguid} osdevice vhd=[D:]\Image.vhd
bcdedit /set {newguid} detecthal on

jackjohnson44Author Commented:
Have  you tried this before?  I did and it did not work.  I don't have the error with me.  I am not trying to add a new vhd to a boot menu.  I am trying to add one created using hyper-v.  I do not think that it is that simple.  The link you sent has someone installing the os to a new vhd.  This is not what I am looking for.
Subhashish LahaCommented:
Yes, I have tried. Can you provide the output of below command?

bcdedit /enum all

Also, if you can provide the error details - that will help us in troubleshooting your issue.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now