Page 1 of 1

OVA import fails because of UTF8/16 error

Posted: 7. Oct 2013, 21:00
by FCR
Hello, I tried to import an OVA file (containing Windows 7) on Virtual Box for Linux Mint (both system 32bit). I created the OVA with XenConvert 2.5 on the running Windows machine.

This is what I get (I translated it):
The Appliance /home/xxx/Admin-PC.ova could not be imported.
Document labelled UTF-16 but has UTF-8 content.
Location: '/home/xxx/Admin-PC.ova', line 1 (0), column 36.

Details:
Error code: VBOX_E_FILE_ERROR (0x80BB0004)
Component: Appliance
Interface: IAppliance {3059cf9e-25c7-4f0b-9fa5-3c42e441670b}
Can someone help me to get this fixed?

Re: OVA import fails because of UTF8/16 error

Posted: 8. Oct 2013, 11:09
by mpack
Forget XenConvert. Use Disk2VHD, then build a VM around the VHD. Ideally convert the VHD to VDI first (VBoxManage clonehd <srcfilename.VHD> <dstfilename.VDI> --format VDI).

Try to ensure that the disk is located inside the newly created VM folder before you tell VBox about it.

Re: OVA import fails because of UTF8/16 error

Posted: 8. Oct 2013, 19:58
by FCR
But I have to access to the Windows machine for some weeks now. Is there any way to fix the OVA problem?

Re: OVA import fails because of UTF8/16 error

Posted: 9. Oct 2013, 12:01
by mpack
Sorry, I don't know anything about XenConvert.

You can unpack the OVA (it's just a tar) into its component files and see if you can correct the OVF. Failing that you can clone the VMDK to a non streamed copy, and build a VM around it manually.

Re: OVA import fails because of UTF8/16 error

Posted: 28. Sep 2016, 11:43
by Hanodl
The way to make it work is to Delete the SATA controller and add a IDE controller in your virtual box settings.
Step By Step instructions here http://www.stepit.co.za/wp/blog/2016/09 ... rtual-box/