From a9eed4e5353e507917d0d05d8f13a5b458c9cdb6 Mon Sep 17 00:00:00 2001 From: Heikki Halmet Date: Tue, 23 Nov 2021 11:14:04 +0200 Subject: Add instructions how to create Windows 11 image with Virtio drivers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9042667ed00ce6023168f501a2e695af3858780c Reviewed-by: Simo Fält --- ...create_windows-11_image_with_virtio_drivers.txt | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 coin/pre-provisioning/qtci-windows-11_21H2-x86_64/create_windows-11_image_with_virtio_drivers.txt diff --git a/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/create_windows-11_image_with_virtio_drivers.txt b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/create_windows-11_image_with_virtio_drivers.txt new file mode 100644 index 00000000..f026095f --- /dev/null +++ b/coin/pre-provisioning/qtci-windows-11_21H2-x86_64/create_windows-11_image_with_virtio_drivers.txt @@ -0,0 +1,42 @@ +# Create Windows 11 Tier1 image with Virtio drivers + +# Create Ubuntu 20.04 and install virt-manager: +Create e.g. Ubuntu 20.04 VM +Connect to machine and download the ISO-image and virtio-drivers (http://ci-files01-hki.intra.qt.io/input/windows/virtio/virtio-win-0.1.204.iso or https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.204-1/) +sudo apt update +sudo apt install virt-manager +sudo systemctl start libvirtd +sudo systemctl enable libvirtd +sudo reboot now + +# Start virt-manager and add configurations for Windows 11: +virt-manager +File - New virtual machine +Local install media - Select ISO-image - Unselect automatically detect and select 'Microsoft Windows server 2019' +Add memory and CPU +Disk space 550 +customize configuration before install +from virtual machine manager - edit - Preferences - Enable system tray icon and Enable XML editing +Overview: Firmware: UEFI x86_64: /usr/share/OVMF/OVMG_CODE.fd - Apply (chipset Q35) (i440FX UEFI) 4: UEFI-secboot +XML: Remove these two lines: + + + under these change 'no' to 'yes': +