Problems exporting/importing appliance
Posted: 2. Dec 2009, 01:44
I need to move 3 virtual machines to a different host machine. I thought the appliance import/export would be the best way to do this. I tried doing all three at once, and also one at a time, with the same results. Below is what happens when using the command line import.
Code: Select all
VirtualBox Command Line Management Interface Version 3.1.0
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/justin/host6.ovf...
OK.
Disks: vmdisk1 8589934592 -1 http://www.vmware.com/specifications/vmdk.html#sparse {9affdaaa-ce36-4cfa-b54c-f6cb207ca9b1}.vmdk 504596992 -1 <NULL>
Virtual system 0:
0: Suggested OS type: "Mandriva"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "host6"
(change with "--vsys 0 --vmname <name>")
2: Number of CPUs (ignored): 1
3: Guest memory: 128 MB
(change with "--vsys 0 --memory <MB>")
4: Sound card (appliance expects "ensoniq1371", can change on import)
(disable with "--vsys 0 --unit 4 --ignore")
5: USB controller
(disable with "--vsys 0 --unit 5 --ignore")
6: Network adapter: orig Bridged, config 2, extra type=Bridged
7: Floppy
(disable with "--vsys 0 --unit 7 --ignore")
8: CD-ROM
(disable with "--vsys 0 --unit 8 --ignore")
9: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 9 --ignore")
10: Hard disk image: source image={9affdaaa-ce36-4cfa-b54c-f6cb207ca9b1}.vmdk, target path=/home/justin/.VirtualBox/HardDisks/{9affdaaa-ce36-4cfa-b54c-f6cb207ca9b1}.vmdk, controller=9;channel=0
(change controller with "--vsys 0 --unit 10 --controller <id>";
disable with "--vsys 0 --unit 10 --ignore")
0%...FAILED
ERROR: Cannot unregister the machine 'host6' because it has 2 medium attachments
Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Machine, interface IMachine, callee <NULL>
Context: "ImportAppliance" at line 671 of file VBoxManageImport.cpp