Re: Migrating VMs v3 layout to v4
Posted: 31. Mar 2011, 11:00
I suppose I should add conversion advice... Simplest way I know - and it only works if you avoid snapshots like the plague that they are - is to create a new v4 VM with a new drive, making all VM settings identical to those of the VM you want to convert; pay particular attention to IO APIC and VT-x settings, IDE and NIC controller types and MAC address. In short - pay attention to everything. When that's done you clone the hdd from its old location into the new VMs folder, then manually edit the media registry in the .vbox text file, where you correct both the filename and the UUID in the media registry entry - both need to be changed to that of the clone you just created (*). This procedure effectively clones the old VM: the clone has a v4 layout, the original continues to work using whatever layout it had. Once you are satified that the clone works ok, you can delete the original VM in its entirety, including xmls and VDIs.
Tidy up: when you created the new VM, a small new VDI was created as well - you can delete that VDI now.
If you have snapshots then conversion which preserves the snapshot structure is not practical, IMHO. You need to clone the current state to get a stand alone VDI, which you then treat as above.
(*) My CloneVDI tool can be used to determine the creation UUID of the clone.
Tidy up: when you created the new VM, a small new VDI was created as well - you can delete that VDI now.
If you have snapshots then conversion which preserves the snapshot structure is not practical, IMHO. You need to clone the current state to get a stand alone VDI, which you then treat as above.
(*) My CloneVDI tool can be used to determine the creation UUID of the clone.