OVA import fails because of UTF8/16 error

Discussions related to using VirtualBox on Linux hosts.
Post Reply
FCR
Posts: 2
Joined: 7. Oct 2013, 20:56

OVA import fails because of UTF8/16 error

Post 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?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: OVA import fails because of UTF8/16 error

Post 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.
FCR
Posts: 2
Joined: 7. Oct 2013, 20:56

Re: OVA import fails because of UTF8/16 error

Post by FCR »

But I have to access to the Windows machine for some weeks now. Is there any way to fix the OVA problem?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: OVA import fails because of UTF8/16 error

Post 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.
Hanodl
Posts: 1
Joined: 28. Sep 2016, 11:37

Re: OVA import fails because of UTF8/16 error

Post 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/
Post Reply