On Sun, Mar 27, 2022 at 10:54:54PM +0300, Nir Soffer wrote:
> On Sun, Mar 27, 2022 at 9:09 PM Richard W.M. Jones <rjo...@redhat.com> wrote:
> >
> >
> > On Sun, Mar 27, 2022 at 01:18:43PM +0300, Arik Hadas wrote:
> > > That information message is incorrect, both OVAs that are created by
> > > oVirt/RHV and OVAs that are created by VMware are supported It could
> > > work for OVAs that are VMware-compatible though
> >
> > "VMware-compatible" is doing a bit of work there.  Virt-v2v only
> > supports (and more importantly _tests_) OVAs produced by VMware.
> > Anything claiming to be "VMware-compatible" might or might not work.
> >
> > I'm on holiday at the moment but I can have a look at the OVA itself
> > when I get back if someone posts a link.
> 
> The v2v log was from this image:
> https://github.com/brimstone/metasploitable3/releases/download/0.1.4/Metasploitable3-0.1.4.ova

$ tar xf Metasploitable3-0.1.4.ova
$ guestfish --ro -a Metasploitable\ 3-disk001.vmdk -a Metasploitable\ 
3-disk002.vmdk 

Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.

Type: ‘help’ for help on commands
      ‘man’ to read the manual
      ‘quit’ to quit the shell

><fs> run
><fs> list-filesystems 
/dev/sda: vfat
/dev/sdb1: ntfs

><fs> mount /dev/sda /
><fs> ll /
total 123719
drwxr-xr-x  2 root root       512 Jan  1  1970 .
drwxr-xr-x 19 root root      4096 Mar 28 08:29 ..
-rwxr-xr-x  1 root root    318173 Jul  4  2017 grldr
-rwxr-xr-x  1 root root 122798595 Jul  4  2017 initramfs.gz
-rwxr-xr-x  1 root root   3564944 Jul  4  2017 kernel.gz
-rwxr-xr-x  1 root root       193 Jul  4  2017 menu.lst
><fs> cat /menu.lst 
default 1
timeout 0
color cyan/blue white/blue

title Installer
find --set-root /BOOTMGR && chainloader /BOOTMGR && boot
find --set-root /kernel.gz
kernel /kernel.gz quiet
initrd /initramfs.gz

><fs> umount /

><fs> mount /dev/sdb1 /
><fs> ll /
total 29
drwxrwxrwx  1 root root 4096 Feb 18  2018 .
drwxr-xr-x 19 root root 4096 Mar 28 08:29 ..
-rwxrwxrwx  1 root root 1783 Feb 18  2018 COPYING
-rwxrwxrwx  1 root root 3601 Feb 18  2018 LICENSE
-rwxrwxrwx  1 root root 2900 Feb 18  2018 gitlog.txt
-rwxrwxrwx  1 root root  107 Feb 18  2018 install.cmd
-rwxrwxrwx  1 root root 3316 Feb 18  2018 log.bat
drwxrwxrwx  1 root root 4096 Feb 18  2018 resources
drwxrwxrwx  1 root root    0 Feb 18  2018 scripts
-rwxrwxrwx  1 root root   36 Feb 18  2018 variables.txt
drwxrwxrwx  1 root root    0 Feb 18  2018 win2k8r2

libguestfs inspection has no idea what to make of this.  I guess it's
some very custom embedded Linux.

Virt-v2v cannot do generalised conversions, it only works for a narrow
range of supported guests:

https://libguestfs.org/virt-v2v-support.1.html

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/T4CXOUAP2NK6MUG6NE7XZZ3H77C77QFY/

Reply via email to