On Wed, Nov 19, 2014 at 06:18:33PM -0500, tzheng wrote:
On 11/19/2014 04:47 AM, Richard W.M. Jones wrote:
>On Wed, Nov 19, 2014 at 09:08:36AM +0100, Nicolas Ecarnot wrote:
>>I tried to use the virt-p2v-make-disk, but it failed to connect to a
>>libvirt socket (obviously, there is none running in this VM.)
>To avoid libvirt problems, do:
>
> export LIBGUESTFS_BACKEND=direct
>
>Why don't you use the ISO? Burn it onto a CD and boot it.
I've tried the ISO,but I use usb disk.
# livecd-iso-to-disk /livecd-p2v-201411180515.iso /dev/sdb
However,when I use the usb disk to boot,it fails with the below error:
No default or UI configuration directive found.
Then it hangs with boot:.
This seems to be a bug in livecd-iso-to-disk. The whole of
livecd-tools seems to be buggy and now abandoned.
You can use virt-p2v-make-disk to make a bootable USB stick. It uses
virt-builder and so is a lot more reliable, and quicker.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/