You can adjust the technical details (version, RAM, size) based on your actual build.
qemu-system-x86_64 \
-enable-kvm \
-m 2048 \
-cpu host \
-drive file=windows10-lite.qcow2,format=qcow2 \
-cdrom windows10-lite.iso \
-boot d \
-vga qxl \
-display spice-app
Pro-tip: Allocate only 2GB of RAM during installation. If the Lite OS installs on 2GB, it will fly on 4GB. Windows 10 Lite Qcow2
qemu-guest-agent for better shutdown and memory management.qemu-system-x86_64 \
-drive file=windows10-lite.qcow2,format=qcow2 \
-accel kvm \
-m 2048 \
-cpu host \
-net nic -net user \
-vga qxl
Host: Ubuntu 22.04, 4 vCPU, 8 GB RAM, NVMe SSD You can adjust the technical details (version, RAM,
| Metric | Stock Win10 | Win10 Lite (Tiny10) | |--------|-------------|----------------------| | Boot time (BIOS->Desktop) | 45 sec | 12 sec | | RAM after boot (2 GB assigned) | 1.8 GB used | 650 MB used | | CPU idle (%) | 3-8% | 0-2% | | Disk I/O (random read/write) | High | Moderate-Low | | Shutdown time | 15 sec | 4 sec | | Installed size (compact) | 18 GB | 4.2 GB | Step 3: Install Windows 10 Lite via QEMU/KVM
VirtualBox does not natively support Qcow2. You must convert it:
qemu-img convert -f qcow2 windows10-lite.qcow2 -O vdi windows10-lite.vdi
Then use the VDI in VirtualBox.
qemu-img convert -c -O qcow2 windows10-lite.qcow2 windows10-lite-compressed.qcow2