From b88fcb85fbc7be3fbf925bc56470dc5e19c870ac Mon Sep 17 00:00:00 2001 From: Agus Lopez Date: Sat, 16 Feb 2019 15:23:50 +0100 Subject: [PATCH] Match entries for SystemRescueCd --- mbusb.d/systemrescuecd.d/generic.cfg | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/mbusb.d/systemrescuecd.d/generic.cfg b/mbusb.d/systemrescuecd.d/generic.cfg index 465ec36a..056395c9 100644 --- a/mbusb.d/systemrescuecd.d/generic.cfg +++ b/mbusb.d/systemrescuecd.d/generic.cfg @@ -4,29 +4,18 @@ for isofile in $isopath/systemrescuecd-*.iso; do submenu "$isoname ->" "$isofile" { iso_path="$2" loopback loop "$iso_path" - bootoptions="img_dev=$imgdevpath img_loop=$iso_path earlymodules=loop archisobasedir=sysresccd archisolabel=SYSRCD601" - menuentry "Default boot options" { - linux (loop)/sysresccd/boot/x86_64/vmlinuz $bootoptions scandelay=1 + probe --label --set=cd_label (loop) + bootoptions="img_dev=$imgdevpath img_loop=$iso_path earlymodules=loop archisobasedir=sysresccd archisolabel=$cd_label" + menuentry "Boot SystemRescueCd using default options" { + linux (loop)/sysresccd/boot/x86_64/vmlinuz $bootoptions initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img } - menuentry "All files cached to memory (copytoram)" { + menuentry "Boot SystemRescueCd and copy system to RAM" { linux (loop)/sysresccd/boot/x86_64/vmlinuz $bootoptions copytoram initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img } - menuentry "Framebuffer console in high resolution" { - linux (loop)/sysresccd/boot/x86_64/vmlinuz $bootoptions nomodeset vga=791 - initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img - } - menuentry "Boot an existing Linux system installed on the disk" { - linux (loop)/sysresccd/boot/x86_64/vmlinuz $bootoptions root=auto - initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img - } - menuentry "Directly start the graphical environment" { - linux (loop)/sysresccd/boot/x86_64/vmlinuz $bootoptions dostartx - initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img - } - menuentry "MEMTEST: Memory test using Memtest86+" { - bootoptions="-" + menuentry "Run Memtest86+ (RAM test)" { + bootoptions="" linux16 (loop)/sysresccd/boot/memtest $bootoptions } }