summaryrefslogtreecommitdiffstats
path: root/grub.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-02-15 00:17:45 +0100
committer Eric Hameleers <alien@slackware.com>2019-02-15 00:17:45 +0100
commit515e3b20c67bb563e3d2568da102892abcd64c12 (patch)
tree3bffa35da067f48edd97ee0a877f0dce86df1d14 /grub.tpl
parent9bd08fe8b021689f3b422b1fe3c37e72612ed440 (diff)
downloadliveslak-515e3b20c67bb563e3d2568da102892abcd64c12.tar.gz
liveslak-515e3b20c67bb563e3d2568da102892abcd64c12.tar.xz
Fix PXE boot. Fix pxeserver. Add support for PXE-booting UEFI-based PC's
Note that UEFI PXE-boot is not yet working, I do not know why.
Diffstat (limited to 'grub.tpl')
-rw-r--r--grub.tpl21
1 files changed, 9 insertions, 12 deletions
diff --git a/grub.tpl b/grub.tpl
index bc3a780..6b28e0f 100644
--- a/grub.tpl
+++ b/grub.tpl
@@ -1,9 +1,6 @@
#
# GRUB menu template for Slackware Live Edition
#
-set grubdir="($root)/EFI/BOOT"
-export grubdir
-
set default=0
set timeout=20
@@ -27,10 +24,10 @@ fi
# Determine whether we can show a graphical themed menu:
insmod font
-if loadfont $grubdir/theme/dejavusansmono12.pf2 ; then
- loadfont $grubdir/theme/dejavusansmono10.pf2
- loadfont $grubdir/theme/dejavusansmono5.pf2
- set gfxmode=auto,640x480
+if loadfont $prefix/theme/dejavusansmono12.pf2 ; then
+ loadfont $prefix/theme/dejavusansmono10.pf2
+ loadfont $prefix/theme/dejavusansmono5.pf2
+ set gfxmode=1024x768,800x600,640x480,auto
export gfxmode
# (U)EFI requirement: must support all_video:
insmod all_video
@@ -39,7 +36,7 @@ if loadfont $grubdir/theme/dejavusansmono12.pf2 ; then
terminal_output gfxterm
insmod gettext
insmod png
- set theme=$grubdir/theme/liveslak.txt
+ set theme=$prefix/theme/liveslak.txt
export theme
fi
@@ -49,15 +46,15 @@ menuentry "Start @CDISTRO@@DIRSUFFIX@ @SL_VERSION@ @LIVEDE@ Live @VERSION@ ($sl_
}
submenu "Non-@ULANG@ Keyboard selection" --hotkey k {
- configfile $grubdir/kbd.cfg
+ configfile $prefix/kbd.cfg
}
submenu "Non-@ULANG@ Language selection" --hotkey l {
- configfile $grubdir/lang.cfg
+ configfile $prefix/lang.cfg
}
submenu "Non-@ULANG@ Timezone selection" --hotkey t {
- configfile $grubdir/tz.cfg
+ configfile $prefix/tz.cfg
}
menuentry "Memory test with memtest86+" {
@@ -66,7 +63,7 @@ menuentry "Memory test with memtest86+" {
menuentry "Help on boot parameters" --hotkey h {
set pager=1
- cat $grubdir/help.txt
+ cat $prefix/help.txt
unset pager
}