Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Add support for Exton Linux Live #171

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
35 changes: 35 additions & 0 deletions mbusb.d/exton.d/archex-generic64.cfg
Original file line number Diff line number Diff line change
@@ -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

34 changes: 34 additions & 0 deletions mbusb.d/exton.d/debex-generic.cfg
Original file line number Diff line number Diff line change
@@ -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

39 changes: 39 additions & 0 deletions mbusb.d/exton.d/debian-pixel-exton-generic.cfg
Original file line number Diff line number Diff line change
@@ -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

Loading