aboutsummaryrefslogtreecommitdiff
path: root/docs/grub
diff options
context:
space:
mode:
Diffstat (limited to 'docs/grub')
-rw-r--r--docs/grub/index.md30
1 files changed, 20 insertions, 10 deletions
diff --git a/docs/grub/index.md b/docs/grub/index.md
index 6b1eb7f8..d1fb6427 100644
--- a/docs/grub/index.md
+++ b/docs/grub/index.md
@@ -19,7 +19,8 @@ Changing the background image in GRUB {#grub_background}
Use cbfstool from libreboot\_util, or
libreboot\_src/coreboot/util/cbfstool/ if you want to build from source.
-./cbfstool yourrom.rom remove background.png -n background.png\
+./cbfstool yourrom.rom remove background.png -n background.png
+
./cbfstool yourrom.rom add -f background.png -n background.png -t raw
When you've done this, re-flash your ROM and you should have a new
@@ -48,20 +49,25 @@ This is a free font that is also contained in GNU+Linux distributions
like Debian, Devuan or Parabola.
$ cd libreboot\_src/grub
-compile grub (the build scripts info on how to do this)\
-come back out into libreboot\_src/resources/grub:\
+compile grub (the build scripts info on how to do this)
+
+come back out into libreboot\_src/resources/grub:
+
$ cd ../libreboot\_src/resources/grub/font
I took Dejavu Sans Mono from dejavu (included in this version of
-libreboot) and did:\
+libreboot) and did:
+
**$ ../../../grub/grub-mkfont -o dejavusansmono.pf2
dejavu-fonts-ttf-2.34/ttf/DejaVuSansMono.ttf**
I then added the instructions to 'gen.sh' script in grub-assemble to
include resources/grub/dejavusansmono.pf2 in all of the ROM images, at
-the root of the GRUB memdisk.\
+the root of the GRUB memdisk.
+
I then added that instructions to the grub.cfg files (to load the
-font):\
+font):
+
**loadfont (memdisk)/dejavusansmono.pf2**
@@ -76,10 +82,13 @@ Custom keyboard layout in GRUB (for reference) {#grub_custom_keyboard}
Keymaps are stored in resources/utilities/grub-assemble/keymap/.
-Example (French Azerty):\
+Example (French Azerty):
+
$ ckbcomp fr > frazerty
-\
-Go in grub directory:\
+
+
+Go in grub directory:
+
**cat frazerty | ./grub/grub-mklayout -o frazerty.gkb**
You must make sure that the files are named keymap and keymap.gkb (where
@@ -110,7 +119,8 @@ file was created
-Copyright © 2014 Leah Rowe <info@minifree.org>\
+Copyright © 2014 Leah Rowe <info@minifree.org>
+
Permission is granted to copy, distribute and/or modify this document
under the terms of the Creative Commons Attribution-ShareAlike 4.0
International license or any later version published by Creative