From de9f9a9ebe46e41460f594d515363d950a468d5a Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 14:52:25 +0400 Subject: [PATCH 01/11] Add support for ArchEX Linux --- mbusb.d/exton.d/archex-generic64.cfg | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 mbusb.d/exton.d/archex-generic64.cfg diff --git a/mbusb.d/exton.d/archex-generic64.cfg b/mbusb.d/exton.d/archex-generic64.cfg new file mode 100644 index 00000000..f2a37a99 --- /dev/null +++ b/mbusb.d/exton.d/archex-generic64.cfg @@ -0,0 +1,35 @@ +for isofile in $isopath/archex-64bit-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + probe --label --set=cd_label (loop) + menuentry "Boot ArchEX (x86_64)" { + bootoptions="img_dev=$imgdevpath img_loop=$iso_path earlymodules=loop archisobasedir=arch archisolabel=$cd_label" + linux (loop)/arch/boot/x86_64/vmlinuz $bootoptions + initrd (loop)/arch/boot/intel_ucode.img (loop)/arch/boot/x86_64/archiso.img + } + menuentry "Boot ArchEX (x86_64) (NBD)" { + bootoptions="img_dev=$imgdevpath img_loop=$iso_path earlymodules=loop archisobasedir=arch archisolabel=$cd_label archiso_nbd_srv=${pxeserver}" + linux (loop)/arch/boot/x86_64/vmlinuz $bootoptions + initrd (loop)/arch/boot/intel_ucode.img (loop)/arch/boot/x86_64/archiso.img + } + menuentry "Boot ArchEX (x86_64) (NFS)" { + bootoptions="img_dev=$imgdevpath img_loop=$iso_path earlymodules=loop archisobasedir=arch archisolabel=$cd_label archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt" + linux (loop)/arch/boot/x86_64/vmlinuz $bootoptions + initrd (loop)/arch/boot/intel_ucode.img (loop)/arch/boot/x86_64/archiso.img + } + menuentry "Boot ArchEX (x86_64) (HTTP)" { + bootoptions="img_dev=$imgdevpath img_loop=$iso_path earlymodules=loop archisobasedir=arch archiso_http_srv=http://${pxeserver}/" + linux (loop)/arch/boot/x86_64/vmlinuz $bootoptions + initrd (loop)/arch/boot/intel_ucode.img (loop)/arch/boot/x86_64/archiso.img + } + menuentry "Run Memtest86+ (RAM test)" { + bootoptions="" + linux16 (loop)/arch/boot/memtest $bootoptions + } + } + fi +done + From 98822eb620d4f36f0b94dad036234148cc2b5874 Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 14:54:18 +0400 Subject: [PATCH 02/11] Add support for DebEX Barebone Linux --- mbusb.d/exton.d/debex-generic.cfg | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 mbusb.d/exton.d/debex-generic.cfg diff --git a/mbusb.d/exton.d/debex-generic.cfg b/mbusb.d/exton.d/debex-generic.cfg new file mode 100644 index 00000000..c40f6519 --- /dev/null +++ b/mbusb.d/exton.d/debex-generic.cfg @@ -0,0 +1,34 @@ +for isofile in $isopath/debex-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "DebEX (default)" { + bootoptions="findiso=$iso_path boot=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "DebEX (text-mode)" { + bootoptions="findiso=$iso_path boot=live 3" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "DebEX (load to RAM)" { + bootoptions="findiso=$iso_path boot=live toram" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "DebEX (failsafe)" { + bootoptions="findiso=$iso_path boot=live noapic noapm nodma nomce nolapic nosmp forcepae nomodeset vga=normal" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Memory test" { + bootoptions="" + linux16 (loop)/live/memtest $bootoptions + } + } + fi +done + From 5d48796d067bbd8e10aed1b79d5fe196a29aea21 Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 14:55:44 +0400 Subject: [PATCH 03/11] Add support for Debian PIXEL Exton --- .../exton.d/debian-pixel-exton-generic.cfg | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 mbusb.d/exton.d/debian-pixel-exton-generic.cfg diff --git a/mbusb.d/exton.d/debian-pixel-exton-generic.cfg b/mbusb.d/exton.d/debian-pixel-exton-generic.cfg new file mode 100644 index 00000000..62d5a23b --- /dev/null +++ b/mbusb.d/exton.d/debian-pixel-exton-generic.cfg @@ -0,0 +1,39 @@ +for isofile in $isopath/debian-*-pixel-exton-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "Debian-Pixel-EXTON (default)" { + bootoptions="findiso=$iso_path boot=live username=pi" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Debian-Pixel-EXTON (text-mode)" { + bootoptions="findiso=$iso_path boot=live 3 username=pi" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Debian-Pixel-EXTON (nomodeset)" { + bootoptions="findiso=$iso_path boot=live nomodeset username=pi" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Debian-Pixel-EXTON (load to RAM)" { + bootoptions="findiso=$iso_path boot=live toram username=pi" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Debian-Pixel-EXTON (no probe)" { + bootoptions="findiso=$iso_path boot=live noapic noapm nodma nomce nolapic nosmp vga=normal username=pi" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Memory test" { + bootoptions="" + linux16 (loop)/live/memtest $bootoptions + } + } + fi +done + From d9ef99807df92b867864dc1125f8bd0ebc668c2f Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 14:57:48 +0400 Subject: [PATCH 04/11] Add support for exGENT Linux --- mbusb.d/exton.d/exgent-generic64.cfg | 1108 ++++++++++++++++++++++++++ 1 file changed, 1108 insertions(+) create mode 100644 mbusb.d/exton.d/exgent-generic64.cfg diff --git a/mbusb.d/exton.d/exgent-generic64.cfg b/mbusb.d/exton.d/exgent-generic64.cfg new file mode 100644 index 00000000..3b46e742 --- /dev/null +++ b/mbusb.d/exton.d/exgent-generic64.cfg @@ -0,0 +1,1108 @@ +for isofile in $isopath/exgent-gentoo-64bit-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry 'exGENT 2017 amd64' { + set gfxpayload=keep + echo "Language: $bootlang" + echo "Keyboard: $bootkeymap" + echo 'Loading amd64 4.9.12-aufs-gentoo-exton kernel' + bootoptions="isoboot=$iso_path root=/dev/ram0 init=/usr/lib/systemd/systemd aufs looptype=squashfs loop=/image.squashfs cdroot vconsole.keymap=$bootkeymap locale=$bootlang $modeset_opt $nox $acpi_opt console=tty1 --" + linux (loop)/isolinux/gentoo $bootoptions + echo 'Loading initial ramdisk ...' + initrd (loop)/isolinux/gentoo.xz + } + submenu 'Advanced Options' { + submenu 'Boot Options' --class advanced { + menuentry 'Console mode (no Desktop)' --class term { + echo 'Please wait...' + set nox="nox" + export nox + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Disable Kernel Mode Setting (KMS)' { + echo 'Disabling Kernel Mode Setting...' + set modeset_opt="nomodeset" + export modeset_opt + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Disable ACPI' { + echo 'Disabling ACPI...' + set acpi_opt="noacpi acpi=off" + export acpi_opt + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Disable EFI' { + echo 'Disabling EFI...' + set noefi_opt="noefi" + export noefi_opt + configfile (loop)/boot/grub/grub.cfg + } + } + submenu 'Language Selection' { + menuentry 'Amharic' { + echo 'Switching to: $chosen' + set lang=am_ET + set bootlang=am_ET + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Arabic' { + echo 'Switching to: $chosen' + set lang=ar_EG + set bootlang=ar_EG + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Asturianu' { + echo 'Switching to: $chosen' + set lang=ast_ES + set bootlang=ast_ES + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Беларуская' { + echo 'Switching to: $chosen' + set lang=be_BY + set bootlang=be_BY + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Български' { + echo 'Switching to: $chosen' + set lang=bg_BG + set bootlang=bg_BG + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Bengali' { + echo 'Switching to: $chosen' + set lang=bn_BD + set bootlang=bn_BD + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Bosanski' { + echo 'Switching to: $chosen' + set lang=bs_BA + set bootlang=bs_BA + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Català' { + echo 'Switching to: $chosen' + set lang=ca_ES + set bootlang=ca_ES + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Čeština' { + echo 'Switching to: $chosen' + set lang=cs_CZ + set bootlang=cs_CZ + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Cymraeg' { + echo 'Switching to: $chosen' + set lang=cy_GB + set bootlang=cy_GB + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Dansk' { + echo 'Switching to: $chosen' + set lang=da_DK + set bootlang=da_DK + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Deutsch' { + echo 'Switching to: $chosen' + set lang=de_DE + set bootlang=de_DE + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Dzongkha' { + echo 'Switching to: $chosen' + set lang=dz_BT + set bootlang=dz_BT + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Ελληνικά' { + echo 'Switching to: $chosen' + set lang=el_GR + set bootlang=el_GR + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'English' { + echo 'Switching to: $chosen' + set lang=en_US + set bootlang=en_US + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Esperanto' { + echo 'Switching to: $chosen' + set lang=eo + set bootlang=eo + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Español' { + echo 'Switching to: $chosen' + set lang=es_ES + set bootlang=es_ES + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Eesti' { + echo 'Switching to: $chosen' + set lang=et_EE + set bootlang=et_EE + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Euskara' { + echo 'Switching to: $chosen' + set lang=eu_ES + set bootlang=eu_ES + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Suomi' { + echo 'Switching to: $chosen' + set lang=fi_FI + set bootlang=fi_FI + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Français' { + echo 'Switching to: $chosen' + set lang=fr_FR + set bootlang=fr_FR + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Gaeilge' { + echo 'Switching to: $chosen' + set lang=ga_IE + set bootlang=ga_IE + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Galego' { + echo 'Switching to: $chosen' + set lang=gl_ES + set bootlang=gl_ES + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Gujarati' { + echo 'Switching to: $chosen' + set lang=gu_IN + set bootlang=gu_IN + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'תירבע' { + echo 'Switching to: $chosen' + set lang=he_IL + set bootlang=he_IL + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Hindi' { + echo 'Switching to: $chosen' + set lang=hi_IN + set bootlang=hi_IN + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Hrvatski' { + echo 'Switching to: $chosen' + set lang=hr_HR + set bootlang=hr_HR + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Magyar' { + echo 'Switching to: $chosen' + set lang=hu_HU + set bootlang=hu_HU + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Bahasa Indonesia' { + echo 'Switching to: $chosen' + set lang=id_ID + set bootlang=id_ID + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Italiano' { + echo 'Switching to: $chosen' + set lang=it_IT + set bootlang=it_IT + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry '日本語' { + echo 'Switching to: $chosen' + set lang=ja_JP + set bootlang=ja_JP + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'ქართული' { + echo 'Switching to: $chosen' + set lang=ka_GE + set bootlang=ka_GE + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Қазақ' { + echo 'Switching to: $chosen' + set lang=kk_KZ + set bootlang=kk_KZ + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Khmer' { + echo 'Switching to: $chosen' + set lang=km_KH + set bootlang=km_KH + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry '한국어' { + echo 'Switching to: $chosen' + set lang=ko_KR + set bootlang=ko_KR + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Kurdî' { + echo 'Switching to: $chosen' + set lang=ku_TR + set bootlang=ku_TR + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Lietuviškai' { + echo 'Switching to: $chosen' + set lang=lt_LT + set bootlang=lt_LT + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Latviski' { + echo 'Switching to: $chosen' + set lang=lv_LV + set bootlang=lv_LV + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Македонски' { + echo 'Switching to: $chosen' + set lang=mk_MK + set bootlang=mk_MK + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Malayalam' { + echo 'Switching to: $chosen' + set lang=ml_IN + set bootlang=ml_IN + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Marathi' { + echo 'Switching to: $chosen' + set lang=mr_IN + set bootlang=mr_IN + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Nepali' { + echo 'Switching to: $chosen' + set lang=ne_NP + set bootlang=ne_NP + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Nederlands' { + echo 'Switching to: $chosen' + set lang=nl_NL + set bootlang=nl_NL + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Norsk bokmål' { + echo 'Switching to: $chosen' + set lang=nb_NO + set bootlang=nb_NO + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Norsk nynorsk' { + echo 'Switching to: $chosen' + set lang=nn_NO + set bootlang=nn_NO + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Punjabi (Gurmukhi)' { + echo 'Switching to: $chosen' + set lang=pa_IN + set bootlang=pa_IN + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Polski' { + echo 'Switching to: $chosen' + set lang=pl_PL + set bootlang=pl_PL + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Português do Brasil' { + echo 'Switching to: $chosen' + set lang=pt_BR + set bootlang=pt_BR + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Português' { + echo 'Switching to: $chosen' + set lang=pt_PT + set bootlang=pt_PT + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Română' { + echo 'Switching to: $chosen' + set lang=ro_RO + set bootlang=ro_RO + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Русский' { + echo 'Switching to: $chosen' + set lang=ru_RU + set bootlang=ru_RU + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Sámegillii' { + echo 'Switching to: $chosen' + set lang=se_NO + set bootlang=se_NO + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Slovenčina' { + echo 'Switching to: $chosen' + set lang=sk_SK + set bootlang=sk_SK + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Slovenščina' { + echo 'Switching to: $chosen' + set lang=sl_SI + set bootlang=sl_SI + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Shqip' { + echo 'Switching to: $chosen' + set lang=sq_AL + set bootlang=sq_AL + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Српски' { + echo 'Switching to: $chosen' + set lang=sr_RS + set bootlang=sr_RS + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Svenska' { + echo 'Switching to: $chosen' + set lang=sv_SE + set bootlang=sv_SE + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Tamil' { + echo 'Switching to: $chosen' + set lang=ta_IN + set bootlang=ta_IN + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Thai' { + echo 'Switching to: $chosen' + set lang=th_TH + set bootlang=th_TH + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Tagalog' { + echo 'Switching to: $chosen' + set lang=tl_PH + set bootlang=tl_PH + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Türkçe' { + echo 'Switching to: $chosen' + set lang=tr_TR + set bootlang=tr_TR + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Українська' { + echo 'Switching to: $chosen' + set lang=uk_UA + set bootlang=uk_UA + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Tiếng Việt' { + echo 'Switching to: $chosen' + set lang=vi_VN + set bootlang=vi_VN + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Wolof' { + echo 'Switching to: $chosen' + set lang=wo_SN + set bootlang=wo_SN + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry '中文(简体)' { + echo 'Switching to: $chosen' + set lang=zh_CN + set bootlang=zh_CN + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + menuentry '中文(繁體)' { + echo 'Switching to: $chosen' + set lang=zh_TW + set bootlang=zh_TW + export bootlang + configfile (loop)/boot/grub/grub.cfg + } + } + submenu 'Keyboard Selection' { + menuentry 'Afghanistan' { + echo 'Switching to: $chosen' + set bootkeymap=af + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Albania' { + echo 'Switching to: $chosen' + set bootkeymap=al + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Andorra' { + echo 'Switching to: $chosen' + set bootkeymap=ad + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Arabic' { + echo 'Switching to: $chosen' + set bootkeymap=ara + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Armenia' { + echo 'Switching to: $chosen' + set bootkeymap=am + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Asturian' { + echo 'Switching to: $chosen' + set bootkeymap=es_ast + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Azerbaijan' { + echo 'Switching to: $chosen' + set bootkeymap=az + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Bangladesh' { + echo 'Switching to: $chosen' + set bootkeymap=bd + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Belarus' { + echo 'Switching to: $chosen' + set bootkeymap=by + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Belgium' { + echo 'Switching to: $chosen' + set bootkeymap=be + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Bhutan' { + echo 'Switching to: $chosen' + set bootkeymap=bt + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Bosnia' { + echo 'Switching to: $chosen' + set bootkeymap=ba + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Brazil' { + echo 'Switching to: $chosen' + set bootkeymap=br + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Bulgaria' { + echo 'Switching to: $chosen' + set bootkeymap=bg + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Cambodia' { + echo 'Switching to: $chosen' + set bootkeymap=kh + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Canada' { + echo 'Switching to: $chosen' + set bootkeymap=ca + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Catalan' { + echo 'Switching to: $chosen' + set bootkeymap=es_cat + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'China' { + echo 'Switching to: $chosen' + set bootkeymap=cn + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Congo' { + echo 'Switching to: $chosen' + set bootkeymap=cd + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Croatia' { + echo 'Switching to: $chosen' + set bootkeymap=hr + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Czechia' { + echo 'Switching to: $chosen' + set bootkeymap=cz + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Denmark' { + echo 'Switching to: $chosen' + set bootkeymap=dk + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Dvorak' { + echo 'Switching to: $chosen' + set bootkeymap=us_dvorak + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Esperanto' { + echo 'Switching to: $chosen' + set bootkeymap=epo + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Estonia' { + echo 'Switching to: $chosen' + set bootkeymap=ee + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Ethiopia' { + echo 'Switching to: $chosen' + set bootkeymap=et + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Faroes' { + echo 'Switching to: $chosen' + set bootkeymap=fo + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Finland' { + echo 'Switching to: $chosen' + set bootkeymap=fi + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'France' { + echo 'Switching to: $chosen' + set bootkeymap=fr_oss + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Georgia' { + echo 'Switching to: $chosen' + set bootkeymap=ge + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Germany' { + echo 'Switching to: $chosen' + set bootkeymap=de + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Ghana' { + echo 'Switching to: $chosen' + set bootkeymap=gh + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Greece' { + echo 'Switching to: $chosen' + set bootkeymap=gr + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Guinea' { + echo 'Switching to: $chosen' + set bootkeymap=gn + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Gujarati' { + echo 'Switching to: $chosen' + set bootkeymap=in_guj + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Gurmukhi' { + echo 'Switching to: $chosen' + set bootkeymap=in_guru + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Hungary' { + echo 'Switching to: $chosen' + set bootkeymap=hu + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Iceland' { + echo 'Switching to: $chosen' + set bootkeymap=is + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'India' { + echo 'Switching to: $chosen' + set bootkeymap=in + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Iran' { + echo 'Switching to: $chosen' + set bootkeymap=ir + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Iraq' { + echo 'Switching to: $chosen' + set bootkeymap=iq + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Ireland' { + echo 'Switching to: $chosen' + set bootkeymap=ie + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Israel' { + echo 'Switching to: $chosen' + set bootkeymap=il + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Italy' { + echo 'Switching to: $chosen' + set bootkeymap=it + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Japan' { + echo 'Switching to: $chosen' + set bootkeymap=jp + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Kannada' { + echo 'Switching to: $chosen' + set bootkeymap=in_kan + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Kazakhstan' { + echo 'Switching to: $chosen' + set bootkeymap=kz + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Korea' { + echo 'Switching to: $chosen' + set bootkeymap=kr + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Kurdish' { + echo 'Switching to: $chosen' + set bootkeymap=tr_ku + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Kyrgyzstan' { + echo 'Switching to: $chosen' + set bootkeymap=kg + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Laos' { + echo 'Switching to: $chosen' + set bootkeymap=la + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Latin America' { + echo 'Switching to: $chosen' + set bootkeymap=latam + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Latvia' { + echo 'Switching to: $chosen' + set bootkeymap=lv + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Lithuania' { + echo 'Switching to: $chosen' + set bootkeymap=lt + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Macedonia' { + echo 'Switching to: $chosen' + set bootkeymap=mk + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Malayalam' { + echo 'Switching to: $chosen' + set bootkeymap=in_mal + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Maldives' { + echo 'Switching to: $chosen' + set bootkeymap=mv + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Malta' { + echo 'Switching to: $chosen' + set bootkeymap=mt + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Maori' { + echo 'Switching to: $chosen' + set bootkeymap=mao + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Mongolia' { + echo 'Switching to: $chosen' + set bootkeymap=mn + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Montenegro' { + echo 'Switching to: $chosen' + set bootkeymap=me + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Morocco' { + echo 'Switching to: $chosen' + set bootkeymap=ma + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Myanmar' { + echo 'Switching to: $chosen' + set bootkeymap=mm + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Nepal' { + echo 'Switching to: $chosen' + set bootkeymap=np + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Netherlands' { + echo 'Switching to: $chosen' + set bootkeymap=nl + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Nigeria' { + echo 'Switching to: $chosen' + set bootkeymap=ng + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Norway' { + echo 'Switching to: $chosen' + set bootkeymap=no + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Pakistan' { + echo 'Switching to: $chosen' + set bootkeymap=pk + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Poland' { + echo 'Switching to: $chosen' + set bootkeymap=pl + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Portugal' { + echo 'Switching to: $chosen' + set bootkeymap=pt + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Romania' { + echo 'Switching to: $chosen' + set bootkeymap=ro + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Russia' { + echo 'Switching to: $chosen' + set bootkeymap=ru + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Saami (Fin.)' { + echo 'Switching to: $chosen' + set bootkeymap=fi_smi + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Saami (Nor.)' { + echo 'Switching to: $chosen' + set bootkeymap=no_smi + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Saami (Swe.)' { + echo 'Switching to: $chosen' + set bootkeymap=se_smi + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Senegal' { + echo 'Switching to: $chosen' + set bootkeymap=sn + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Serbia' { + echo 'Switching to: $chosen' + set bootkeymap=rs + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Slovakia' { + echo 'Switching to: $chosen' + set bootkeymap=sk + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Slovenia' { + echo 'Switching to: $chosen' + set bootkeymap=si + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'South Africa' { + echo 'Switching to: $chosen' + set bootkeymap=za + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Spain' { + echo 'Switching to: $chosen' + set bootkeymap=es + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Sri Lanka' { + echo 'Switching to: $chosen' + set bootkeymap=lk + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Sweden' { + echo 'Switching to: $chosen' + set bootkeymap=se + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Swiss French' { + echo 'Switching to: $chosen' + set bootkeymap=ch_fr + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Swiss German' { + echo 'Switching to: $chosen' + set bootkeymap=ch + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Syria' { + echo 'Switching to: $chosen' + set bootkeymap=sy + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Tajikistan' { + echo 'Switching to: $chosen' + set bootkeymap=tj + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Tamil' { + echo 'Switching to: $chosen' + set bootkeymap=in_tam + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Telugu' { + echo 'Switching to: $chosen' + set bootkeymap=in_tel + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Thailand' { + echo 'Switching to: $chosen' + set bootkeymap=th + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Turkey (Q)' { + echo 'Switching to: $chosen' + set bootkeymap=tr + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Turkey (F)' { + echo 'Switching to: $chosen' + set bootkeymap=tr_f + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Turkmenistan' { + echo 'Switching to: $chosen' + set bootkeymap=tm + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'English UK' { + echo 'Switching to: $chosen' + set bootkeymap=gb + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'USA' { + echo 'Switching to: $chosen' + set bootkeymap=us + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'USA Intl.' { + echo 'Switching to: $chosen' + set bootkeymap=us_intl + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Ukraine' { + echo 'Switching to: $chosen' + set bootkeymap=ua + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Uzbekistan' { + echo 'Switching to: $chosen' + set bootkeymap=uz + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + menuentry 'Vietnam' { + echo 'Switching to: $chosen' + set bootkeymap=vn + export bootkeymap + configfile (loop)/boot/grub/grub.cfg + } + } + } + } + fi +done + From 67f49101cf264a90f16fdb2ad819f0e5689ce451 Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 14:58:56 +0400 Subject: [PATCH 05/11] Add support for ExLight Linux --- mbusb.d/exton.d/exlight-generic.cfg | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 mbusb.d/exton.d/exlight-generic.cfg diff --git a/mbusb.d/exton.d/exlight-generic.cfg b/mbusb.d/exton.d/exlight-generic.cfg new file mode 100644 index 00000000..7d76f296 --- /dev/null +++ b/mbusb.d/exton.d/exlight-generic.cfg @@ -0,0 +1,34 @@ +for isofile in $isopath/exlight-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "ExLight (default)" { + bootoptions="findiso=$iso_path boot=live username=" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "ExLight (text-mode)" { + bootoptions="findiso=$iso_path boot=live 3 username=" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "ExLight (load to RAM)" { + bootoptions="findiso=$iso_path boot=live toram username=" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "ExLight (failsafe)" { + bootoptions="findiso=$iso_path boot=live noapic noapm nodma nomce nolapic nosmp forcepae nomodeset vga=normal username=" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Memory test" { + bootoptions="" + linux16 (loop)/live/memtest $bootoptions + } + } + fi +done + From 86181f264db4dff76a32fdd4a44ff0811a89d2cd Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 14:59:59 +0400 Subject: [PATCH 06/11] Add support for ExTiX --- mbusb.d/exton.d/extix-generic.cfg | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 mbusb.d/exton.d/extix-generic.cfg diff --git a/mbusb.d/exton.d/extix-generic.cfg b/mbusb.d/exton.d/extix-generic.cfg new file mode 100644 index 00000000..0aaf61b1 --- /dev/null +++ b/mbusb.d/exton.d/extix-generic.cfg @@ -0,0 +1,34 @@ +for isofile in $isopath/extix-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "ExTiX (defaults)" { + bootoptions="findiso=$iso_path boot=live username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "ExTiX (nomodeset)" { + bootoptions="findiso=$iso_path boot=live nomodeset nouveau.modeset=0 radeon.modeset=0 vga=normal username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "ExTiX (no hardware probe)" { + bootoptions="findiso=$iso_path boot=live nocomponents=xinit noapm noapic nolapic nodma nosmp vga=normal username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "ExTiX (load to RAM)" { + bootoptions="findiso=$iso_path boot=live toram username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Memory test" { + bootoptions="" + linux16 (loop)/live/memtest $bootoptions + } + } + fi +done + From 5d3e73ebc879123584c4eaec2eedfe7f3b3b89fd Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 15:03:25 +0400 Subject: [PATCH 07/11] Add support for Exton Defender SRS --- mbusb.d/exton.d/exton-defender-generic.cfg | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mbusb.d/exton.d/exton-defender-generic.cfg diff --git a/mbusb.d/exton.d/exton-defender-generic.cfg b/mbusb.d/exton.d/exton-defender-generic.cfg new file mode 100644 index 00000000..9c9d1817 --- /dev/null +++ b/mbusb.d/exton.d/exton-defender-generic.cfg @@ -0,0 +1,30 @@ +for isofile in $isopath/exton-defender-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + probe --label --set=cd_label (loop) + menuentry "Start Exton Defender" { + bootoptions="iso-scan/filename=$iso_path root=live:CDLABEL=$cd_label rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0" + linux (loop)/isolinux/vmlinuz0 $bootoptions + initrd (loop)/isolinux/initrd0.img + } + menuentry "Start Exton Defender in basic graphics mode" { + bootoptions="iso-scan/filename=$iso_path root=live:CDLABEL=$cd_label rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 nomodeset" + linux (loop)/isolinux/vmlinuz0 $bootoptions + initrd (loop)/isolinux/initrd0.img + } + menuentry "Test this media & start Exton Defender" { + bootoptions="iso-scan/filename=$iso_path root=live:CDLABEL=$cd_label rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 rd.live.check" + linux (loop)/isolinux/vmlinuz0 $bootoptions + initrd (loop)/isolinux/initrd0.img + } + menuentry "Run a memory test" { + bootoptions="" + linux16 (loop)/isolinux/memtest $bootoptions + } + } + fi +done + From 4aac32993209e329197a2b30cb33f5f4c1a81259 Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 15:04:50 +0400 Subject: [PATCH 08/11] Add support for Exton OS --- mbusb.d/exton.d/exton-os-generic.cfg | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 mbusb.d/exton.d/exton-os-generic.cfg diff --git a/mbusb.d/exton.d/exton-os-generic.cfg b/mbusb.d/exton.d/exton-os-generic.cfg new file mode 100644 index 00000000..4c03c2e0 --- /dev/null +++ b/mbusb.d/exton.d/exton-os-generic.cfg @@ -0,0 +1,39 @@ +for isofile in $isopath/exton-os-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "Exton|OS (default)" { + bootoptions="findiso=$iso_path boot=live username=" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Exton|OS (text-mode)" { + bootoptions="findiso=$iso_path boot=live 3 username=" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Exton|OS (nomodeset)" { + bootoptions="findiso=$iso_path boot=live nomodeset username=" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Exton|OS (load to RAM)" { + bootoptions="findiso=$iso_path boot=live toram username=" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Exton|OS (no probe)" { + bootoptions="findiso=$iso_path boot=live noapic noapm nodma nomce nolapic nosmp vga=normal username=" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Memory test" { + bootoptions="" + linux16 (loop)/live/memtest $bootoptions + } + } + fi +done + From 0a09917381c09edced8b1765a8446227aa22e1aa Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 15:05:44 +0400 Subject: [PATCH 09/11] Add support for LFA (Linux For ALL) --- mbusb.d/exton.d/lfa-generic.cfg | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 mbusb.d/exton.d/lfa-generic.cfg diff --git a/mbusb.d/exton.d/lfa-generic.cfg b/mbusb.d/exton.d/lfa-generic.cfg new file mode 100644 index 00000000..e1c181cf --- /dev/null +++ b/mbusb.d/exton.d/lfa-generic.cfg @@ -0,0 +1,39 @@ +for isofile in $isopath/lfa-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "LFA (default)" { + bootoptions="findiso=$iso_path boot=live username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "LFA (text-mode)" { + bootoptions="findiso=$iso_path boot=live 3 username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "LFA (nomodeset)" { + bootoptions="findiso=$iso_path boot=live nomodeset username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "LFA (load to RAM)" { + bootoptions="findiso=$iso_path boot=live toram username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "LFA (no probe)" { + bootoptions="findiso=$iso_path boot=live noapic noapm nodma nomce nolapic nosmp vga=normal username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Memory test" { + bootoptions="" + linux16 (loop)/live/memtest $bootoptions + } + } + fi +done + From d02d260ffe03ed72183def2e154a457f783b69ea Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 15:06:24 +0400 Subject: [PATCH 10/11] Add support for MeX Linux --- mbusb.d/exton.d/mex-generic.cfg | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 mbusb.d/exton.d/mex-generic.cfg diff --git a/mbusb.d/exton.d/mex-generic.cfg b/mbusb.d/exton.d/mex-generic.cfg new file mode 100644 index 00000000..f404b10b --- /dev/null +++ b/mbusb.d/exton.d/mex-generic.cfg @@ -0,0 +1,39 @@ +for isofile in $isopath/mex-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "MeX (default)" { + bootoptions="findiso=$iso_path boot=live username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "MeX (text-mode)" { + bootoptions="findiso=$iso_path boot=live 3 username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "MeX (nomodeset)" { + bootoptions="findiso=$iso_path boot=live nomodeset username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "MeX (load to RAM)" { + bootoptions="findiso=$iso_path boot=live toram username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "MeX (no probe)" { + bootoptions="findiso=$iso_path boot=live noapic noapm nodma nomce nolapic nosmp vga=normal username=live" + linux (loop)/live/vmlinuz $bootoptions + initrd (loop)/live/initrd.img + } + menuentry "Memory test" { + bootoptions="" + linux16 (loop)/live/memtest $bootoptions + } + } + fi +done + From 2762d895675d0843546833779ce0e2bee777e3ca Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 15:07:24 +0400 Subject: [PATCH 11/11] Add support for SlackEX Linux --- mbusb.d/exton.d/slackex-generic.cfg | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mbusb.d/exton.d/slackex-generic.cfg diff --git a/mbusb.d/exton.d/slackex-generic.cfg b/mbusb.d/exton.d/slackex-generic.cfg new file mode 100644 index 00000000..f0b8a91c --- /dev/null +++ b/mbusb.d/exton.d/slackex-generic.cfg @@ -0,0 +1,20 @@ +for isofile in $isopath/slackex-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "Run SlackEX" { + bootoptions="from=$iso_path load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 slackex.flags=perch vga=769" + linux (loop)/slackex/boot/vmlinuz $bootoptions + initrd (loop)/slackex/boot/initrfs.img + } + menuentry "Run SlackEX debug" { + bootoptions="from=$iso_path load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 debug vga=769" + linux (loop)/slackex/boot/vmlinuz $bootoptions + initrd (loop)/slackex/boot/initrfs.img + } + } + fi +done +