Hi lejeczek,
My research shows that error you encountered possibly means that the storage controller driver used during setup was available in WinPE but not automatically carried over into the installed OS. The “Windows 10‑style” setup path you mentioned copies a broader set of drivers into the target image, which is why it succeeds. WinPE can see the virtual disk because you injected VirtIO drivers there, but the installed Windows 11 image doesn’t automatically inherit them unless explicitly staged. The newer installer is stricter about which drivers it carries forward. The “legacy” (Windows 10‑like) path still stages them, but the modern one doesn’t.
The fix is to inject the VirtIO drivers into the offline Windows image with DISM before deployment, or continue using the “Windows 10” style installer which stages them automatically. You can try this instruction:
- Inject VirtIO drivers into the offline Windows image
Mount the install.wim (or install.esd) you’re deploying.
Use DISM to add the VirtIO storage drivers:
powershell
dism /Mount-Image /ImageFile:D:\sources\install.wim /Index:1 /MountDir:C:\Mount
dism /Image:C:\Mount /Add-Driver /Driver:D:\virtio\viostor\w11\amd64 /Recurse
dism /Unmount-Image /MountDir:C:\Mount /Commit
Replace paths with your actual VirtIO ISO driver locations.
- Confirm boot device type
If you’re using VirtIO SCSI or VirtIO Block, make sure the corresponding driver is injected.
For NVMe emulation, ensure the Windows 11 inbox NVMe driver is present (it usually is).
- Adjust QEMU/KVM settings
Use -device virtio-scsi-pci or -device virtio-blk-pci consistently.
Ensure the VM firmware (OVMF/UEFI) is up to date.
- Test with “Windows 10” installer mode
- As you noticed, the legacy installer path works because it stages more drivers. That’s a valid workaround, but injecting drivers properly makes the “Windows 11” path work too.
If you find this information useful to some extent, don't forget to accept the answer so that your experience with the issue would help contribute to the whole community. Thank you :)
Vivian