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

Commit

Permalink
Match entries for SystemRescueCd
Browse files Browse the repository at this point in the history
  • Loading branch information
aguslr committed Feb 16, 2019
1 parent fb6aa37 commit b88fcb8
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions mbusb.d/systemrescuecd.d/generic.cfg
Expand Up @@ -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
}
}
Expand Down

0 comments on commit b88fcb8

Please sign in to comment.