Skip to content

Instantly share code, notes, and snippets.

@omerfsen
Last active February 20, 2023 18:45
Show Gist options
  • Save omerfsen/9155fe3ac9b1eb453bbb725ca54ab2e1 to your computer and use it in GitHub Desktop.
Save omerfsen/9155fe3ac9b1eb453bbb725ca54ab2e1 to your computer and use it in GitHub Desktop.
Install Tiny11 on KVM
This following command is for Ubuntu 22.04 LTS
Do not forget to download virtio-win driver from
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.229-1/virtio-win-0.1.229.iso
And issue command. Do not forget to load Red Hat VirtIO disk driver on disk editing page of Win11 installer as by default it does not see disks
virt-install \
--name Golden_Tiny_11 \
--ram 10000 \
--disk path=/data/vms2/Golden_Tiny_11.qcow2,size=70,bus=virtio \
--disk /data/iso/Microsoft/tiny11/virtio-win-0.1.229.iso,device=cdrom,bus=sata \
--cpu host-passthrough \
--vcpus=4 \
--os-variant=win10 \
--network default,model=virtio \
--graphics vnc \
--video virtio \
--cdrom /data/iso/Microsoft/tiny11/tiny11_b2.iso \
--features kvm_hidden=on,smm=on \
--tpm backend.type=emulator,backend.version=2.0,model=tpm-tis \
--boot loader=/usr/share/OVMF/OVMF_CODE.secboot.fd,loader_ro=yes,loader_type=pflash,nvram_template=/usr/share/OVMF/OVMF_VARS.ms.fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment