工具安装
apt get install git make gcc build-essential git clone https://github.com/awilliam/rom-parser cd rom-parser make
测试UEFI (OVMF)支持情况,请注意把0000:01:00.0替换为自己的显卡id
cd /sys/bus/pci/devices/0000:01:00.0/ echo 1 > rom cat rom > /tmp/image.rom echo 0 > rom mv /tmp/image.rom /root/rom-parser/ cd /root/rom-parser/ ./rom-parser image.rom