[virt-tools-list] what does virt-v2v check for in a multiboot os?

Kenneth Armstrong digimars at gmail.com
Wed Jan 26 18:22:38 UTC 2011


Yeah, this is without Recovery Console installed:

[root at rhel6 e95548d0-2ee2-4ffb-b960-6f74b17966f2]# virt-inspector
--perl 5b5503fa-954f-42c8-b9a4-05a9a7b6ee9e
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
$VAR1 = '/dev/sda1';
$VAR2 = {
          'arch' => 'i386',
          'apps' => [],
          'os' => 'windows',
          'major_version' => '5',
          'root_device' => '/dev/sda1',
          'filesystems' => {
                             '/dev/sda1' => {
                                              'arch' => 'i386',

'windows_registered_owner' => 'MIS',
                                              'content' => 'windows-root',
                                              'is_root' => 1,
                                              'windows_current_type'
=> 'Multiprocessor Free',
                                              'windows_system_hive' =>
'/WINDOWS/system32/config/system',
                                              'os_minor_version' => '2',
                                              'fsos' => 'windows',
                                              'systemroot' => '/WINDOWS',
                                              'windows_software_hive'
=> '/WINDOWS/system32/config/software',
                                              'windows_software_type'
=> 'SYSTEM',

'windows_registered_organization' => 'BOTETOURT MIS',
                                              'windows_current_build'
=> '1.511.1 () (Obsolete data - do not use)',
                                              'is_mountable' => 1,
                                              'os_major_version' => '5',
                                              'boot_ini' => '/boot.ini',
                                              'fstype' => 'ntfs',
                                              'product_name' =>
'Microsoft Windows Server 2003'
                                            }
                           },
          'root' => $VAR2->{'filesystems'}{'/dev/sda1'},
          'minor_version' => '2',
          'mounts' => {
                        '/' => '/dev/sda1'
                      },
          'product_name' => 'Microsoft Windows Server 2003'
        };


I'll re-install it, and try again.

-Kenny

On Wed, Jan 26, 2011 at 1:18 PM, Richard W.M. Jones <rjones at redhat.com> wrote:
> On Wed, Jan 26, 2011 at 01:07:37PM -0500, Kenneth Armstrong wrote:
>> [root at rhel6 e95548d0-2ee2-4ffb-b960-6f74b17966f2]# virt-inspector
>> 5b5503fa-954f-42c8-b9a4-05a9a7b6ee9e
>
> I forgot to ask to you add the --perl flag, ie:
>
>  virt-inspector --perl 5b5503fa-954f-42c8-b9a4-05a9a7b6ee9e
>
> However ...
>
>> windows i386 5.2 (Microsoft Windows Server 2003) on /dev/sda1:
>>   Mountpoints:
>>     /dev/sda1                      /
>>   Filesystems:
>>     /dev/sda1:
>>       type: ntfs
>>       content: windows-root
>>   Applications:
>
> This presumably is the Windows guest after removing the Recovery
> Console?  I would expect to have seen two operating systems being
> displayed here if the Recovery Console was still installed.  It's
> really the case where the Recovery Console is installed (and virt-v2v
> fails) which is the interesting one.
>
>                - - - -
>
> By the way you might want to try out:
>
>  http://people.redhat.com/~rjones/rhel6.1-libguestfs-preview/
>
> Although these are not supported and might break RHEL 6.0 virt-v2v
> (they shouldn't -- it's just I haven't tested this combination
> together).
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://et.redhat.com/~rjones/virt-df/
>




More information about the virt-tools-list mailing list