MegaRAID SAS 8708EM2 emulation no longer boots under OVMF/UEFI after PVE 8 upgrade
Hi everyone,
I'm running into the classic "No Mapping found" / "No bootable device" issue in the UEFI shell when using the emulated MegaRAID SAS 8708EM2 controller (scsihw: megasas) with q35 + OVMF + Windows 11 guest.
After a lot of testing and digging through old threads, here's what I found about when/why it broke.
When did it stop working?
- Worked fine in Proxmox VE 7.x (especially 7.3 / 7.4 and earlier)
- Broke during / after upgrade to Proxmox VE 8.0 (released June 2023)
- Still broken in all 8.x versions (including latest 8.3+ as of 2026)
First big wave of reports appeared around mid-2024 after people upgraded from 7→8, and the problem has not been fixed upstream.
Exact cause
PVE 8 upgraded the underlying base from Debian 11 (Bullseye) → Debian 12 (Bookworm), which pulled in:
- Newer QEMU (from ~7.2 → 8.0+ / 9.x series)
- Newer pve-edk2-firmware / OVMF (edk2 builds from 2023+)
The newer OVMF no longer properly enumerates / maps disks attached to the legacy megasas emulation during UEFI firmware stage. You can still see the disk during Windows install (OS driver loads fine), but OVMF itself drops to shell with "No Mapping found" because it can't find the EFI partition/bootloader on the MegaRAID-attached disk.
Tried forcing older OVMF versions (3.20210831, 3.20220526, etc.) via custom pflash args — no reliable fix. The interaction is too tied to current QEMU behavior.
Questions for the community
- Has anyone found a patched QEMU or custom OVMF that actually makes megasas bootable under UEFI in PVE 8/9?
- Any other controllers (pvscsi, lsi, etc.) that spoof "RAID-like" hardware better without the boot bug?
Thanks for any input — this has been driving me crazy.
deep research, maybe some one can try
this way? ))
I haven’t tried it myself, but I did fork the repository and used AI to translate everything into English:
https://github.com/jaminmc/pve-emu-realpc.
It makes significant changes to Proxmox, so if you’re using it for anything beyond gaming, proceed with caution.
I’m curious—if you created a Proxmox VM, passed through your hardware to that VM, applied the modifications, and then ran your Windows VM through it, it might use more storage and RAM, but it would be safer than risking your main Proxmox installation. That said, it appears you can uninstall the custom .deb packages this tool creates.