This killer error would be enough to eat your productive time. Going through the forums does help you to fix this but the following are to be noted:
- OVA files are tar archive files with a .vmdk, .mf and .ovf files inside it.
- The files inside the OVA archives should be in specific order.
Here is what I had tried with no success:
- Unzipping the content, editing the respective files, zipping it again in .zip format and renaming to .ova. Used winrar tool for this. This may throw error "header not found".
- Using 7zip to extract the files, edit the required files and drag-drop updated files to 7zip. Just because 7zip utility changes the order of files in the archive, it gave error ".ovf file not found in the beginning of archive."
Solution:
Following steps are executed on a Linux machine. You may use tools such as cygwin to perform them on Windows.
- Rename the .ova file to .tar: mv myovafile.ova myovafile.tar
- List the .tar file to note down the order of its contents: tar -tf myovafile.tar
- Extract the tar archive: tar -xvf myovafile.tar
- Edit the .ovf file using text editor to have vmware.cdrom.remotepassthrough as rasd:ResourceSubType content for the rasd:ElementName with CD-ROM DVD value. You may refer VMware KB document.
- Calculate SHA1 for the .ovf file: sha1sum myovafile.ovf
- Update the SHA1 value to the .mf file using a text editor.
- Create tar file with the updated files. Pass files in the order they was displayed when step 2 was performed: tar -cvf mynewova.tar {fileslist_separated_by_space}
- Rename the file to have OVA extension: mv mynewova.tar mynewova.ova
nice one James...!!
ReplyDeleteThanks Venkat!
DeleteGreat Article android based projects
DeleteJava Training in Chennai Project Center in Chennai Java Training in Chennai projects for cse The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai
Or you can simply create an empty file named "_deviceImage-0.iso" on destination datastore.
ReplyDeleteGian Cerro: You make my day ;) works perfectly !!! 10x
DeleteTreasureBox is operated by a group of young, passionate, and ambitious people that are working diligently towards the same goal - make your every dollar count, as we believe you deserve something better.
ReplyDeleteCheck out the best
laptop table
shoe storage nz
Wow! Such an amazing and helpful post this is. I really really love it. I hope that you continue to do your work like this in the future also.
ReplyDeleteSpark and Scala Training
Apache Spark Online Course
Thanks for Sharing a Very Informative Post & I read Your Article & I must say that is very helpful post for us.
ReplyDeleteData Science Course in Pune
Python Classes in Pune
I'm truly grateful to you for offering Such sort of instructive articles to us.
ReplyDeleteReally helpful.
buy a logo
This concept is a good way to enhance knowledge. thanks for sharing..
ReplyDeleteData Science Course in Pune
Python Classes in Pune
Thanks for sharing this information. This is really useful. Keep doing more.
ReplyDeleteHire Java Developers
Playing at on-line casino for real money often a|could be a} thrilling experience! At OUSC you can see essentially the most trusted sites to play with cash and 온라인 바카라 the best real money video games. They make investments large cash} into making their websites and their providers top-notch for all gamers.
ReplyDelete