virtio driver seems not work with a w2k12 VM

144 views
Skip to first unread message

Leonardo Massei

unread,
Mar 9, 2021, 5:06:26 AM3/9/21
to kubevirt-dev

Hi to all,
I've a problem during the installation from an w2k12_Server_r2 iso: I created a kubevirt
VM with the following disks:

...
devices:
          disks:
            - bootOrder: 1
              cdrom:
                bus: sata
              name: cdromiso
            - disk:
                bus: virtio
              name: harddrive

            - cdrom:
                bus: sata
              name: virtiocontainerdisk                
        machine:
          type: q35
...
        - name: cdromiso
          persistentVolumeClaim:
            claimName: iso-win-pvc
        - name: harddrive
          persistentVolumeClaim:
            claimName: windowshd
...

then I pushed the iso of the installation CD inside the PVC  named iso-win-pvc; when I run the machine the installation program starts but when come the window of the disk partitioning, the installation program shows the following warning:
<<Windows cannot be installed on the disc, your computer hardware may not support booting from this disc. Verify that the disk controller is enabled in the bios menu of the computer>>.

Before of this message I installed the driver from the "viostor folder" of the kubevirt/virtio-container-disk (virtio-win-0.1.1).

What did I do wrong?
Best Regards
Leonard

Mazzystr

unread,
Mar 9, 2021, 10:22:06 AM3/9/21
to Leonardo Massei, kubevirt-dev
MS Windows does not ship with virtio drivers therefore there is no storage controller in front of the hard drive.  This causes the installer to fail to see a hard drive to install the OS to.

You will need to add the virtio driver iso as a second hard drive then browse and add the drivers.

We have a nice blog that details the process

Thanks,
/Chris Callegari


--
You received this message because you are subscribed to the Google Groups "kubevirt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubevirt-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/c759ffb8-4757-429c-b1ab-f7407b587a4cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages