Skip to content

Instantly share code, notes, and snippets.

@theking2
Last active March 6, 2026 16:41
Show Gist options
  • Select an option

  • Save theking2/7ec29b318287f385215c61faf9714291 to your computer and use it in GitHub Desktop.

Select an option

Save theking2/7ec29b318287f385215c61faf9714291 to your computer and use it in GitHub Desktop.
Install Win11 on virtio scsi with kmu

Virtio DISK 1

<disk type="file" device="disk">
  <driver name="qemu" type="qcow2" cache="unsafe" discard="unmap"/>
  <source file="/var/lib/libvirt/images/win11.qcow2" index="3"/>
  <backingStore/>
  <target dev="vda" bus="virtio"/>
  <alias name="virtio-disk0"/>
  <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
</disk>

SATA CDROM 1

<disk type="file" device="cdrom">
  <driver name="qemu" type="raw"/>
  <source file="/var/lib/libvirt/Windows11_de.iso" index="2"/>
  <backingStore/>
  <target dev="sdb" bus="sata"/>
  <readonly/>
  <alias name="sata0-0-1"/>
  <address type="drive" controller="0" bus="0" target="0" unit="1"/>
</disk>

SATA CDROM 2

<disk type="file" device="cdrom">
  <driver name="qemu" type="raw"/>
  <source file="/var/lib/libvirt/virtio-win-0.1.285.iso" index="1"/>
  <backingStore/>
  <target dev="sdc" bus="sata"/>
  <readonly/>
  <alias name="sata0-0-2"/>
  <address type="drive" controller="0" bus="0" target="0" unit="2"/>
</disk>

During setup load the proper drivers from the virtio

Shift+F10

cd oobe
bypassrno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment