ipaqmaster / vfio

A script for easy pci and usb passthrough along with disks, iso's and other useful flags for quick tinkering with less of a headache. I use it for VM gaming and other PCI/LiveCD/PXE/VM/RawImage testing given the script's accessibility.
GNU General Public License v3.0
189 stars 11 forks source link

path /usr/share/ovmf/x64/OVMF_CODE.fd is wrong #5

Closed Marietto2008 closed 3 years ago

Marietto2008 commented 3 years ago

-bios not specified and couldn't find default '/usr/share/ovmf/x64/OVMF_CODE.fd'. Please install OVMF or set your .fd file with the -bios argument

root@loziomario-Z390-AORUS-PRO:/home/loziomario/Scrivania/new-passT/ipaqmaster# find / -name OVMF_CODE.fd /usr/share/OVMF/OVMF_CODE.fd

folder /usr/share/ovmf/x64/OVMF_CODE.fd is wrong and should be changed with the new one : /usr/share/OVMF/OVMF_CODE.fd

ipaqmaster commented 3 years ago

This script was designed for Archlinux in where that is the correct path. You'll need to use -bios and plug the path in for your OVMF_CODE.fd.

While planned, I haven't added multiple check paths or a dynamic path finding section yet. I may just replace the hard-coded one with something like your find command example or something as more flexible anyway. But I'd probably want to write that to some untracked temporary config file so it doesn't have to run find every run and there's probably edge cases to be considered where a plain find run may have multiple results or other problems distro to distro.

For the time being you'll need to use the -bios flag with the path to your OVMF so it continues to run, but making it more dynamic is on my mind.

Marietto2008 commented 3 years ago

I have the same goal as you and also a project in my mind. maybe we can cooperate. for the moment Im trying to understand how much your method is different from "mine".

ipaqmaster commented 3 years ago

A lot of the things you've mentioned are just distribution differences. I'll need to add support for Ubuntu to the script once I have some time.