9
submitted 9 months ago by PrivateNoob@sopuli.xyz to c/linux@lemmy.ml

I'm on an Arch-based Linux with VirtualBox (generic installer, couldn't load modules with host-modules-arch) and I get this error whenever I try to import this OVA file:

Error reading OVA '.../coa-aio-newton.ova' (VERR_TAR_UNEXPECTED_EOS) Result Code: VBOX_E_IPRT_ERROR (0X80BB0005) Component: ApplianceWrap Interface: IAppliance {86a98347-7619-41aa-aece-b21ac5c1a7e6}

Apparently, these OVA files should be unpackable but tar doesn't recognize it, and neither Ark or PeaZip can unzip this, but importing this OVA file works on Win 10.

I've tried using VMWare but that gave me an import error too. Why can't virtualization work at all on Arch-based systems?

top 9 comments
sorted by: hot top controversial new old

Try manually 'tar xvf file.ova' however it sounds like the ova might be corrupt...

[-] PrivateNoob@sopuli.xyz 1 points 9 months ago

Yes these were the conclusions that I have gathered from the wise web, but then why does it work flawlessly on Windows?

This is the file (My uni uses this repo as a VM) https://github.com/PacktPublishing/Preparing-for-the-Certified-OpenStack-Administrator-Exam

[-] bizdelnick@lemmy.ml 2 points 9 months ago* (last edited 9 months ago)

It looks like typical M$ EEE strategy, stage 2: extend standard to break compatibility. But OVA images produced by different virtualization systems are almost always incompatible to each other on the level of xml metadata. Seems that just one more level of incompatibility was added in archive format.

What does the command file your_image.ova say?

[-] bizdelnick@lemmy.ml 2 points 9 months ago

Well, I've downloaded the file and it is a correct tar archive.

% file coa-aio-newton.ova          
coa-aio-newton.ova: POSIX tar archive (GNU)
% tar -tf coa-aio-newton.ova 
coa-aio-newton.ovf
coa-aio-newton_2_1-disk001.vmdk
% sha256sum coa-aio-newton.ova 
025fcb6e635e30d6592834aeba1649ef24a8c0fa079d1bbc9aa6290a8aa5e614  coa-aio-newton.ova

According to coa-aio-newton.ovf, it is created in virtualbox.

[-] PrivateNoob@sopuli.xyz 1 points 9 months ago
$ file coa-aio-newton.ova
coa-aio-newton.ova: ASCII text
$ tar -tf coa-aio-newton.ova
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Hmm interesting. Nevermind I have unpacked the ova file and exported the vmdk and ovf back to Linux. Thank you for your observation tho!

[-] bizdelnick@lemmy.ml 2 points 9 months ago

That file was downloaded wrong. I can guess that you used the broken dropbox link and this file contains a 404 page or you used git clone without git-lfs installed.

[-] PrivateNoob@sopuli.xyz 1 points 9 months ago

Absolutely right, I have only used git clone. Thank you for showing git-lfs, never heard of it before.

[-] palordrolap@kbin.social 2 points 9 months ago

"UNEXPECTED_EOS" is almost certainly "unexpected end of stream", that is, the file is missing the end or there's data corruption and the unpacker has interpreted the bad data as meaning the file should be longer than it is.

Redownload the file, or try to download it using a different tool (e.g. wget or curl rather than a browser). If that still gets a truncated file, try a different source / mirror.

[-] PrivateNoob@sopuli.xyz 1 points 9 months ago

Yeah you're right. I've download git-lfs and it probably works now. Thank you for your help!

this post was submitted on 30 Nov 2023
9 points (90.9% liked)

Linux

47284 readers
709 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS