Introduction
There are some extra steps to be done for installing windows 11 guest on KVM. In this post, I will record all the steps I take.
Reference
I only put the essential steps in this story, please find the following link for more details and explanations — Learn from here
Set up
- Ubuntu 20.04
- i5-13600kf
Steps
Download windows 11 installation ISO from official channel.
Download virtio drivers - page link - download link
Install KVM on Ubuntu 20.04
### Install KVM $ sudo apt-get install qemu-kvm bridge-utils virt-manager libosinfo-bin -y ### Configure TPM and Secure-Boot $ sudo vim /etc/apt/sources.list # Put this line to the end of the file # deb [trusted=yes] http://ppa.launchpad.net/stefanberger/swtpm-focal/ubuntu focal main $ sudo apt-get update --allow-releaseinfo-change # If you see error: NO_PUBKEY, https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY> # install the tools $ sudo apt-get install swtpm-tools -y $ swtpm --version # install ovmf if that is not installed by default KVM installation $ sudo apt-get install ovmf
Updates for Ubuntu 24.04
Create the windows 11 VM.
Special configuration for windows 11 guest OS.
Prepare virtio drivers.
Start installation.
Download and install spice guest tool on the guest OS
Now you can resolution your guest OS and copy and paste from your host.
DONE









Comments
Post a Comment