Solved

hyper-v can I boot directly to a vhd?

Posted on 2013-06-14
9
777 Views
Last Modified: 2014-11-12
I have a hyper v setup and use one vm (running server 2008) as my primary dev machine.  I really don't need the "metal" host much.  How can I boot directly to the vhd?
0
Comment
Question by:jackjohnson44
  • 4
  • 4
9 Comments
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 39249545
what is the host o/s Windows Server 2008??

Server 2008R2 and Windows 7 and above permit boot to vhd
0
 

Author Comment

by:jackjohnson44
ID: 39250269
The host and vm are both server 2008 R2.  How can I do this?  Also, can I switch back and load the host and run the vm?

So I will be able to access the vm two ways, one by booting to the host which will host he vm, and also by booting directly to the vm?
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 39250531
Technical details http://preview.tinyurl.com/mvy25x3 with video
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:jackjohnson44
ID: 39251526
Thanks, that doesn't show how to boot directly to a vhd that already exists as part of hyper v setup.  How can I do that?
0
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 39251536
Short answer: you cannot.

The only way to do that is to use some paid backup solutions as Symantec BackupExec for example to back up the VM and to restore it on bare metal - this will effectively overwrite the host server and all data, including the existing VM.
0
 

Author Comment

by:jackjohnson44
ID: 39251657
So what is the difference in creating a vhd using a dual boot scenario and using hyper-v?  I don't understand the difference.  I was thinking there was just some sort of config I had to go through.

Would I be able to just make a copy of a vhd then boot to that?
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 39251702
So what is the difference in creating a vhd using a dual boot scenario and using hyper-v?  I don't understand the difference.  I was thinking there was just some sort of config I had to go through.

As far as the operating system is concerned only different hardware.  


Would I be able to just make a copy of a vhd then boot to that?

Depends upon your hardware settings.. Windows will have to be re-activated
0
 

Author Comment

by:jackjohnson44
ID: 39251770
Thanks, I am still confused.  Can you elaborate a bit more?

With a dual boot, do you typically set up the partitions then install an os on each?  With hyper v you can move them to different instances of hyper v, but not to a direct boot?

I don't understand why I can't boot to my vhd.  It is on the same machine that housed the hyper-v instance so the hardware is the same.
0
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 39251786
As I mentioned before hardware is different. Primarily in the hard drive
hyper-v does not use ahci just standard ide calls
What I do is install my bios to ide compatible, install the operating systems and if I want to use ahci I enable ahci in the operating system by modifying the registry

HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlset / Services
Open msahci
In the right field left click on "start" and go to Modify
In the value Data field enter "0" and click "ok"

Then enable ahci in the bios.. reboot the machine, it will add devices and after another reboot both ide and ahci in the bios work to boot the machine.

http://forums.guru3d.com/showthread.php?t=313676
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

OfficeMate Freezes on login or does not load after login credentials are input.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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…

776 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