[Libguestfs] How to install lib guestfs in CentOS

Richard W.M. Jones rjones at redhat.com
Fri Aug 27 10:40:43 UTC 2010


On Fri, Aug 27, 2010 at 04:02:52PM +0530, Saravanan S wrote:
> On Fri, Aug 27, 2010 at 2:40 PM, Richard W.M. Jones <rjones at redhat.com>wrote:
> 
> > This machine is i386.
> >
> > If yours is x86-64, then it could be a multilib brokenness problem.
> > You will need to remove the libguestfs.i386 package, block it so that
> > it never gets installed, and reinstall the libguestfs.x86_64 package.
> >
> 
> Thanks Rich, Somehow i am able to get guestfish tool installex with
> 
> yum install guestf*
> 
> and saw your video turorial
> 
> http://rwmj.wordpress.com/2010/07/15/first-virt-tools-guestfish-video-tutorial/
> 
> Nice, but when i try
> I created this image with virt-install, this runs fine on Xen.
> 
> if i try
> 
> [root at centos-test ~]# file /vm/toyoto.img
> /vm/toyoto.img: data
> 
> guestfish -a /vm/toyoto.img
> 
> ><fs> run
> *Could not open '/dev/kqemu' - QEMU acceleration layer not activated: No
> such file or directory*
> ><fs> list-partitions
> ><fs>
> 
> List partitions displays nothing!

What is the image file?  Presumably one which contains no partitions.

How about:

  ><fs> lvs
  ><fs> file /dev/sda

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list