aboutsummaryrefslogtreecommitdiff
path: root/docs/gnulinux/grub_cbfs.md
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:50:52 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:50:52 -0700
commitdd3a800d82e0b9a4f1a785d61fd17fa202cb0e2c (patch)
tree091cb7de98272ff37354fb4ebcd5a47b9e7180a1 /docs/gnulinux/grub_cbfs.md
parent14ac959780ab3dc09559a17d4c12b7fd3705be6f (diff)
downloadlibrebootfr-dd3a800d82e0b9a4f1a785d61fd17fa202cb0e2c.tar.gz
librebootfr-dd3a800d82e0b9a4f1a785d61fd17fa202cb0e2c.zip
I can escape good
Diffstat (limited to 'docs/gnulinux/grub_cbfs.md')
-rw-r--r--docs/gnulinux/grub_cbfs.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/gnulinux/grub_cbfs.md b/docs/gnulinux/grub_cbfs.md
index 14f0ef5b..e51912f0 100644
--- a/docs/gnulinux/grub_cbfs.md
+++ b/docs/gnulinux/grub_cbfs.md
@@ -130,7 +130,7 @@ image file is named *libreboot.rom*, so please make sure to adapt.
ROM images are included pre-compiled in libreboot. You can also dump
your current firmware, using flashrom:
- \$ sudo flashrom -p internal -r libreboot.rom
+ $ sudo flashrom -p internal -r libreboot.rom
# flashrom -p internal -r libreboot.rom
If you are told to specify the chip, add the option **-c {your chip}**
to the command, for example:
@@ -144,7 +144,7 @@ Extract grubtest.cfg from the ROM image {#extract_testconfig}
You can check the contents of the ROM image, inside CBFS:
- \$ cd .../libreboot\_util/cbfstool** \$ ./cbfstool libreboot.rom
+ $ cd .../libreboot\_util/cbfstool** \$ ./cbfstool libreboot.rom
print**
The files *grub.cfg* and *grubtest.cfg* should be present. grub.cfg is
@@ -154,7 +154,7 @@ reduce the possibility of bricking your device, so DO NOT SKIP THIS!
Extract grubtest.cfg from the ROM image:
- \$ ./cbfstool libreboot.rom extract -n grubtest.cfg -f grubtest.cfg
+ $ ./cbfstool libreboot.rom extract -n grubtest.cfg -f grubtest.cfg
Modify the grubtest.cfg accordingly.
@@ -166,7 +166,7 @@ Re-insert the modified grubtest.cfg into the ROM image {#reinsert_modified_testc
Once your grubtest.cfg is modified and saved, delete the unmodified
config from the ROM image:
- \$ ./cbfstool libreboot.rom remove -n grubtest.cfg
+ $ ./cbfstool libreboot.rom remove -n grubtest.cfg
Next, insert the modified version:
@@ -182,7 +182,7 @@ Testing
[../install/#flashrom](../install/#flashrom) for information on how to
flash it.
- \$ cd /libreboot\_util** # **./flash update libreboot.rom
+ $ cd /libreboot\_util** # **./flash update libreboot.rom
Ocassionally, coreboot changes the name of a given board. If flashrom
complains about a board mismatch, but you are sure that you chose the
correct ROM image, then run this alternative command:
@@ -220,11 +220,11 @@ grub.cfg**
Delete the grub.cfg that remained inside the ROM:
- \$ ./cbfstool libreboot.rom remove -n grub.cfg
+ $ ./cbfstool libreboot.rom remove -n grub.cfg
Add the modified version that you just made:
- \$ ./cbfstool libreboot.rom add -n grub.cfg -f grub.cfg -t raw
+ $ ./cbfstool libreboot.rom add -n grub.cfg -f grub.cfg -t raw
**Now you have a modified ROM. Again, refer back to
[../install/#flashrom](../install/#flashrom) for information on how to