diff --git a/lorax-templates-qubes/templates/config_files/x86/grub2-efi.cfg b/lorax-templates-qubes/templates/config_files/x86/grub2-efi.cfg index e47d755..28ea7b5 100644 --- a/lorax-templates-qubes/templates/config_files/x86/grub2-efi.cfg +++ b/lorax-templates-qubes/templates/config_files/x86/grub2-efi.cfg @@ -30,3 +30,8 @@ menuentry 'Install @PRODUCT@ @VERSION@' --class qubes --class gnu-linux --class chainloader @EFIDIR@/xen.efi } +menuentry 'Rescue a @PRODUCT@ system' --class qubes --class gnu-linux --class gnu --class os { + search --no-floppy --set=root -l 'ANACONDA' + chainloader @EFIDIR@/xen.efi placeholder qubes-rescue +} + diff --git a/lorax-templates-qubes/templates/config_files/x86/xen-efi.cfg b/lorax-templates-qubes/templates/config_files/x86/xen-efi.cfg index d6bc6d9..eeffd7e 100644 --- a/lorax-templates-qubes/templates/config_files/x86/xen-efi.cfg +++ b/lorax-templates-qubes/templates/config_files/x86/xen-efi.cfg @@ -10,3 +10,8 @@ ramdisk=initrd.img options=loglvl=all kernel=vmlinuz @ROOT@ ramdisk=initrd.img + +[qubes-rescue] +options=loglvl=all +kernel=vmlinuz @ROOT@ rescue +ramdisk=initrd.img