I looked it up and found a bunch of posts without clear answers or marked solutions. I installed Windows 11 on the drive normally with the USB installer and it boot fines, but don’t know how to use it for VM in virt-manager. I identified the drive with lsblk -d -o NAME,MODEL,ROTA.
- I added the PCI device as the 1st boot option.
- On a VM with UEFI, it says
Press ESC in 1 seconds to skip startup.nsh or any other key to continue, then shows aShell>prompt. - On a VM with BIOS, its stuck with the message
booting from hard disk ... - Am I supposed to turn ROM bar off? The errors are the same either way.
- On a VM with UEFI, it says
- I can’t create a storage volume for it, I tried the following options:
- Filesystem directory:
Error mounting /dev/nvme2n1p2" at [directory]: wrong fs type, bad option, bad superblock on /dev/nvme2n1p2, missing codepage for helper program, or other error. - Physical disk device:
Format of device /dev/nvme2n1 does not match the expected format 'dos'.
- Filesystem directory:
I tried the following kernel options: kernelParams = [ "vfio-pci.ids=1002:1640,1c5c:1327" "iommu=pt"]; and boot.extraModprobeConfig = "options vfio-pci ids=1002:1640,1c5c:1327";.