source /boot/grub/config.cfg # Live boot menuentry "My-distro Live" --hotkey=l { linux /live/vmlinuz boot=live components quiet splash findiso=${iso_path} initrd /live/initrd.img } menuentry "My-distro Live (fail-safe mode)" { linux /live/vmlinuz boot=live components memtest noapic noapm nodma nomce nolapic nosmp nosplash vga=788 initrd /live/initrd.img } submenu "My-distro Live with Localisation Support" { menuentry "Albanian (sq)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=sq_AL.UTF-8 keyboard-layouts=sq quiet splash initrd /live/initrd.img } menuentry "Amharic (am)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=am_ET keyboard-layouts=am quiet splash initrd /live/initrd.img } menuentry "Arabic (ar)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ar_EG.UTF-8 keyboard-layouts=ar quiet splash initrd /live/initrd.img } menuentry "Asturian (ast)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ast_ES.UTF-8 keyboard-layouts=ast quiet splash initrd /live/initrd.img } menuentry "Basque (eu)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=eu_ES.UTF-8 keyboard-layouts=eu quiet splash initrd /live/initrd.img } menuentry "Belarusian (be)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=be_BY.UTF-8 keyboard-layouts=be quiet splash initrd /live/initrd.img } menuentry "Bangla (bn)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=bn_BD keyboard-layouts=bn quiet splash initrd /live/initrd.img } menuentry "Bosnian (bs)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=bs_BA.UTF-8 keyboard-layouts=bs quiet splash initrd /live/initrd.img } menuentry "Bulgarian (bg)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=bg_BG.UTF-8 keyboard-layouts=bg quiet splash initrd /live/initrd.img } menuentry "Tibetan (bo)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=bo_IN keyboard-layouts=bo quiet splash initrd /live/initrd.img } menuentry "Catalan (ca)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ca_ES.UTF-8 keyboard-layouts=ca quiet splash initrd /live/initrd.img } menuentry "Chinese (Simplified) (zh_CN)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=zh_CN.UTF-8 keyboard-layouts=zh_CN quiet splash initrd /live/initrd.img } menuentry "Chinese (Traditional) (zh_TW)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=zh_TW.UTF-8 keyboard-layouts=zh_TW quiet splash initrd /live/initrd.img } menuentry "Croatian (hr)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=hr_HR.UTF-8 keyboard-layouts=hr quiet splash initrd /live/initrd.img } menuentry "Czech (cs)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=cs_CZ.UTF-8 keyboard-layouts=cs quiet splash initrd /live/initrd.img } menuentry "Danish (da)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=da_DK.UTF-8 keyboard-layouts=da quiet splash initrd /live/initrd.img } menuentry "Dutch (nl)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=nl_NL.UTF-8 keyboard-layouts=nl quiet splash initrd /live/initrd.img } menuentry "Dzongkha (dz)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=dz_BT keyboard-layouts=dz quiet splash initrd /live/initrd.img } menuentry "English (en)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=en_US.UTF-8 keyboard-layouts=en quiet splash initrd /live/initrd.img } menuentry "Esperanto (eo)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=eo.UTF-8 keyboard-layouts=eo quiet splash initrd /live/initrd.img } menuentry "Estonian (et)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=et_EE.UTF-8 keyboard-layouts=et quiet splash initrd /live/initrd.img } menuentry "Finnish (fi)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=fi_FI.UTF-8 keyboard-layouts=fi quiet splash initrd /live/initrd.img } menuentry "French (fr)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=fr_FR.UTF-8 keyboard-layouts=fr quiet splash initrd /live/initrd.img } menuentry "Galician (gl)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=gl_ES.UTF-8 keyboard-layouts=gl quiet splash initrd /live/initrd.img } menuentry "Georgian (ka)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ka_GE.UTF-8 keyboard-layouts=ka quiet splash initrd /live/initrd.img } menuentry "German (de)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=de_DE.UTF-8 keyboard-layouts=de quiet splash initrd /live/initrd.img } menuentry "Greek (el)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=el_GR.UTF-8 keyboard-layouts=el quiet splash initrd /live/initrd.img } menuentry "Gujarati (gu)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=gu_IN keyboard-layouts=gu quiet splash initrd /live/initrd.img } menuentry "Hebrew (he)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=he_IL.UTF-8 keyboard-layouts=he quiet splash initrd /live/initrd.img } menuentry "Hindi (hi)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=hi_IN keyboard-layouts=hi quiet splash initrd /live/initrd.img } menuentry "Hungarian (hu)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=hu_HU.UTF-8 keyboard-layouts=hu quiet splash initrd /live/initrd.img } menuentry "Icelandic (is)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=is_IS.UTF-8 keyboard-layouts=is quiet splash initrd /live/initrd.img } menuentry "Indonesian (id)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=id_ID.UTF-8 keyboard-layouts=id quiet splash initrd /live/initrd.img } menuentry "Irish (ga)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ga_IE.UTF-8 keyboard-layouts=ga quiet splash initrd /live/initrd.img } menuentry "Italian (it)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=it_IT.UTF-8 keyboard-layouts=it quiet splash initrd /live/initrd.img } menuentry "Japanese (ja)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ja_JP.UTF-8 keyboard-layouts=ja quiet splash initrd /live/initrd.img } menuentry "Kazakh (kk)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=kk_KZ.UTF-8 keyboard-layouts=kk quiet splash initrd /live/initrd.img } menuentry "Khmer (km)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=km_KH keyboard-layouts=km quiet splash initrd /live/initrd.img } menuentry "Kannada (kn)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=kn_IN keyboard-layouts=kn quiet splash initrd /live/initrd.img } menuentry "Korean (ko)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ko_KR.UTF-8 keyboard-layouts=ko quiet splash initrd /live/initrd.img } menuentry "Kurdish (ku)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ku_TR.UTF-8 keyboard-layouts=ku quiet splash initrd /live/initrd.img } menuentry "Lao (lo)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=lo_LA keyboard-layouts=lo quiet splash initrd /live/initrd.img } menuentry "Latvian (lv)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=lv_LV.UTF-8 keyboard-layouts=lv quiet splash initrd /live/initrd.img } menuentry "Lithuanian (lt)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=lt_LT.UTF-8 keyboard-layouts=lt quiet splash initrd /live/initrd.img } menuentry "Malayalam (ml)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ml_IN keyboard-layouts=ml quiet splash initrd /live/initrd.img } menuentry "Marathi (mr)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=mr_IN keyboard-layouts=mr quiet splash initrd /live/initrd.img } menuentry "Macedonian (mk)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=mk_MK.UTF-8 keyboard-layouts=mk quiet splash initrd /live/initrd.img } menuentry "Burmese (my)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=my_MM keyboard-layouts=my quiet splash initrd /live/initrd.img } menuentry "Nepali (ne)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ne_NP keyboard-layouts=ne quiet splash initrd /live/initrd.img } menuentry "Northern Sami (se_NO)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=se_NO keyboard-layouts=se_NO quiet splash initrd /live/initrd.img } menuentry "Norwegian Bokmaal (nb_NO)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=nb_NO.UTF-8 keyboard-layouts=nb_NO quiet splash initrd /live/initrd.img } menuentry "Norwegian Nynorsk (nn_NO)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=nn_NO.UTF-8 keyboard-layouts=nn_NO quiet splash initrd /live/initrd.img } menuentry "Persian (fa)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=fa_IR keyboard-layouts=fa quiet splash initrd /live/initrd.img } menuentry "Polish (pl)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=pl_PL.UTF-8 keyboard-layouts=pl quiet splash initrd /live/initrd.img } menuentry "Portuguese (pt)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=pt_PT.UTF-8 keyboard-layouts=pt quiet splash initrd /live/initrd.img } menuentry "Portuguese (Brazil) (pt_BR)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=pt_BR.UTF-8 keyboard-layouts=pt_BR quiet splash initrd /live/initrd.img } menuentry "Punjabi (Gurmukhi) (pa)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=pa_IN keyboard-layouts=pa quiet splash initrd /live/initrd.img } menuentry "Romanian (ro)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ro_RO.UTF-8 keyboard-layouts=ro quiet splash initrd /live/initrd.img } menuentry "Russian (ru)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ru_RU.UTF-8 keyboard-layouts=ru quiet splash initrd /live/initrd.img } menuentry "Sinhala (si)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=si_LK keyboard-layouts=si quiet splash initrd /live/initrd.img } menuentry "Serbian (Cyrillic) (sr)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=sr_RS keyboard-layouts=sr quiet splash initrd /live/initrd.img } menuentry "Slovak (sk)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=sk_SK.UTF-8 keyboard-layouts=sk quiet splash initrd /live/initrd.img } menuentry "Slovenian (sl)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=sl_SI.UTF-8 keyboard-layouts=sl quiet splash initrd /live/initrd.img } menuentry "Spanish (es)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=es_ES.UTF-8 keyboard-layouts=es quiet splash initrd /live/initrd.img } menuentry "Swedish (sv)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=sv_SE.UTF-8 keyboard-layouts=sv quiet splash initrd /live/initrd.img } menuentry "Tagalog (tl)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=tl_PH.UTF-8 keyboard-layouts=tl quiet splash initrd /live/initrd.img } menuentry "Tamil (ta)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ta_IN keyboard-layouts=ta quiet splash initrd /live/initrd.img } menuentry "Telugu (te)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=te_IN keyboard-layouts=te quiet splash initrd /live/initrd.img } menuentry "Tajik (tg)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=tg_TJ.UTF-8 keyboard-layouts=tg quiet splash initrd /live/initrd.img } menuentry "Thai (th)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=th_TH.UTF-8 keyboard-layouts=th quiet splash initrd /live/initrd.img } menuentry "Turkish (tr)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=tr_TR.UTF-8 keyboard-layouts=tr quiet splash initrd /live/initrd.img } menuentry "Uyghur (ug)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=ug_CN keyboard-layouts=ug quiet splash initrd /live/initrd.img } menuentry "Ukrainian (uk)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=uk_UA.UTF-8 keyboard-layouts=uk quiet splash initrd /live/initrd.img } menuentry "Vietnamese (vi)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=vi_VN keyboard-layouts=vi quiet splash initrd /live/initrd.img } menuentry "Welsh (cy)" { linux /live/vmlinuz boot=live components username=user hostname=My-distro locales=cy_GB.UTF-8 keyboard-layouts=cy quiet splash initrd /live/initrd.img } } ### Commented out till Persistence is working as expected. menuentry "Persistent My-distro" --hotkey=p { linux /live/vmlinuz boot=live components username=user hostname=My-distro quiet splash findiso=${iso_path} persistence initrd /live/initrd.img } ### Commented out till toram is working as expected. menuentry "My-distro loaded to RAM" --hotkey=t { linux /live/vmlinuz boot=live components username=user hostname=My-distro quiet splash findiso=${iso_path} toram initrd /live/initrd.img } # You can add more entries like this # menuentry "Alternate live boot" { # linux /live/vmlinuz boot=live components quiet splash findiso=${iso_path} custom options here # initrd /live/initrd.img # } # menuentry "Alternate graphical installer" { # linux /install/gtk/vmlinuz vga=788 --- quiet custom options here # initrd /install/gtk/initrd.gz # } # menuentry "Alternate textual installer" { # linux /install/vmlinuz vga=normal --- quiet custom options here # initrd /install/initrd.gz # } # Installer (if any) if true; then source /boot/grub/install_start.cfg submenu 'Advanced install options ...' --hotkey=a { source /boot/grub/theme.cfg source /boot/grub/install.cfg } fi submenu 'Utilities...' --hotkey=u { source /boot/grub/theme.cfg # Memtest (if any) if false; then source /boot/grub/memtest.cfg fi # Firmware setup (UEFI) if [ "${grub_platform}" = "efi" ]; then menuentry "UEFI Firmware Settings" { fwsetup } fi }