summaryrefslogtreecommitdiff
path: root/config/binary_burg/burg.cfg
blob: ed4981068899e44e8ed1f88332178d29e5985966 (plain)
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
set theme_name=kanotix
set gfxmode=640x480
set default="0"
set timeout=5

function lang_en {
  set lang_opt='utc=yes locales=en_US.UTF-8'
}
function lang_de {
  set lang_opt='utc=no timezone=Europe/Berlin locales=de_DE.UTF-8,en_US.UTF-8 keyboard-layouts=de keyboard-variants=nodeadkeys'
}
lang_de # default language

function select_language {
  menu_popup -t template_popup lang_menu
}
function select_resolution {
  if menu_popup -t template_popup resolution_menu ; then
    menu_reload_mode
    save_env gfxmode
  fi
}
if test -f ${prefix}/themes/${theme_name}/theme ; then
  insmod coreui
  menu_region.text
  load_string '+lang_menu { -English { command="lang_en" }}'
  load_string '+lang_menu { -German { command="lang_de" }}'
  load_config ${prefix}/themes/${theme_name}/theme
  insmod vbe
  insmod png
  insmod jpeg
  set gfxfont="Unifont Regular 16"
  menu_region.gfx
  vmenu resolution_menu
  controller.ext
fi
insmod gettext

menuentry 'Start Kanotix' --class kanotix --group main {
	echo	'Loading Linux ...'
	linux	/live/vmlinuz boot=live config ${lang_opt} quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/live/initrd.img
}

if test -d /gfxoverlay ; then
  menuentry 'Start Kanotix (gfxoverlay)' --class kanotix --group main {
	echo	'Loading Linux ...'
	linux	/live/vmlinuz boot=live config ${lang_opt} gfx=auto quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/live/initrd.img
  }
fi

menuentry 'Start Kanotix (failsafe)' --class kanotix --group main {
	echo	'Loading Linux ...'
	linux	/live/vmlinuz boot=live config ${lang_opt} quiet splash noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal
	echo	'Loading initial ramdisk ...'
	initrd	/live/initrd.img
}

menuentry 'Memtest86+' --class memtest --group main {
	linux16 /live/memtest
}