Hi everyone,
I am trying to convert a VirtualBox 3.1.4 image with 2 harddisks with OVFTool 1.00 x64 linux.
~/VirtualBox$ ovftool --noDisks SDM-MANAGER.ovf SDM-MANAGER.vmx
Opening OVF source: SDM-MANAGER.ovf
Opening VMX target: SDM-MANAGER.vmx
Error:
- '3' of device 'vim.vm.device.VirtualIDEController' was found. Only '2' allowed
I cannot seem to find the solution for the problem. Could anyone help me on this?
I have added the ovf file to the post!
Kind Regards,
Jeroen van de Hoef
Hi Jeroen
From a look on the OVF you have provided I can see that you have 1 IDE controller using "address = 1" this is translated to be IDE controller 1 on the motherboard. As IDE controllers are default devices you will automatic get IDE controller at address 0 defined e.g. IDE controller 0 on the motherboard.
secondly you define the CD-ROM to have use AddressOnParent=0 which is the same AddressOnParent disk 1 with InstanceId 8 have.
So a fix for your OVF is to define a second ide controller as
<Item>
<rasd:Caption>ideController0</rasd:Caption>
<rasd:Description>IDE Controller</rasd:Description>
<rasd:InstanceId>20</rasd:InstanceId>
<rasd:ResourceType>5</rasd:ResourceType>
<rasd:ResourceSubType>PIIX4</rasd:ResourceSubType>
<rasd:Address>0</rasd:Address>
<rasd:BusNumber>0</rasd:BusNumber>
</Item>
map the disk to use this (you can do this by changing the Parent=2) ide controller.
hope it helps
eske
Hi Jeroen
From a look on the OVF you have provided I can see that you have 1 IDE controller using "address = 1" this is translated to be IDE controller 1 on the motherboard. As IDE controllers are default devices you will automatic get IDE controller at address 0 defined e.g. IDE controller 0 on the motherboard.
secondly you define the CD-ROM to have use AddressOnParent=0 which is the same AddressOnParent disk 1 with InstanceId 8 have.
So a fix for your OVF is to define a second ide controller as
<Item>
<rasd:Caption>ideController0</rasd:Caption>
<rasd:Description>IDE Controller</rasd:Description>
<rasd:InstanceId>20</rasd:InstanceId>
<rasd:ResourceType>5</rasd:ResourceType>
<rasd:ResourceSubType>PIIX4</rasd:ResourceSubType>
<rasd:Address>0</rasd:Address>
<rasd:BusNumber>0</rasd:BusNumber>
</Item>
map the disk to use this (you can do this by changing the Parent=2) ide controller.
hope it helps
eske
Thanks Eske! That was the solution