Commit 4ab439dd authored by Jonathan Carter's avatar Jonathan Carter
Browse files

Add correct grub.cfg

parent 833e6eac
if loadfont $prefix/font.pf2 ; then
set gfxmode=800x600
set gfxpayload=keep
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
insmod gfxterm
insmod png
terminal_output gfxterm
fi
insmod gfxterm
insmod iso9660
insmod png
set theme=($root)/boot/grub/themes/aims-desktop/theme.txt
export theme
set gfxmode=1920x1080x32,1440x900x32,1024x768x32,800x600x32,auto
set timeout_style=menu
set timeout=30
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_image /isolinux/splash.png; then
set color_normal=light-gray/black
set color_highlight=white/black
elif background_image /splash.png; then
set color_normal=light-gray/black
set color_highlight=white/black
if [ x"${grub_platform}" = xpc ] ; then
# BIOS
echo "We're booting AIMS Desktop on a PC platform!"
insmod vbe
insmod vga
insmod video_bochs
insmod video_fb
PLATFORM="Legacy PC Mode"
terminal_output gfxterm
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
# EFI
echo "We're booting AIMS Desktop on an EFI platform!"
set gfxmode=1920x1080x32,1440x900x32,1024x768x32,800x600x32,auto
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_fb
insmod gfxterm
insmod font
PLATFORM="UEFI"
terminal_output gfxterm
fi
insmod play
play 960 440 1 0 4 440 1
if [ ${iso_path} ] ; then
set loopback="findiso=${iso_path}"
fi
# Menu Entries
menuentry "Debian GNU/Linux Live (kernel 4.19.0-4-amd64)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components splash quiet "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
submenu "Debian Live with Localisation Support" {
menuentry "Albanian (sq)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=sq_AL.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Amharic (am)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=am_ET quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Arabic (ar)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ar_EG.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Asturian (ast)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ast_ES.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Basque (eu)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=eu_ES.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Belarusian (be)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=be_BY.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Bangla (bn)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=bn_BD quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Bosnian (bs)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=bs_BA.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Bulgarian (bg)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=bg_BG.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Tibetan (bo)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=bo_IN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "C (C)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=C quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Catalan (ca)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ca_ES.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Chinese (Simplified) (zh_CN)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=zh_CN.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Chinese (Traditional) (zh_TW)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=zh_TW.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Croatian (hr)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=hr_HR.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Czech (cs)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=cs_CZ.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Danish (da)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=da_DK.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Dutch (nl)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=nl_NL.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Dzongkha (dz)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=dz_BT quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "English (en)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=en_US.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Esperanto (eo)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=eo.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Estonian (et)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=et_EE.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Finnish (fi)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=fi_FI.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "French (fr)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=fr_FR.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Galician (gl)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=gl_ES.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Georgian (ka)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ka_GE.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "German (de)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=de_DE.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Greek (el)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=el_GR.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Gujarati (gu)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=gu_IN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Hebrew (he)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=he_IL.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Hindi (hi)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=hi_IN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Hungarian (hu)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=hu_HU.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Icelandic (is)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=is_IS.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Indonesian (id)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=id_ID.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Irish (ga)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ga_IE.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Italian (it)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=it_IT.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Japanese (ja)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ja_JP.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Kazakh (kk)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=kk_KZ.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Khmer (km)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=km_KH quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Kannada (kn)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=kn_IN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Korean (ko)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ko_KR.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Kurdish (ku)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ku_TR.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Lao (lo)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=lo_LA quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Latvian (lv)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=lv_LV.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Lithuanian (lt)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=lt_LT.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Malayalam (ml)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ml_IN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Marathi (mr)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=mr_IN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Macedonian (mk)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=mk_MK.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Burmese (my)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=my_MM quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Nepali (ne)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ne_NP quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Northern Sami (se_NO)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=se_NO quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Norwegian Bokmaal (nb_NO)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=nb_NO.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Norwegian Nynorsk (nn_NO)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=nn_NO.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Persian (fa)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=fa_IR quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Polish (pl)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=pl_PL.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Portuguese (pt)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=pt_PT.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Portuguese (Brazil) (pt_BR)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=pt_BR.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Punjabi (Gurmukhi) (pa)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=pa_IN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Romanian (ro)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ro_RO.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Russian (ru)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ru_RU.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Sinhala (si)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=si_LK quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Serbian (Cyrillic) (sr)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=sr_RS quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Slovak (sk)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=sk_SK.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Slovenian (sl)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=sl_SI.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Spanish (es)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=es_ES.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Swedish (sv)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=sv_SE.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Tagalog (tl)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=tl_PH.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Tamil (ta)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ta_IN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Telugu (te)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=te_IN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Tajik (tg)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=tg_TJ.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Thai (th)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=th_TH.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Turkish (tr)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=tr_TR.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Uyghur (ug)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=ug_CN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Ukrainian (uk)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=uk_UA.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Vietnamese (vi)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=vi_VN quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
}
menuentry "Welsh (cy)" {
linux /live/vmlinuz-4.19.0-4-amd64 boot=live components locales=cy_GB.UTF-8 quiet splash "${loopback}"
initrd /live/initrd.img-4.19.0-4-amd64
menuentry "AIMS Desktop Live/Install ($PLATFORM)" {
set gfxpayload=keep
echo "Booting AIMS Desktop live environment..."
linux /live/vmlinuz.efi boot=live quiet splash --
initrd /live/initrd.lz
}
menuentry "AIMS Desktop Advanced Installer" {
echo "Booting Advanced Installer (debian-installer)..."
linux /boot/d-i/vmlinuz quiet file=/cdrom/boot/d-i/aims-desktop.preseed --
initrd /boot/d-i/initrd.gz
}
menuentry "Graphical Debian Installer" {
linux /d-i/gtk/vmlinuz append video=vesa:ywrap,mtrr vga=788 "${loopback}"
initrd /d-i/gtk/initrd.gz
menuentry "Diagnostics: Check installation disk" {
echo "Booting media checker..."
set gfxpayload=keep
linux /live/vmlinuz.efi boot=live quiet splash checksums --
initrd /live/initrd.lz
}
menuentry "Debian Installer" {
linux /d-i/vmlinuz "${loopback}"
initrd /d-i/initrd.gz
menuentry "Diagnostics: Test memory" {
linux16 /boot/memtest86+.bin
}
menuentry "Debian Installer with Speech Synthesis" {
linux /d-i/gtk/vmlinuz speakup.synth=soft "${loopback}"
initrd /d-i/gtk/initrd.gz
menuentry "README" {
set pager=1
cat /README.txt
echo Press any key to continue...
read
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment