diff options
author | Eric Hameleers <alien@slackware.com> | 2016-01-10 13:50:35 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2016-01-10 13:50:35 +0100 |
commit | 710dea0bae3979d084021c910af3f53388e72603 (patch) | |
tree | a803c4fc60931c0068b350741c48022b4fda2dd2 /grub.tpl | |
parent | 517c42b8aa7ef23d2f897aeb1e840dc0dca8d673 (diff) | |
download | liveslak-710dea0bae3979d084021c910af3f53388e72603.tar.gz liveslak-710dea0bae3979d084021c910af3f53388e72603.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | grub.tpl | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 +} + |