Hello all. I'm running bionic and need to get a working p2v setup.
As of reading the man pages for virt-p2v(1) (http://manpages.ubuntu.com/manpages/bionic/man1/virt-p2v.1.html) and
virt-p2v-make-disk(1) (http://manpages.ubuntu.com/manpages/bionic/man1/virt-p2v-make-disk.1.html) I tried to make
such a bootable disk to begin the process. Quickly I ran into trouble as you'll see.
First, after installing the requisite libguestfs-tools and even virt-goodies I see this error...
$ virt-p2v-make-disk -o p2v-bionic-bootable.img
virt-p2v-make-disk: cannot find /lib/x86_64-linux-gnu/virt-p2v/virt-p2v.xz
As google showed me this looks like the bug reported here https://bugs.debian.org/cgi-bin/bugr...cgi?bug=897684
and sure enough the path isn't right...
$ dpkg --listfiles libguestfs-tools | grep virt-p2v.xz/usr/lib/x86_64-linux-gnu/virt-p2v/virt-p2v.xz
to work-around I did this
$ sudo mkdir -p /lib/x86_64-linux-gnu/virt-p2v/
$ sudo ln -s /usr/lib/x86_64-linux-gnu/virt-p2v/virt-p2v.xz /lib/x86_64-linux-gnu/virt-p2v/virt-p2v.xz
Trying again I get a different error...
$ virt-p2v-make-disk -o p2v-bionic-bootable.img
virt-p2v-make-disk: cannot find dependencies file (/share/virt-p2v/dependencies.debian)
At this point I'm at a loss. the path of /share looks very unexpected.
Where does this dependencies file come from? Or am I just doing it wrong?
As of reading the man pages for virt-p2v(1) (http://manpages.ubuntu.com/manpages/bionic/man1/virt-p2v.1.html) and
virt-p2v-make-disk(1) (http://manpages.ubuntu.com/manpages/bionic/man1/virt-p2v-make-disk.1.html) I tried to make
such a bootable disk to begin the process. Quickly I ran into trouble as you'll see.
First, after installing the requisite libguestfs-tools and even virt-goodies I see this error...
$ virt-p2v-make-disk -o p2v-bionic-bootable.img
virt-p2v-make-disk: cannot find /lib/x86_64-linux-gnu/virt-p2v/virt-p2v.xz
As google showed me this looks like the bug reported here https://bugs.debian.org/cgi-bin/bugr...cgi?bug=897684
and sure enough the path isn't right...
$ dpkg --listfiles libguestfs-tools | grep virt-p2v.xz/usr/lib/x86_64-linux-gnu/virt-p2v/virt-p2v.xz
to work-around I did this
$ sudo mkdir -p /lib/x86_64-linux-gnu/virt-p2v/
$ sudo ln -s /usr/lib/x86_64-linux-gnu/virt-p2v/virt-p2v.xz /lib/x86_64-linux-gnu/virt-p2v/virt-p2v.xz
Trying again I get a different error...
$ virt-p2v-make-disk -o p2v-bionic-bootable.img
virt-p2v-make-disk: cannot find dependencies file (/share/virt-p2v/dependencies.debian)
At this point I'm at a loss. the path of /share looks very unexpected.
Where does this dependencies file come from? Or am I just doing it wrong?