Hyper-V Program Manager
The SysInternals team just announced the availability of a new tool: Disk2vhd.
This is a tool that you run on a running Windows computer to create virtual hard disks copies of the physical disks that are attached. Under the covers this tool works by taking a Windows Volume Snapshot (VSS) image of the physical hard disk – and then pouring that into a virtual hard disk.
There are a number of cool uses for this – with a “poor mans P2V” leading the charge. One thing that you should be aware of is that this tool does not change the drivers / HAL that is used in a system drive – so you may need to take manual steps to make the VHD actually boot in a virtual machine.
Another potential use is to allow you to move a physical installation of Windows 7 to a “boot from VHD” configuration.
You can download this tool here:
It is supported on Windows XP SP2 / Windows Server 2003 and higher.
You're not going to admit you found out about this took from a VMware guy? :)
I only heard about this from a twitter from Jason. I would try to play the "Microsoft is a large company, so sometimes I do not know what is happening" but Mark is about 30 seconds walk from my office - and I walk by his office half a dozen times a day.
RE: One thing that you should be aware of is that this tool does not change the drivers / HAL that is used in a system drive – so you may need to take manual steps to make the VHD actually boot in a virtual machine.
Any good pointers to a guide to carry out these manual steps???
Check out http://www.vmwareinfo.com/2009/04/testing-virtual-machines-on-hyper-v.html
There are a couple of ways to get the drivers inserted into the VM to get it to boot.
The vizioncore's vConverter went free recently, but I did not tested yet... This might be an occasion.... -:)
Great tool. Now we need VHD2Disk which I know isn't easy to do (V2P) but not impossible.
Thanks, I'll go check that out!
Can anyone confirm or deny that only the Ultimate edition of Windows 7 supports boot from VHD?
"Can anyone confirm or deny that only the Ultimate edition of Windows 7 supports boot from VHD? "
Yes, native VHD boot is supported only by Ultimate and Enterprise editions.
But you can run any edition in VPC or Hyper-V.
Thanks michael. I like the idea of having all the OS files neatly contained in a single file in the "topmost" filesystem, but the price difference between 3x Ultimate and the family pack is a bit much.
Any support statements from MS on the use of Disk2vhd yet?
I am doing a P2V and I have one model motherboard that bluescreens when it comes up, configured as an IDE drive. I noticed the system doesn't have intelide.sys which is I believe the driver Hyper-V needs to boot.
Does anybody have a list of the procedures that SCVMM or any other P2V platform uses to put in all the necessary drivers for a Hyper-V VM to boot?
I'd like to use file generated by Disk2VHD to boot to VHD feature of Win7.
Tried adding it using bcdedit w/o success, do you know the right procedure?
What's the difference, if any, between the vhd created disk2vhd and the vhd created by Windows Server Backup/Windows Backup?
1 -I tried Disk2vhd v1.0 from vista sp2 to vhd in hyper-v and worked ok.
2- I tried Disk2vhd v1.0 from Windows 2003 server sp1 to vhd in hyper-v but it doesn't work (error loading operating system).
Any idea for make this vhd bootable ?