[Libguestfs] Another virt-p2v blew up

Greg Scott GregScott at Infrasupport.com
Fri Jan 6 07:25:25 UTC 2012


> libguestfs should detect \winnt as the %systemroot%.  You can check
> by doing:
>
>  virt-inspector2 Guest | grep -i systemroot

The challenge here is I never get to look at the resulting disk image because virt-p2v-server gets rid of it right after it finishes building it.  If it's happy with /winnt then maybe it's looking for some other file - I wonder what it wants?  If the log would tell us specifically what it's missing, we could fix it on the source physical machine and try again.

- Greg



-----Original Message-----
From: Richard W.M. Jones [mailto:rjones at redhat.com] 
Sent: Wednesday, January 04, 2012 6:42 AM
To: Greg Scott
Cc: libguestfs at redhat.com; Matthew Booth; Joey Bertalan; Fredy Hernández
Subject: Re: [Libguestfs] Another virt-p2v blew up

On Mon, Dec 26, 2011 at 06:30:14PM -0600, Greg Scott wrote:
> I may have an idea why this one blew up.  This source machine apparently does not have a c:\windows directory.  Instead, Windows is loaded into c:\Winnt.  
> 
> Looks like the p2v error was "guestfsd: error: windows: no file or directory found with this name"  I wonder if it was looking for c:\Windows and instead found c:\Winnt?

Which version of virt-v2v and libguestfs is this?

libguestfs should detect \winnt as the %systemroot%.  You can check
by doing:

  virt-inspector2 Guest | grep -i systemroot

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