Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

boot to vhd created with hyper-v?

Posted on 2013-06-27
3
Medium Priority
?
558 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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
Suggested Courses
Course of the Month13 days, 22 hours left to enroll

581 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