blob: ead3a3646f305071eac1b18d0c7e2e87383edacb (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
#
# GRUB menu template for Slackware Live Edition
#
set default=0
set timeout=20
# Slackware Live defaults, can be changed in submenus:
if [ -z "$sl_kbd" ]; then
set sl_kbd="@KBD@"
export sl_kbd
fi
if [ -z "$sl_tz" ]; then
set sl_tz="@TZ@"
export sl_tz
fi
if [ -z "$sl_lang" ]; then
set sl_lang="@LANDSC@"
export sl_lang
fi
if [ -z "$sl_locale" ]; then
set sl_locale="@LOCALE@"
export sl_locale
fi
# Determine whether we can show a graphical themed menu:
insmod font
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
insmod gfxterm
insmod gfxmenu
terminal_output gfxterm
insmod gettext
insmod png
set theme=$prefix/theme/liveslak.txt
export theme
fi
menuentry "Start @CDISTRO@@DIRSUFFIX@ @SL_VERSION@ @LIVEDE@ liveslak-@VERSION@ ($sl_lang)" --hotkey b {
linux ($root)/boot/generic @KAPPEND@ load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=$sl_kbd tz=$sl_tz locale=$sl_locale xkb=$sl_xkb
initrd ($root)/boot/initrd.img
}
submenu "Non-@ULANG@ Keyboard selection" --hotkey k {
configfile $prefix/kbd.cfg
}
submenu "Non-@ULANG@ Language selection" --hotkey l {
configfile $prefix/lang.cfg
}
submenu "Non-@ULANG@ Timezone selection" --hotkey t {
configfile $prefix/tz.cfg
}
menuentry "Memory test with memtest86+" {
linux ($root)/boot/memtest
}
menuentry "Help on boot parameters" --hotkey h {
set pager=1
cat $prefix/help.txt
unset pager
}
@C2RMH@menuentry "Console OS in RAM ($sl_lang)" --hotkey c {
@C2RMH@ linux ($root)/boot/generic @KAPPEND@ load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=$sl_kbd tz=$sl_tz locale=$sl_locale xkb=$sl_xkb toram=core 3
@C2RMH@ initrd ($root)/boot/initrd.img
@C2RMH@}
|