From a5d302e16089b6a3baa3a5571e3560fab56705d7 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Aug 28 2024 19:12:41 +0000 Subject: components/liveinstall: Enable mediacheck for live ISOs This brings us to full parity with ISOs produced by Lorax. --- diff --git a/components/liveinstall.xml b/components/liveinstall.xml index 5f669e8..d20a885 100644 --- a/components/liveinstall.xml +++ b/components/liveinstall.xml @@ -5,7 +5,7 @@ - + @@ -19,6 +19,7 @@ + diff --git a/grub.cfg.iso-template b/grub.cfg.iso-template index cb6ae75..2a9d652 100644 --- a/grub.cfg.iso-template +++ b/grub.cfg.iso-template @@ -1,6 +1,6 @@ # Inspired by the config used for official live media -set default=${default_boot} +set default=1 if [ "$$grub_platform" == "efi" ]; then function load_video { @@ -36,6 +36,10 @@ menuentry "Start ${title}" --class fedora --class gnu-linux --class gnu --class linux ($$root)${bootpath}/${kernel_file} ${boot_options} initrd ($$root)${bootpath}/${initrd_file} } +menuentry "Test this media & start ${title}" --class fedora --class gnu-linux --class gnu --class os { + linux ($$root)${bootpath}/${kernel_file} ${boot_options} rd.live.check + initrd ($$root)${bootpath}/${initrd_file} +} submenu "Troubleshooting -->" { menuentry "Start ${title} in basic graphics mode" --class fedora --class gnu-linux --class gnu --class os { linux ($$root)${bootpath}/${kernel_file} ${boot_options} $${basicgfx}