OVMF resetting on host reboot problem [resolved]


Recommended Posts

I have a working build with passthrough of four K6000's. Its awesome.

 

I had to go get the latest OVMF.fd from TianoCore because the baked in one with unRAID never seemed to work properly (OS would never boot, even when setting a boot device properly in the EFI menu).

 

I just replaced the /usr/share/qemu/ovmf-x64/OVMF-pure-efi.fd with the downloaded OVMF.fd (http://www.tianocore.org/ovmf/) and that way I dont have to re-edit the XML if I make changes to the VM via Dynamix.

 

Heres the problem:

When I reboot the host machine, the new /usr/share/qemu/ovmf-x64/OVMF-pure-efi.fd gets overwritten with the original unRAID version. This is a PITA, because then I have to go ssh in and recopy the newer version over top the unRAID shipped OVMF-pure-efi.fd.

Is there a way to override the unRAID OS from replacing the OVMF-pure-efi.fd on boot?

 

Thanks

Link to comment

I think you've got it a little backwards, /usr/* doesn't exist when the computer is turned off. It is extracted to RAM on every boot. So, it's not being overwritten, it just doesn't exist until unraid is booted.

 

Net result is the same as what you were thinking, you need to save your modified file on the flash (/boot) or disks (/mnt/disk*) and copy it to the /usr location with a copy command in the go file.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.