cd /sys/bus/pci/devices/0000:01:05.0 sudo sh -c "echo 1 > rom" sudo sh -c "cat rom > ~/bios.rom" Something like that should do the trick, just change the pciid