Opened 12 years ago
Closed 8 years ago
#11127 closed defect (obsolete)
Cannot import ovf with disk line --ignore
| Reported by: | Lethargy | Owned by: | |
|---|---|---|---|
| Component: | other | Version: | VirtualBox 4.1.22 |
| Keywords: | Cc: | ||
| Guest type: | other | Host type: | Mac OS X |
Description
The command "VBoxManage import ~/.vagrant.d/boxes/lucid32/box.ovf -n" mentions:
9: Hard disk image: source image=box-disk1.vmdk, target path=/Users/mcobden/VirtualBox VMs/lucid32/box-disk1.vmdk, controller=8;channel=0
(change target path with "--vsys 0 --unit 9 --disk path";
disable with "--vsys 0 --unit 9 --ignore")
When I try "VBoxManage import ~/.vagrant.d/boxes/lucid32/box.ovf --vsys 0 --unit 9 --ignore " I get the error:
Progress state: NS_ERROR_FAILURE VBoxManage: error: Internal inconsistency looking up disk image 'vmdisk1' VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Appliance, interface IAppliance, callee Context: "ImportAppliance" at line 793 of file VBoxManageAppliance.cpp
The full output looks like this:
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/mcobden/.vagrant.d/boxes/lucid32/box.ovf...
OK.
Disks: vmdisk1 85899345920 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized box-disk1.vmdk -1 -1
Virtual system 0:
0: Suggested OS type: "Ubuntu"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "lucid32"
(change with "--vsys 0 --vmname <name>")
2: Number of CPUs: 1
(change with "--vsys 0 --cpus <n>")
3: Guest memory: 384 MB
(change with "--vsys 0 --memory <MB>")
4: Network adapter: orig NAT, config 3, extra slot=0;type=NAT
5: CD-ROM
(disable with "--vsys 0 --unit 5 --ignore")
6: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 6 --ignore")
7: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 7 --ignore")
8: SATA controller, type AHCI
(disable with "--vsys 0 --unit 8 --ignore")
9: Hard disk image: source image=box-disk1.vmdk -- disabled
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Internal inconsistency looking up disk image 'vmdisk1'
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Appliance, interface IAppliance, callee
Context: "ImportAppliance" at line 793 of file VBoxManageAppliance.cpp
Also, the correct version is not in the bug dropdown
VBoxManage --version 4.1.23r80870
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 8 years ago
| Resolution: | → obsolete |
|---|---|
| Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
Note:
See TracTickets
for help on using tickets.


Persists with version
VBoxManage import ~/.vagrant.d/boxes/lucid32/box.ovf --vsys 0 --unit 9 --ignore 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Interpreting /Users/mcobden/.vagrant.d/boxes/lucid32/box.ovf... OK. Disks: vmdisk1 85899345920 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized box-disk1.vmdk -1 -1 Virtual system 0: 0: Suggested OS type: "Ubuntu" (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values) 1: Suggested VM name "lucid32" (change with "--vsys 0 --vmname <name>") 2: Number of CPUs: 1 (change with "--vsys 0 --cpus <n>") 3: Guest memory: 384 MB (change with "--vsys 0 --memory <MB>") 4: Network adapter: orig NAT, config 3, extra slot=0;type=NAT 5: CD-ROM (disable with "--vsys 0 --unit 5 --ignore") 6: IDE controller, type PIIX4 (disable with "--vsys 0 --unit 6 --ignore") 7: IDE controller, type PIIX4 (disable with "--vsys 0 --unit 7 --ignore") 8: SATA controller, type AHCI (disable with "--vsys 0 --unit 8 --ignore") 9: Hard disk image: source image=box-disk1.vmdk -- disabled 0%... Progress state: NS_ERROR_FAILURE VBoxManage: error: Appliance import failed VBoxManage: error: Internal inconsistency looking up disk image 'vmdisk1' VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Appliance, interface IAppliance VBoxManage: error: Context: "int handleImportAppliance(HandlerArg*)" at line 781 of file VBoxManageAppliance.cpp