Comments on: Using Disk2VHD for Hyper-V P2V (Physical to Virtual) Conversions https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/ Hyper-V guides, how-tos, tips, and expert advice for system admins and IT professionals Wed, 11 May 2022 20:31:08 +0000 hourly 1 By: Eric Siron https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/#comment-2826 Wed, 04 Apr 2018 14:44:00 +0000 http://www.altaro.com/blog/?p=645#comment-2826 In reply to Steven Baty.

You could slipstream them, if you want. This is a line from my script that installs it into a mounted VHDX: Add-WindowsPackage -PackagePath $IntegrationServicesCabPath -Path ($DriveLetter ":")

]]>
By: Steven Baty https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/#comment-2824 Tue, 03 Apr 2018 16:37:00 +0000 http://www.altaro.com/blog/?p=645#comment-2824 In reply to Eric Siron.

Eric,
How do you pre-install the integration services. I just tried on Win7x64 and it told me I could not install them until the machine was VM’d. Are you suggesting to slipstream them into the VHD after it has been created with Disk2VHD?

]]>
By: Eric Siron https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/#comment-1753 Thu, 10 Mar 2016 13:58:00 +0000 http://www.altaro.com/blog/?p=645#comment-1753 In reply to David.

I was able to bring over a great number of Windows Server 2003 hosts that were using SCSI and RAID successfully, although not without pain. If you can take a good backup first, I would pre-install the integration services and see if a straight Disk2VHD works.
If it breaks on you, this procedure might work: https://etechgoodness.wordpress.com/2011/03/10/problems-with-p-v-of-oem-windows-server-2003/.

]]>
By: David https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/#comment-1752 Thu, 10 Mar 2016 10:26:00 +0000 http://www.altaro.com/blog/?p=645#comment-1752 Great article thank you for someone just about to get into VMs.

Just one issue I have I believe:

I am trying to virtualise some of my older legacy workstations. I keep these in order to remain familiar with different operating systems, versions of Office etc. so that I can best support my clients.

The two oldest of these a running Adaptec SCSI and Windows XP.

From what I gather, this requires Hyper-V generation 2 for SCSI to be possible but that does not support Windows XP vms which require generation 1.

Is there anything I can do to get around this?

Thanks

David

]]>
By: Eric Siron https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/#comment-1751 Wed, 29 Jul 2015 13:25:00 +0000 http://www.altaro.com/blog/?p=645#comment-1751 In reply to James.

I’m not entirely certain what’s going on here. I would start by loading Integration Services in the original system before running Disk2VHD. After that, it’s probably going to come down to editing the boot.ini file on the small partition.

]]>
By: James https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/#comment-1750 Tue, 28 Jul 2015 19:27:00 +0000 http://www.altaro.com/blog/?p=645#comment-1750 Thanks for the article. Very helpful info! But, I’m running into problems with one of our systems. Here is what is happening:

I have a Windows Server 2003 sp2 server that is mirrored. When I run disk2vhd, the program creates 2 vhd files:

data-0.vhd
data-1.vhd

The first one (data-0.vhd) is only 6MB
The second one (data-1.vhd) is 19GB

I don’t know why 2 files are created. The second vhd file (data-1.vhd) matches the size of the data on the disk, but the first vhd file is a mystery.

When I move these files into a Hyper-v environment (running on Windows Server 2008 r2) and create a virtual machine using them I get the following error message when I start up the VM:

A disk read error occurred
Press Ctrl Alt Del to restart

The error message occurs no matter which of the files (data-0.vhd or data-1.vhd) I use as the boot vhd.

Any help is appreciated.

Thank you!

James

]]>
By: Eric Siron https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/#comment-1749 Thu, 25 Jun 2015 17:59:00 +0000 http://www.altaro.com/blog/?p=645#comment-1749 In reply to sukesh.

It is somewhat common for it to choke on translating the old storage drivers and configuration into the new system. I don’t know of any great ways to fix this. I usually start with the typical system repair techniques I’d use if a physical system did it.

]]>
By: sukesh https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/#comment-1748 Thu, 25 Jun 2015 14:58:00 +0000 http://www.altaro.com/blog/?p=645#comment-1748 Thank you for the article.. I didn’t know there was a newer version until I ran into this article.

Works great with all Windows but running into problem with 2012 R2..

When I bring over the VHD files and start up the machine, all I get is the blinking underscore..

Server is a physical server running on Intel 6 core with 16 gb ram and mirrored 146 gb hd..

Windows 2008 r2 works fine on same machine.

I thought maybe Win 2008 r2 hyper v doesn’t support Windows 2012 r2 so change that and installed Win 12 r2 with Hyper v and tried to bring over the Win 12 r2 vhd file.. Doesn’t work.

Then tried VHDX. That didn’t work
Tried creating VHD and VHDX disk with and w/o volume shadow copy. That didn’t work either.

Any suggestions? Thanks.

]]>
By: Eric Siron https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/#comment-1747 Sat, 28 Feb 2015 06:42:00 +0000 http://www.altaro.com/blog/?p=645#comment-1747 In reply to Pete.

Not without access to a Win2k ISO, no, I’m not sure where else you’d get it.
Before doing the Disk2VHD again, try running system file checker to see if it corrects that problem.

]]>
By: Pete https://www.altaro.com/hyper-v/using-disk2vhd-for-physical-to-virtual-conversions-p2v/#comment-1746 Fri, 27 Feb 2015 21:24:00 +0000 http://www.altaro.com/blog/?p=645#comment-1746 Hi I have used disk2vhd successfully before. Now I have a Windows Server 2000 box I need to virtualize and when I run the Disk2vhd executable I get an error message about a missing vssapi.dll file. When I copy a version of that file form another server – I get past this error message – however – after the Disk2VHD application allows me to enter the volmes I need virtualized – it just dissappears form my screen – so it does not work… Any ideas where I can get a good vssapi.dll or how can I fix this issues? Thanks in Advance

]]>