Don't worry, here is a trick for you.
If you have virtualbox in your machine, then find out the tool "vboxmanage" under C:\Program Files\Oracle\VirtualBox (where virtual box is installed)
Else, go ahead to download free version virtualbox and install in machine
This tools does the job for us and very quickly:
Example: Hard drive name ITweirdo-XP.vdi
1. First we go where virtual box is installed: cd C:\Program Files\Oracle\VirtualBox by command prompt
2. Now use the tool vboxmanage with the switch clonehd:
C:\Program Files\Oracle\VirtualBox>vboxmanage clonehd "E:\Images\Virtual machines\Kiekieworld\ITweirdo-XP.vdi" z:\ITweirdo-XP.vhd --format vhd
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'vhd'. UUID: 801c7ac4-b396-42cb-bf9a-939d78ad08f8
If you noticed my hard drive was in the E drive and my destination drive was in the Z drive, your case is going to be different.
3. Now we create a virtual machine in Hyper-V without hard drive and attach the result hard drive to the virtual machine in my case was ITweirdo-XP.vhd
This was quicker than my export to OVF and later to other format.
NOTE: Make sure destination harddrive have enough space for the new .vhd file.
No comments:
Post a Comment