[Libguestfs] Offline virtio installation on Windows 2012R2

Nikos Skalkotos skalkoto at grnet.gr
Fri Jun 13 12:33:04 UTC 2014


Hello Richard,

Thank you for the quick reply!

I used this:

diff <(hivexregedit --export HIVE_1 \\) <(hivexregedit --export HIVE_2 
\\)

to debug my python registry update code.  I'll also check virt-diff and 
I'll let you know if I have any news.

Nikos

On Fri 13 Jun 2014 15:03:03 EEST, Richard W.M. Jones wrote:
> I think the way we did this originally was to examine how other
> installers worked and what changes they made to the Registry.
>
> You can grab the registry content before and after running a
> particular installer, eg:
>
>   $ virt-win-reg windows.img 'HKLM\SYSTEM' > old-system.reg
>   # run the installer
>   $ virt-win-reg windows.img 'HKLM\SYSTEM' > new-system.reg
>   $ diff -ur old-system.reg new-system.reg
>
> You can also use virt-diff to show the differences between the entire
> disk image before and after.
>
>   http://libguestfs.org/virt-win-reg.1.html#synopsis
>   http://libguestfs.org/virt-diff.1.html
>
> Rich.
>




More information about the Libguestfs mailing list