Windows 11 in Linux
Virt Manager | تنصيب ويندوز 11 داخل لينكس
Install Windows 11 in Virt Manager⚓︎
شرح كيفية تنصيب ويندوز 11 داخل لينكس كجهاز افتراضي، بواسطة تطبيق Virt Manager.
#more
Requirements⚓︎
- Download Windows 11 ISO
- Download VirtIO WIN ISO
- Install
swtpm
andedk2-ovmf
as shown below:
Fedora
sudo dnf install swtpm edk2-ovmf
Ubuntu
sudo apt install swtpm ovmf
Arch
sudo pacman -S swtpm edk2-ovmf
Creat new VM with⚓︎
- Create
qcow2
file (find out how) - Add Hardware TPM (Emulated - CRB - 2.0)
- Firmware to UEFI x86_64 with secure boot (OVMF_CODE.secboot.fd)
- Set Disk to
VirtIO
- Add 2nd cdrom with
virtio-win.iso
mounted - Set network card to
VirtIO
- Set Display to
Spice
- Set Video to
QXL
Boot the VM⚓︎
- Where do you want to install windows ?
- Click
Load driver
- Browse
- VirtIO CDrom
- amd64
- w11
- OK
- Next
- New
- Apply
- OK
- Next
- Click
Post Install⚓︎
- Shutdown the system and add new
Channel
to the VM withorg.qemu.guest_agent.0
as a Name and Device TypeUNIX socket (unix)
- Start the system and Install
virtio-win-guest-tools
from VirtIO ISO. - Restart