Kicou

Libvirt

#Windows #Linux #KVM #Libvirt

This procedure has been tested in Arch Linux. Other distributions may have slightly different package requirements or naming conventions.

Required packages

  • swtpm — provides TPM 2.0
  • edk2-ovmf — provides EFI/Secureboot filesystem image

ISO images needed

Extract Windows OEM product key from host system

If the system was shipped with a pre-installed Windows OS, it has the Windows licencing information in BIOS

$ sudo strings /sys/firmware/acpi/tables/MSDM
MSDMU
TLENOVOTP-N32  p
PTEC
AAAA1-AAAAA-AAAA1-1A1AA-11AA1 ← not my real product key

The last line is the product key

Read more...