aboutsummaryrefslogtreecommitdiff
path: root/projects/grub/install/vesafb/grub.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'projects/grub/install/vesafb/grub.cfg')
-rw-r--r--projects/grub/install/vesafb/grub.cfg19
1 files changed, 7 insertions, 12 deletions
diff --git a/projects/grub/install/vesafb/grub.cfg b/projects/grub/install/vesafb/grub.cfg
index e057e88b..f61e2684 100644
--- a/projects/grub/install/vesafb/grub.cfg
+++ b/projects/grub/install/vesafb/grub.cfg
@@ -1,5 +1,3 @@
-set prefix=(memdisk)/boot/grub
-
insmod nativedisk
insmod ehci
insmod ohci
@@ -17,20 +15,17 @@ terminal_input --append serial
terminal_output --append serial
terminal_input --append at_keyboard
terminal_output --append cbmemc
-
-gfxpayload=keep
terminal_output --append gfxterm
-# Prettify GRUB
-background_image (cbfsdisk)/background.png
-loadfont (cbfsdisk)/dejavusansmono.pf2
+load_env --file (cbfsdisk)/grubenv
-# Default to first option, automatically boot after 1 second
-set default="0"
-set timeout=1
+# User's preferred keyboard layout
+if [ -n "${keymap}" ]; then
+ keymap "${keymap}"
+fi
-# This is useful when using 'cat' on long files on GRUB terminal
-set pager=1
+# Prettify GRUB
+background_image "${gfxterm_background}"
function try_user_config {
set root="${1}"