Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

boot to vhd created with hyper-v?

Posted on 2013-06-27
3
Medium Priority
?
557 Views
Last Modified: 2014-11-12
I have a server 2008 r2 instance with hyper-v.  I had a windows 7 instance.  Can I boot directly to it?
0
Comment
Question by:jackjohnson44
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Subhashish Laha earned 2000 total points
ID: 39281992
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

http://blogs.msdn.com/b/knom/archive/2009/04/07/windows-7-vhd-boot-setup-guideline.aspx
0
 

Author Comment

by:jackjohnson44
ID: 39282107
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.
0
 
LVL 10

Expert Comment

by:Subhashish Laha
ID: 39282149
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.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question