From 09cf1311f177fbb576b43b1f9c81fc0264b38d79 Mon Sep 17 00:00:00 2001 From: ZeTriUm Date: Tue, 12 Dec 2017 14:41:48 +0400 Subject: [PATCH] Add support for Revenge OS --- mbusb.d/revengeos.d/generic64.cfg | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 mbusb.d/revengeos.d/generic64.cfg diff --git a/mbusb.d/revengeos.d/generic64.cfg b/mbusb.d/revengeos.d/generic64.cfg new file mode 100644 index 00000000..bc354478 --- /dev/null +++ b/mbusb.d/revengeos.d/generic64.cfg @@ -0,0 +1,35 @@ +for isofile in $isopath/revengeos-*.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 Revenge OS Linux (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 Arch Linux (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 Arch Linux (x86_64) (NFS)" { + bootoptions="img_dev=$imgdevpath img_loop=$iso_path earlymodules=loop archisobasedir=arch 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 Arch Linux (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 +