Page 1 of 1

Attaching Parent Child (differencing) VHD - need help

Posted: 12. Jun 2011, 20:01
by eliassal
I have a VPC vhd machine, base machine ( BTS2009-2933A-Base.vhd for C:\ and BTS2009-2933A-BaseE for E:\) . Then I have the VM as follows:
1 . BTS2009-2933A-Working-Instructor for the C:\
2. BTS2009-2933A-Working-InstructorE for the E:\

This machine used to work fine in VPC 2007 but since 1 year I am exclusively using VB and need to use this machine.

I tried creating a new machine, when I attach the hard drive 1, I get the following error message :

Impossible opening hard drive E:
BTS2009-2933A-Working-Instructor.vhd Parent medium with UUID {33.................} of the medium E: is not found in the media registry (C:\Users\salam.mydomain\.VirtualBox\VirtualBox.xml)

Thanks for your help

Re: Attaching Parent Child (differencing) VHD - need help

Posted: 14. Jun 2011, 13:11
by mpack
If you still have access to the original VPC 2007 installation then it would be easier if you ran some disk imaging application inside the guest under VPC, thus creating a single (not differenced) disk image you can move to VBox. You don't mention what the guest is, but Disk2VHD is a convenient way of imaging a Windows guest and creating a merged VHD.

Moving a differenced image would require you to create control files, that's a complex task probably impractical to describe for you here.

Re: Attaching Parent Child (differencing) VHD - need help

Posted: 14. Jun 2011, 16:57
by eliassal
Thanks
The guest in win2k8 32 bit.
I reallyu don't want to merge as I have 2 VMs based on the base disks. I use it 2 VMs for training purposed and need to keep this architecure.
Can you please point me to the complex procedure you are tallink about.

2nd, do you mean that I run the VM inside VPC 2007, seup Disk2VHD, then use a merge functionality somewhere inside S2vhd while machine is up.



Regards,

Re: Attaching Parent Child (differencing) VHD - need help

Posted: 14. Jun 2011, 17:24
by mpack
eliassal wrote:2nd, do you mean that I run the VM inside VPC 2007, seup Disk2VHD, then use a merge functionality somewhere inside S2vhd while machine is up.
I mean that you run Disk2VHD inside the guest, writing the image to a shared folder or similar. That automatically gives you a merged VHD.

No, I can not point you to a description of the complex procedure. Complex in this context means that it is incapable of being briefly summarised for the benefit of newcomers. You either find the technique obvious and requiring no explanation, or you don't, and you can't do it.