Jump to content

win10 with ovmf not working


lixe

Recommended Posts

I've got a really strange problem when trying to install win10 using a ovmf vm:

 

It doesn't matter whether I use vnc or passthrough my gpu, every time I get asked to press a key, then the vm resets and freezes with the tianocore logo (I also can't enter the ovmf bios settings anymore). If I don't press a button, the efi shell launches. If I start the win10 installation from there (fs0: ...) I once again have to press a key and the vm once again resets and freezes. I've tried different topologies, win10 installation isos and so on...

 

win10 with seabios is working just fine, but I don't get it.

 

My system: ASUS CH6, R1700, Sapphire7950 (flashed with UEFI bios, definitely working since I see the boot screen when launching my macOS vm)

Link to comment

I don't see any smoking gun on my first look, some things to try just to see:

Try setting VM to OVMF with Q35 machine type... The default i440fx doesn't know about PCIe slots, and while it can translate everything down to PCI, it is not ideal...  OVMF is almost required for video card passthrough...

 

Try making sure "Compatibility Support Module" or CSM is disabled in your motherboard BIOS...  This will ensure that Unraid is booting in UEFI, and removes legacy BIOS issues from being a possibility...

 

Make sure that the AMD-Vi ( not just AMD-V ) is also enabled in your BIOS... Most likely it is, but double check...

 

Try cleaning up your your syslinux config, you have several devices that may be in the same IOMMU group as motherboard critical devices...  Try just disabling only devices absolutely needed to boot, for instance, I don't VFIO my passed through USB controller since all I have plugged into it is keyboards and such, no storage...  This has the benefit of letting me use those devices on the host when the VM is not booted...  On my Asus board, my sound card is linked to smbus controllers, and so causes problems when I try and pass it through...  See if removing all the manual edits and creating a VM with just VNC and see if that works...  If so just slowly add stuff back in until you find the one giving you trouble...

 

I give a 50%/50% shot that one of those helps you... Beyond that, you will probably need to know stuff about AMD boards that I don't know myself...

Link to comment

Thanks! It' working now :) CSM was set to Auto, changed it to Disabled.

 

First I thought it's still not working, then I created an Q35 machine, which also showed the TianoCore logo after pressing a key but quickly also showed a loading logo and some seconds later I was in the setup menu. I was then curious whether i440fx also works when waiting some time, yes it did! So I'm not sure whether I would have had to wait just a little bit longer before (because I maybe only saw the TianoCore logo instead of windows installation loading), but disabling CSM wasn't a bad idea at all I guess.

 

EDIT: Even though it looks kind of strange now...

Bildschirmfoto 2019-02-03 um 17.34.45.png

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...