
On Fri, Oct 23, 2009 at 04:04:23PM +0100, Richard W.M. Jones wrote:
On Thu, Oct 22, 2009 at 02:09:01PM +0530, Gandhiraj Natarajan wrote:
2. We need to know how to get the proper operating system like Windows XP or 2000 or 2003?
virt-inspector can tell you it is Windows, and with a bit of extra work we could work out what version of Windows it is too. (In fact virt-inspector can't do this last bit at the moment, mainly because I have no idea how).
Apparently it is contained in the file %systemroot%\system32\ prodspec.ini so as a temporary measure you could use virt-cat. This works for me: $ virt-cat Win2003x32 /WINDOWS/system32/prodspec.ini ; ;Note to user: DO NOT ALTER OR DELETE THIS FILE. ; [SMS Inventory Identification] Version=1.0 [Product Specification] Product=Windows Server 2003, Enterprise Edition Version=5.0 Localization=English ServicePackNumber=0 BitVersion=40 [Version] DriverVer=10/01/2002,5.2.3790.0 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://et.redhat.com/~rjones/libguestfs/ See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html