Attaching Parent Child (differencing) VHD - need help

This is for discussing general topics about how to use VirtualBox.
Post Reply
eliassal
Posts: 23
Joined: 5. Jun 2010, 18:49
Primary OS: Other
VBox Version: OSE Fedora
Guest OSses: Win 2k12 and 16

Attaching Parent Child (differencing) VHD - need help

Post 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
SE
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

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

Post 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.
eliassal
Posts: 23
Joined: 5. Jun 2010, 18:49
Primary OS: Other
VBox Version: OSE Fedora
Guest OSses: Win 2k12 and 16

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

Post 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,
SE
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

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

Post 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.
Post Reply