Hello,

Sorry to see virtio-win is not available in your Ubuntu distro. I tested a while back and the package was available, although I forget the version I used.
Anyway, it's no big deal, can easily be worked around.
So these are the files the RPM installs (as of 08-02-2024), they are basically drivers for Windows: https://pastebin.com/raw/WDH51ZYJ

I believe virt-v2v expects them in the same location, namely /usr/share/virtio-win. There are multiple ways to do this. Examples:

1 - convert the RPM into a deb package and install it:
# download the rpm
wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
# install "alien" which can convert rpms to debs
apt -y install alien
# the conversion, can take a while
alien -d virtio-win.noarch.rpm
# install the resulting deb
dpkg -i virtio-win*.deb

2 - download and extract the RPM contents
# download the rpm
wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.noarch.rpm
# install the required software to inspect rpm packages
sudo apt -y install rpm2cpio cpio
# create a working directory and cd into it
mkdir virtio-rpm
cd virtio-rpm
# extract
rpm2cpio ../virtio-win*.noarch.rpm | cpio -i --make-directories
# copy the files in the right place
sudo cp -av usr/share/* /usr/share/

You need to do this on every hypervisor you expect to be running virt-v2v.

HTH


On 2024-02-08 13:23, Cloudstack Users wrote:
OK, for those of us that are not that familiar with linux, can you please let me know how to get that from the ISO to an installer on the KVM host? Thank you.

From: Wei ZHOU <ustcweiz...@gmail.com>
Date: Thursday, February 8, 2024 at 8:14 AM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Re: Unable to find the virtio-win package
Hi,

you can download the ISO from
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/

-Wei

On Thu, 8 Feb 2024 at 14:10, Cloudstack Users
<cloudstack-us...@answersingenesis.org.invalid> wrote:

Hello,

We are trying to install the virtio-win drivers on our Ubuntu 22.04
installation for our KVM hosts. When we run the command as specified in the
documentation, we get an error.


https://docs.cloudstack.apache.org/en/latest/adminguide/virtual_machines.html#requirements-on-the-kvm-hosts

For Debian-based distributions:

apt install virtio-win

# apt install virtio-win
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package virtio-win

Does anyone know if it uses a different package name that we need to
install?


,

[Answers in Genesis]<https://answersingenesis.org/> [Creation Museum] < https://creationmuseum.org/><https://creationmuseum.org/%3e> [Ark Encounter] <https://arkencounter.com/>

Reply via email to