From 3f4253bc8799f82a250ab2376ab381a756782936 Mon Sep 17 00:00:00 2001 From: "David M. Syzdek" Date: Mon, 7 May 2018 14:47:58 -0800 Subject: Adding menu structure for sysrescd --- src/distros/sysrescd/cfg.footer | 1 + src/distros/sysrescd/cfg.footer.iso.efi | 2 + src/distros/sysrescd/cfg.header | 2 + src/distros/sysrescd/cfg.header.iso.efi | 2 + src/distros/sysrescd/cfg.label | 16 ++++---- src/distros/sysrescd/cfg.label.iso.efi | 70 ++++++++++++++++----------------- src/distros/sysrescd/cfg.label.pxe | 16 ++++---- 7 files changed, 58 insertions(+), 51 deletions(-) create mode 100644 src/distros/sysrescd/cfg.footer create mode 100644 src/distros/sysrescd/cfg.footer.iso.efi create mode 100644 src/distros/sysrescd/cfg.header create mode 100644 src/distros/sysrescd/cfg.header.iso.efi diff --git a/src/distros/sysrescd/cfg.footer b/src/distros/sysrescd/cfg.footer new file mode 100644 index 0000000..fe225c9 --- /dev/null +++ b/src/distros/sysrescd/cfg.footer @@ -0,0 +1 @@ +MENU END diff --git a/src/distros/sysrescd/cfg.footer.iso.efi b/src/distros/sysrescd/cfg.footer.iso.efi new file mode 100644 index 0000000..7e9861c --- /dev/null +++ b/src/distros/sysrescd/cfg.footer.iso.efi @@ -0,0 +1,2 @@ +} + diff --git a/src/distros/sysrescd/cfg.header b/src/distros/sysrescd/cfg.header new file mode 100644 index 0000000..786c566 --- /dev/null +++ b/src/distros/sysrescd/cfg.header @@ -0,0 +1,2 @@ +MENU BEGIN sysrescd +MENU TITLE SystemRescueCD diff --git a/src/distros/sysrescd/cfg.header.iso.efi b/src/distros/sysrescd/cfg.header.iso.efi new file mode 100644 index 0000000..effda77 --- /dev/null +++ b/src/distros/sysrescd/cfg.header.iso.efi @@ -0,0 +1,2 @@ + +submenu "SystemRescueCD" { diff --git a/src/distros/sysrescd/cfg.label b/src/distros/sysrescd/cfg.label index 70497f3..e37c00d 100644 --- a/src/distros/sysrescd/cfg.label +++ b/src/distros/sysrescd/cfg.label @@ -1,11 +1,11 @@ MENU BEGIN sysrescd MENU TITLE SystemRescueCD (@VERSION@) -label rescue32 +label rescue32@VERSION@ MENU LABEL SystemRescueCd (32bit): MENU DISABLE -label rescue32_1 +label rescue32_1@VERSION@ MENU LABEL SystemRescueCd with default options MENU INDENT 3 KERNEL /boot/sysrescd/@VERSION@/vmlinuz.32 @@ -15,7 +15,7 @@ label rescue32_1 Boot standard 32bit kernel with default options (should always work) ENDTEXT -label rescue32_2 +label rescue32_2@VERSION@ MENU LABEL SystemRescueCd with all files cached to memory MENU INDENT 3 KERNEL /boot/sysrescd/@VERSION@/vmlinuz.32 @@ -27,11 +27,11 @@ label rescue32_2 boot process, but the cdrom can be removed and system will be faster. ENDTEXT -label rescue64 +label rescue64@VERSION@ MENU LABEL SystemRescueCd (64bit): MENU DISABLE -label rescue64_1 +label rescue64_1@VERSION@ MENU LABEL SystemRescueCd with default options MENU INDENT 3 KERNEL /boot/sysrescd/@VERSION@/vmlinuz.64 @@ -41,7 +41,7 @@ label rescue64_1 Boot standard 64bit kernel with default options (should always work) ENDTEXT -label rescue64_2 +label rescue64_2@VERSION@ MENU LABEL SystemRescueCd with all files cached to memory MENU INDENT 3 KERNEL /boot/sysrescd/@VERSION@/vmlinuz.64 @@ -53,11 +53,11 @@ label rescue64_2 boot process, but the cdrom can be removed and system will be faster. ENDTEXT -label rescuemisc +label rescuemisc@VERSION@ MENU LABEL SystemRescueCd Misc: MENU DISABLE -label ntpass +label ntpass@VERSION@ MENU LABEL NTPASSWD: Reset or edit Windows passwords MENU INDENT 3 kernel /boot/sysrescd/@VERSION@/vmlinuz.nt diff --git a/src/distros/sysrescd/cfg.label.iso.efi b/src/distros/sysrescd/cfg.label.iso.efi index a9997f7..b890f19 100644 --- a/src/distros/sysrescd/cfg.label.iso.efi +++ b/src/distros/sysrescd/cfg.label.iso.efi @@ -1,36 +1,36 @@ -submenu "SystemRescueCD (@VERSION@)" { - menuentry "SystemRescueCd with default options (32bit)" { - echo "Loading /boot/sysrescd/@VERSION@/vmlinuz.32 ..." - linux /boot/sysrescd/@VERSION@/vmlinuz.32 subdir=/boot/sysrescd/@VERSION@/ - echo "Loading /boot/sysrescd/@VERSION@/initram.igz ..." - initrd /boot/sysrescd/@VERSION@/initram.igz - echo "Booting ..." + submenu "SystemRescueCD (@VERSION@)" { + menuentry "SystemRescueCd with default options (32bit)" { + echo "Loading /boot/sysrescd/@VERSION@/vmlinuz.32 ..." + linux /boot/sysrescd/@VERSION@/vmlinuz.32 subdir=/boot/sysrescd/@VERSION@/ + echo "Loading /boot/sysrescd/@VERSION@/initram.igz ..." + initrd /boot/sysrescd/@VERSION@/initram.igz + echo "Booting ..." + } + menuentry "SystemRescueCd with all files cached to memory (32bit)" { + echo "Loading /boot/sysrescd/@VERSION@/vmlinuz.32 ..." + linux /boot/sysrescd/@VERSION@/vmlinuz.32 docache subdir=/boot/sysrescd/@VERSION@/ + echo "Loading /boot/sysrescd/@VERSION@/initram.igz ..." + initrd /boot/sysrescd/@VERSION@/initram.igz + echo "Booting ..." + } + menuentry "SystemRescueCd with default options (64bit)" { + echo "Loading /boot/sysrescd/@VERSION@/vmlinuz.64 ..." + linux /boot/sysrescd/@VERSION@/vmlinuz.64 docache subdir=/boot/sysrescd/@VERSION@/ + echo "Loading /boot/sysrescd/@VERSION@/initram.igz ..." + initrd /boot/sysrescd/@VERSION@/initram.igz + echo "Booting ..." + } + menuentry "SystemRescueCd with all files cached to memory (64bit)" { + echo "Loading /boot/sysrescd/@VERSION@/vmlinuz.64 ..." + linux /boot/sysrescd/@VERSION@/vmlinuz.64 docache subdir=/boot/sysrescd/@VERSION@/ + echo "Loading /boot/sysrescd/@VERSION@/initram.igz ..." + initrd /boot/sysrescd/@VERSION@/initram.igz + echo "Booting ..." + } + menuentry "NTPASSWD: Reset or edit Windows passwords" { + linux /boot/sysrescd/@VERSION@/vmlinuz.nt \ + rw vga=1 \ + initrd /boot/sysrescd/@VERSION@/initrd.cgz /boot/sysrescd/@VERSION@/scsi.cgz + echo "Booting ..." + } } - menuentry "SystemRescueCd with all files cached to memory (32bit)" { - echo "Loading /boot/sysrescd/@VERSION@/vmlinuz.32 ..." - linux /boot/sysrescd/@VERSION@/vmlinuz.32 docache subdir=/boot/sysrescd/@VERSION@/ - echo "Loading /boot/sysrescd/@VERSION@/initram.igz ..." - initrd /boot/sysrescd/@VERSION@/initram.igz - echo "Booting ..." - } - menuentry "SystemRescueCd with default options (64bit)" { - echo "Loading /boot/sysrescd/@VERSION@/vmlinuz.64 ..." - linux /boot/sysrescd/@VERSION@/vmlinuz.64 docache subdir=/boot/sysrescd/@VERSION@/ - echo "Loading /boot/sysrescd/@VERSION@/initram.igz ..." - initrd /boot/sysrescd/@VERSION@/initram.igz - echo "Booting ..." - } - menuentry "SystemRescueCd with all files cached to memory (64bit)" { - echo "Loading /boot/sysrescd/@VERSION@/vmlinuz.64 ..." - linux /boot/sysrescd/@VERSION@/vmlinuz.64 docache subdir=/boot/sysrescd/@VERSION@/ - echo "Loading /boot/sysrescd/@VERSION@/initram.igz ..." - initrd /boot/sysrescd/@VERSION@/initram.igz - echo "Booting ..." - } - menuentry "NTPASSWD: Reset or edit Windows passwords" { - linux /boot/sysrescd/@VERSION@/vmlinuz.nt \ - rw vga=1 \ - initrd /boot/sysrescd/@VERSION@/initrd.cgz /boot/sysrescd/@VERSION@/scsi.cgz - echo "Booting ..." - } -} diff --git a/src/distros/sysrescd/cfg.label.pxe b/src/distros/sysrescd/cfg.label.pxe index 7fea16c..e402537 100644 --- a/src/distros/sysrescd/cfg.label.pxe +++ b/src/distros/sysrescd/cfg.label.pxe @@ -1,11 +1,11 @@ MENU BEGIN sysrescd MENU TITLE SystemRescueCD (@VERSION@) -label rescue32 +label rescue32@VERSION@ MENU LABEL SystemRescueCd (32bit): MENU DISABLE -label rescue32_1 +label rescue32_1@VERSION@ MENU LABEL SystemRescueCd with default options (netboot) MENU INDENT 3 KERNEL /boot/sysrescd/@VERSION@/vmlinuz.32 @@ -15,7 +15,7 @@ label rescue32_1 Boot standard 32bit kernel with default options (should always work) ENDTEXT -label rescue32_2 +label rescue32_2@VERSION@ MENU LABEL SystemRescueCd with all files cached to memory (netboot) MENU INDENT 3 KERNEL /boot/sysrescd/@VERSION@/vmlinuz.32 @@ -27,11 +27,11 @@ label rescue32_2 boot process, but the cdrom can be removed and system will be faster. ENDTEXT -label rescue64 +label rescue64@VERSION@ MENU LABEL SystemRescueCd (64bit): MENU DISABLE -label rescue64_1 +label rescue64_1@VERSION@ MENU LABEL SystemRescueCd with default options (netboot) MENU INDENT 3 KERNEL /boot/sysrescd/@VERSION@/vmlinuz.64 @@ -41,7 +41,7 @@ label rescue64_1 Boot standard 64bit kernel with default options (should always work) ENDTEXT -label rescue64_2 +label rescue64_2@VERSION@ MENU LABEL SystemRescueCd with all files cached to memory (netboot) MENU INDENT 3 KERNEL /boot/sysrescd/@VERSION@/vmlinuz.64 @@ -53,11 +53,11 @@ label rescue64_2 boot process, but the cdrom can be removed and system will be faster. ENDTEXT -label rescuemisc +label rescuemisc@VERSION@ MENU LABEL SystemRescueCd Misc: MENU DISABLE -label ntpass +label ntpass@VERSION@ MENU LABEL NTPASSWD: Reset or edit Windows passwords MENU INDENT 3 kernel /boot/sysrescd/@VERSION@/vmlinuz.nt -- cgit v1.2.3