From 710dea0bae3979d084021c910af3f53388e72603 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 10 Jan 2016 13:50:35 +0100 Subject: BIOS (syslinux) and UEFI (grub2) boot: enhance the experience. - generate the grub fonts (.pf2) ourselves instead of using the Slackware-provided grub font file. - expand the help text about the boot parameters. - show the liveslak version number in the boot menu. - remove the 'boot any OS' menu item in Grub because it never worked for me. - add a bit of Grub help text at the bottom of the screen. NOTES: - I do not like the way how I had to implement the Grub2 help menu, it is ugly. Perhaps the text artefacts and understrikes are caused by the fact that the grub console has to paint on top of the graphical boot menu? - In any case, the grub console (the black rectangle in the middle) has its coordinates hard-coded in the grub2 source so it is not configurable. - the grub fonts look better than in Beta3 but I am still not happy with them. Research on Grub boot menu enhancements done by Didier Spaier. --- grub.tpl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'grub.tpl') diff --git a/grub.tpl b/grub.tpl index 9652ff2..fb6a336 100644 --- a/grub.tpl +++ b/grub.tpl @@ -43,7 +43,7 @@ if loadfont $grubdir/theme/dejavusansmono12.pf2 ; then export theme fi -menuentry "Start Slackware@DIRSUFFIX@ @LIVEDE@ Live ($sl_lang)" --hotkey b { +menuentry "Start Slackware@DIRSUFFIX@ @SL_VERSION@ @LIVEDE@ Live @VERSION@ ($sl_lang)" --hotkey b { linux ($root)/boot/generic load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=$sl_kbd tz=$sl_tz locale=$sl_locale initrd ($root)/boot/initrd.img } @@ -60,11 +60,13 @@ submenu "Non-US Timezone selection" --hotkey t { configfile $grubdir/tz.cfg } -menuentry "Detect/boot any installed operating system" { - configfile $grubdir/osdetect.cfg -} - menuentry "Memory test with memtest86+" { linux ($root)/boot/memtest } +menuentry "Help on boot parameters" --hotkey h { + set pager=1 + cat $grubdir/help.txt + unset pager +} + -- cgit v1.2.3