Closed kocoman1 closed 1 year ago
That utility can be ported to pure C fairly easily (as it was mostly ported from C by copy-pasting). It's not an issue of UEFITool though, so I will close this as N/A. Will ping you here when that port is ready.
@kocoman1, here, a single C file that should be buildable on any OS with a C compiler and libc (Linux, macOS, Windows, whatever): UEFIRomExtract.zip
Usage: download, unzip, run gcc UEFIRomExtract.c -o uefiromextract
, replace gcc
with clang
if your Linux distro uses it.
Tested locally on Ubuntu 23.03, worked for me (with minor compiler warnings that can be ignored).
Need it to compile for macOS, it run fine on monterey 12. https://forums.macrumors.com/threads/pre-opencore-gop-support-for-efi-era-imacs-and-mac-pros.2378942/
Install Xcode command line tools and compile it using the same command as described above.
can you make a uefiextract for uefi oprom? for linux? for example https://www.insanelymac.com/forum/topic/299627-uefi-option-rom-extractor-and-decompressor-v10/
i using it for the sas oracle/nynt/seagate f40/f80 warpdrive uefi oprom extraction for booting off its 100gb-128gb etc in tianocore where it doesn't run the uefi option rom but my windows install and osx install is always broken i prefer linux if possible.
thx