diff options
Diffstat (limited to 'docs/gnulinux/grub_cbfs.md')
-rw-r--r-- | docs/gnulinux/grub_cbfs.md | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/gnulinux/grub_cbfs.md b/docs/gnulinux/grub_cbfs.md index 9eb55c27..7b7c4cf3 100644 --- a/docs/gnulinux/grub_cbfs.md +++ b/docs/gnulinux/grub_cbfs.md @@ -52,7 +52,7 @@ Introduction Download the latest release from <http://libreboot.org/>\ **If you downloaded from git, refer to -[../git/\#build\_meta](../git/#build_meta) before continuing.** +[../git/#build\_meta](../git/#build_meta) before continuing.** [Back to top of page.](#pagetop) @@ -94,8 +94,8 @@ coreboot payload) that is located in a partition on the main storage. If you want to adapt a copy of the existing *libreboot* GRUB configuration and use that for the libreboot\_grub.cfg file, then follow -[\#tools](#tools), [\#rom](#rom) and -[\#extract\_testconfig](#extract_testconfig) to get the +[#tools](#tools), [\#rom](#rom) and +[#extract\_testconfig](#extract_testconfig) to get the ***grubtest.cfg***. Rename ***grubtest.cfg*** to ***libreboot\_grub.cfg*** and save it to ***/boot/grub/*** on the running system where it is intended to be used. Modify the file at that @@ -123,9 +123,9 @@ Acquire the necessary utilities {#tools} Use ***cbfstool*** and ***flashrom***. There are available in the *libreboot\_util* release archive, or they can be compiled (see -[../git/\#build\_flashrom](../git/#build_flashrom)). Flashrom is also +[../git/#build\_flashrom](../git/#build_flashrom)). Flashrom is also available from the repositories:\ -\# **pacman -S flashrom** +# **pacman -S flashrom** [Back to top of page.](#pagetop) @@ -141,11 +141,11 @@ 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 -\# 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:\ -\# **flashrom -c MX25L6405 -p internal -r libreboot.rom** +# **flashrom -c MX25L6405 -p internal -r libreboot.rom** [Back to top of page.](#pagetop) @@ -191,13 +191,13 @@ Testing ------- **Now you have a modified ROM. Refer back to -[../install/\#flashrom](../install/#flashrom) for information on how to +[../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:\ -\# ./flash forceupdate libreboot.rom + # ./flash forceupdate libreboot.rom You should see **"Verifying flash\... VERIFIED."** written at the end of the flashrom output. Once you have done that, shut down and then boot up with your new test configuration.** @@ -236,7 +236,7 @@ Add the modified version that you just made:\ **$ ./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 +[../install/#flashrom](../install/#flashrom) for information on how to flash it. It's the same method as you used before. Shut down and then boot up with your new configuration.** |