[ovirt-users] converting windows guests with v2v, where to put the iso?

Jeremiah Jahn jeremiah at goodinassociates.com
Mon Apr 21 12:32:17 EDT 2014


Solution #2

download the src rpm from
http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/RHOS/SRPMS/

build the rpm
rpmbuild --rebuild virtio-win-1.6.8-4.el6.src.rpm

install the rpm
rpm -Uhv  ~/rpmbuild/RPMS/noarch/virtio-win-1.6.8-4.el6.noarch.rpm



On Fri, Apr 18, 2014 at 3:10 PM, Jeremiah Jahn
<jeremiah at goodinassociates.com> wrote:
> Just so my solution is out there...
>
> You have to edit /var/lib/virt-v2v/virt-v2v.db  to use the correct
> paths from the iso.
>
> Copy all of the drivers into the same directory
>
> then lower case all of the driver names
>
> for f in *; do mv $f `echo $f | tr '[:upper:]' '[:lower:]'`; done
>
> uncomment and fix the appropriate network mapping in /etc/virt-v2v.conf
>
>  <network type='bridge' name='VM Network'>
>     <network type='network' name='ovirtmgmt'/>
>   </network>
>
> if you have to activate the windows machine and it doesn't startup
> knowing anything about your ethernet device
>
> press F8 on startup and go into safe mode with command prompt where it
> will let you install the appropriate virtIO drivers.
>
> once you restart you should be able to activate things.
>
> this was all for an XP guest.
>
>
> looks like Redhat does a lot more than just packing the ISO into an RPM.
>
> -jj-
>
> On Fri, Apr 18, 2014 at 6:42 AM, Jeremiah Jahn
> <jeremiah at goodinassociates.com> wrote:
>> thanks. It's Sci Linux. And I guess the supplementary disk must have
>> some different licensing on it, as it's not part of CentOS or SL, nor
>> is it a part of EPEL. I would have thought it'd be part of the ovirt
>> repo though. Seems kinda weird to not have that dependency taken care
>> of along with everything else.
>>
>> On Fri, Apr 18, 2014 at 5:44 AM, Sander Grendelman
>> <sander at grendelman.com> wrote:
>>> If your machine is RHEL, the rpm is in the "supplementary" subchannel:
>>> rhel6-x86_64-supplementary
>>>
>>> Structure:
>>>
>>> rpm -ql virtio-win
>>> /usr/share/doc/virtio-win-1.6.8
>>> /usr/share/doc/virtio-win-1.6.8/virtio-win_license.txt
>>> /usr/share/virtio-win
>>> /usr/share/virtio-win/drivers
>>> /usr/share/virtio-win/drivers/amd64
>>> /usr/share/virtio-win/drivers/amd64/Win2003
>>> /usr/share/virtio-win/drivers/amd64/Win2003/netkvm.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2003/netkvm.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2003/netkvm.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2003/viostor.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2003/viostor.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2003/viostor.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2008
>>> /usr/share/virtio-win/drivers/amd64/Win2008/netkvm.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2008/netkvm.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2008/netkvm.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2008/vioscsi.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2008/vioscsi.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2008/vioscsi.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2008/viostor.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2008/viostor.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2008/viostor.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2008R2
>>> /usr/share/virtio-win/drivers/amd64/Win2008R2/netkvm.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2008R2/netkvm.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2008R2/netkvm.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2008R2/vioscsi.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2008R2/vioscsi.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2008R2/vioscsi.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2008R2/viostor.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2008R2/viostor.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2008R2/viostor.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2012
>>> /usr/share/virtio-win/drivers/amd64/Win2012/netkvm.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2012/netkvm.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2012/netkvm.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2012/vioscsi.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2012/vioscsi.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2012/vioscsi.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2012/viostor.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2012/viostor.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2012/viostor.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2012R2
>>> /usr/share/virtio-win/drivers/amd64/Win2012R2/netkvm.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2012R2/netkvm.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2012R2/netkvm.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2012R2/vioscsi.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2012R2/vioscsi.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2012R2/vioscsi.sys
>>> /usr/share/virtio-win/drivers/amd64/Win2012R2/viostor.cat
>>> /usr/share/virtio-win/drivers/amd64/Win2012R2/viostor.inf
>>> /usr/share/virtio-win/drivers/amd64/Win2012R2/viostor.sys
>>> /usr/share/virtio-win/drivers/amd64/Win7
>>> /usr/share/virtio-win/drivers/amd64/Win7/netkvm.cat
>>> /usr/share/virtio-win/drivers/amd64/Win7/netkvm.inf
>>> /usr/share/virtio-win/drivers/amd64/Win7/netkvm.sys
>>> /usr/share/virtio-win/drivers/amd64/Win7/qxl.cat
>>> /usr/share/virtio-win/drivers/amd64/Win7/qxl.inf
>>> /usr/share/virtio-win/drivers/amd64/Win7/qxl.sys
>>> /usr/share/virtio-win/drivers/amd64/Win7/qxldd.dll
>>> /usr/share/virtio-win/drivers/amd64/Win7/vioscsi.cat
>>> /usr/share/virtio-win/drivers/amd64/Win7/vioscsi.inf
>>> /usr/share/virtio-win/drivers/amd64/Win7/vioscsi.sys
>>> /usr/share/virtio-win/drivers/amd64/Win7/viostor.cat
>>> /usr/share/virtio-win/drivers/amd64/Win7/viostor.inf
>>> /usr/share/virtio-win/drivers/amd64/Win7/viostor.sys
>>> /usr/share/virtio-win/drivers/amd64/Win8
>>> /usr/share/virtio-win/drivers/amd64/Win8.1
>>> /usr/share/virtio-win/drivers/amd64/Win8.1/netkvm.cat
>>> /usr/share/virtio-win/drivers/amd64/Win8.1/netkvm.inf
>>> /usr/share/virtio-win/drivers/amd64/Win8.1/netkvm.sys
>>> /usr/share/virtio-win/drivers/amd64/Win8.1/vioscsi.cat
>>> /usr/share/virtio-win/drivers/amd64/Win8.1/vioscsi.inf
>>> /usr/share/virtio-win/drivers/amd64/Win8.1/vioscsi.sys
>>> /usr/share/virtio-win/drivers/amd64/Win8.1/viostor.cat
>>> /usr/share/virtio-win/drivers/amd64/Win8.1/viostor.inf
>>> /usr/share/virtio-win/drivers/amd64/Win8.1/viostor.sys
>>> /usr/share/virtio-win/drivers/amd64/Win8/netkvm.cat
>>> /usr/share/virtio-win/drivers/amd64/Win8/netkvm.inf
>>> /usr/share/virtio-win/drivers/amd64/Win8/netkvm.sys
>>> /usr/share/virtio-win/drivers/amd64/Win8/vioscsi.cat
>>> /usr/share/virtio-win/drivers/amd64/Win8/vioscsi.inf
>>> /usr/share/virtio-win/drivers/amd64/Win8/vioscsi.sys
>>> /usr/share/virtio-win/drivers/amd64/Win8/viostor.cat
>>> /usr/share/virtio-win/drivers/amd64/Win8/viostor.inf
>>> /usr/share/virtio-win/drivers/amd64/Win8/viostor.sys
>>> /usr/share/virtio-win/drivers/i386
>>> /usr/share/virtio-win/drivers/i386/Win2003
>>> /usr/share/virtio-win/drivers/i386/Win2003/netkvm.cat
>>> /usr/share/virtio-win/drivers/i386/Win2003/netkvm.inf
>>> /usr/share/virtio-win/drivers/i386/Win2003/netkvm.sys
>>> /usr/share/virtio-win/drivers/i386/Win2003/viostor.cat
>>> /usr/share/virtio-win/drivers/i386/Win2003/viostor.inf
>>> /usr/share/virtio-win/drivers/i386/Win2003/viostor.sys
>>> /usr/share/virtio-win/drivers/i386/Win2008
>>> /usr/share/virtio-win/drivers/i386/Win2008/netkvm.cat
>>> /usr/share/virtio-win/drivers/i386/Win2008/netkvm.inf
>>> /usr/share/virtio-win/drivers/i386/Win2008/netkvm.sys
>>> /usr/share/virtio-win/drivers/i386/Win2008/vioscsi.cat
>>> /usr/share/virtio-win/drivers/i386/Win2008/vioscsi.inf
>>> /usr/share/virtio-win/drivers/i386/Win2008/vioscsi.sys
>>> /usr/share/virtio-win/drivers/i386/Win2008/viostor.cat
>>> /usr/share/virtio-win/drivers/i386/Win2008/viostor.inf
>>> /usr/share/virtio-win/drivers/i386/Win2008/viostor.sys
>>> /usr/share/virtio-win/drivers/i386/Win7
>>> /usr/share/virtio-win/drivers/i386/Win7/netkvm.cat
>>> /usr/share/virtio-win/drivers/i386/Win7/netkvm.inf
>>> /usr/share/virtio-win/drivers/i386/Win7/netkvm.sys
>>> /usr/share/virtio-win/drivers/i386/Win7/qxl.cat
>>> /usr/share/virtio-win/drivers/i386/Win7/qxl.inf
>>> /usr/share/virtio-win/drivers/i386/Win7/qxl.sys
>>> /usr/share/virtio-win/drivers/i386/Win7/qxldd.dll
>>> /usr/share/virtio-win/drivers/i386/Win7/vioscsi.cat
>>> /usr/share/virtio-win/drivers/i386/Win7/vioscsi.inf
>>> /usr/share/virtio-win/drivers/i386/Win7/vioscsi.sys
>>> /usr/share/virtio-win/drivers/i386/Win7/viostor.cat
>>> /usr/share/virtio-win/drivers/i386/Win7/viostor.inf
>>> /usr/share/virtio-win/drivers/i386/Win7/viostor.sys
>>> /usr/share/virtio-win/drivers/i386/Win8
>>> /usr/share/virtio-win/drivers/i386/Win8.1
>>> /usr/share/virtio-win/drivers/i386/Win8.1/netkvm.cat
>>> /usr/share/virtio-win/drivers/i386/Win8.1/netkvm.inf
>>> /usr/share/virtio-win/drivers/i386/Win8.1/netkvm.sys
>>> /usr/share/virtio-win/drivers/i386/Win8.1/vioscsi.cat
>>> /usr/share/virtio-win/drivers/i386/Win8.1/vioscsi.inf
>>> /usr/share/virtio-win/drivers/i386/Win8.1/vioscsi.sys
>>> /usr/share/virtio-win/drivers/i386/Win8.1/viostor.cat
>>> /usr/share/virtio-win/drivers/i386/Win8.1/viostor.inf
>>> /usr/share/virtio-win/drivers/i386/Win8.1/viostor.sys
>>> /usr/share/virtio-win/drivers/i386/Win8/netkvm.cat
>>> /usr/share/virtio-win/drivers/i386/Win8/netkvm.inf
>>> /usr/share/virtio-win/drivers/i386/Win8/netkvm.sys
>>> /usr/share/virtio-win/drivers/i386/Win8/vioscsi.cat
>>> /usr/share/virtio-win/drivers/i386/Win8/vioscsi.inf
>>> /usr/share/virtio-win/drivers/i386/Win8/vioscsi.sys
>>> /usr/share/virtio-win/drivers/i386/Win8/viostor.cat
>>> /usr/share/virtio-win/drivers/i386/Win8/viostor.inf
>>> /usr/share/virtio-win/drivers/i386/Win8/viostor.sys
>>> /usr/share/virtio-win/drivers/i386/WinXP
>>> /usr/share/virtio-win/drivers/i386/WinXP/netkvm.cat
>>> /usr/share/virtio-win/drivers/i386/WinXP/netkvm.inf
>>> /usr/share/virtio-win/drivers/i386/WinXP/netkvm.sys
>>> /usr/share/virtio-win/drivers/i386/WinXP/qxl.cat
>>> /usr/share/virtio-win/drivers/i386/WinXP/qxl.inf
>>> /usr/share/virtio-win/drivers/i386/WinXP/qxl.sys
>>> /usr/share/virtio-win/drivers/i386/WinXP/qxldd.dll
>>> /usr/share/virtio-win/drivers/i386/WinXP/viostor.cat
>>> /usr/share/virtio-win/drivers/i386/WinXP/viostor.inf
>>> /usr/share/virtio-win/drivers/i386/WinXP/viostor.sys
>>> /usr/share/virtio-win/guest-agent
>>> /usr/share/virtio-win/guest-agent/qemu-ga-x64.msi
>>> /usr/share/virtio-win/guest-agent/qemu-ga-x86.msi
>>> /usr/share/virtio-win/virtio-win-1.6.8.iso
>>> /usr/share/virtio-win/virtio-win-1.6.8_amd64.vfd
>>> /usr/share/virtio-win/virtio-win-1.6.8_x86.vfd
>>> /usr/share/virtio-win/virtio-win.iso
>>> /usr/share/virtio-win/virtio-win_amd64.vfd
>>> /usr/share/virtio-win/virtio-win_x86.vfd
>>>
>>>
>>>
>>> On Thu, Apr 17, 2014 at 4:31 PM, Jeremiah Jahn
>>> <jeremiah at goodinassociates.com> wrote:
>>>>
>>>> I'm getting the following error. RedHat seems to thin the answer is to
>>>> use their virtio-win rpm. As far as I can tell, this is not available
>>>> anywhere, So I've just got to go and get the iso that it installs from
>>>> kvm.org. Ok, done. now that I have said iso, where the heck do I put
>>>> it, since it doesn't seem to align with the structure that v2v is
>>>> looking for.
>>>>
>>>> virt-v2v: Installation failed because the following files referenced
>>>> in the configuration file are required, but missing:
>>>> /usr/share/virtio-win/drivers/i386/WinXP
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>


More information about the Users mailing list