Note these tools are built and ready [at](https://www.mirrorservice.org/sites/libreboot.org/release/stable/20160907/libreboot_r20160907_util.tar.xz) or similar.
#backup current rom
- sudo ./flashrom -p internal -r libreboot.rom
+ sudo ./flashrom -p internal -r my.rom
#Optional: remove old GRUB (test) config
- ./cbfstool libreboot.rom remove -n grubtest.cfg
+ ./cbfstool my.rom remove -n grubtest.cfg
#Optional: get the new GRUB (test) config into your ROM
- ./cbfstool libreboot.rom add -n grubtest.cfg -f grubtest.cfg -t raw
+ ./cbfstool my.rom add -n grubtest.cfg -f grubtest.cfg -t raw
#Optional: change background in GRUB menu (dest must be called background.png /jpg)
- #./cbfstool yourrom.rom remove background.png -n background.png
- #./cbfstool yourrom.rom add -f background.png -n background.png -t raw
-
- sudo ./flashrom -p internal -w libreboot.rom #updated image
+ #./cbfstool my.rom remove background.png -n background.png
+ #./cbfstool my.rom add -f background.png -n background.png -t raw
+
+ # Required.. If you use new ROM or haven't set MAC address before, this needs to be done!
+ # These instructions I took from Libreboot flash instructions, sorry if not complete instructions (used my.rom from Libreboot util archive)
+ #
+ #mv my.rom resources/utilities/ich9deblob/my.rom
+ #cd resources/utilities/ich9deblob/
+ #./ich9gen --macaddress "00:DE:AD:BE:EF:00" # SET A UNIQUE MAC ADDRESS HERE!!
+ #dd if=ich9fdgbe_8m.bin of=my.rom bs=1 count=12K conv=notrunc
+ #cd - && mv resources/utilities/ich9deblob/my.rom .
+
+ sudo ./flashrom -p internal -w my.rom #updated image
## OpenBSD guide