Applicable to:
- SolusVM 2
Question
How do you install the VirtIO driver for Windows from an ISO during the installation of the operating system?
Answer
1. Connect to the CR via SSH
2. Download an ISO with Virttio drivers to /var/lib/libvirt/images/
directory (https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md)
3. Open the VM's config file:
# virsh edit UUID
4. Add to the already existing block the one below:
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/virtio-win.iso'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<address type='drive' controller='0' bus='1' target='0' unit='0'/>
</disk>
/var/lib/libvirt/images/virtio-win.iso
- is a path where you downloaded the file. It can be different if you stored the iso in a different directory.
5. Restart the VM and continue the OS installation through VNC.
# virsh destroy UUID
# virsh start UUID
Comments
0 commentsPlease sign in to leave a comment.