Richard W.M. Jones
2014-Nov-20  21:25 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
Thanks for providing the SOFTWARE and SYSTEM hives.  Firstly the
SOFTWARE hive has an unusually large 'nk' node, which required me to
increase one of the limits in hivex:
https://github.com/libguestfs/hivex/commit/bec3f0bb632c4b84a1dfb73eb6333c2ba9834ffb
The SYSTEM hive was even more interesting:
  $ hivexsh system
  
  Welcome to hivexsh, the hivex interactive shell for examining
  Windows Registry binary hive files.
  
  Type: 'help' for help summary
        'quit' to quit the shell
  
  system\> ls
  ControlSet001
  ControlSet002
  LastKnownGoodRecovery
  MountedDevices
  Select
  Setup
  WPA
  system\> cd ControlSet001\Services
  system\ControlSet001\Services> cd Firstboot
  hivexsh: cd: Argument list too long
This was the error seen in the conversion, and it turned out to be
caused by the hive containing a node which contains a French name,
encoded in UTF-8.
This is a bit more complicated to solve ..
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/
Richard W.M. Jones
2014-Nov-20  21:34 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
On Thu, Nov 20, 2014 at 09:25:40PM +0000, Richard W.M. Jones wrote:> This was the error seen in the conversion, and it turned out to be > caused by the hive containing a node which contains a French name, > encoded in UTF-8.^^ Actually it's Latin-1, not UTF-8. 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/
Richard W.M. Jones
2014-Nov-20  22:11 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
OK the Windows "argument list too long" thing should be fixed by hivex-1.3.10-5.7.el7 which is in the usual place. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Reasonably Related Threads
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411