Added entry in the boot menus to boot and verify the checksum

This commit is contained in:
fdupoux 2020-04-13 14:39:22 +01:00
parent 15576d33af
commit 95a71bfc69
2 changed files with 15 additions and 0 deletions

View file

@ -27,3 +27,9 @@ menuentry "Boot SystemRescueCd and copy system to RAM" {
linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram
initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img
}
menuentry "Boot the SystemRescueCd live medium and verify integrity" {
set gfxpayload=keep
linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% checksum
initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img
}

View file

@ -18,4 +18,13 @@ LINUX boot/%ISO_ARCH%/vmlinuz
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram
LABEL sysresccd_checksum
TEXT HELP
Boot the SystemRescueCd live medium and verify integrity
ENDTEXT
MENU LABEL Boot SystemRescueCd and verify checksum of the medium
LINUX boot/%ISO_ARCH%/vmlinuz
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% checksum
INCLUDE boot/syslinux/sysresccd_tail.cfg