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

Add support for Revenge OS #169

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions mbusb.d/revengeos.d/generic64.cfg
Original file line number Diff line number Diff line change
@@ -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