diff --git a/pyanaconda/modules/storage/bootloader/systemd.py b/pyanaconda/modules/storage/bootloader/systemd.py index 89c060992998..ca84e8d112b6 100644 --- a/pyanaconda/modules/storage/bootloader/systemd.py +++ b/pyanaconda/modules/storage/bootloader/systemd.py @@ -156,3 +156,11 @@ def install(self, args=None): def write_config_images(self, config): return True + + def is_valid_stage1_device(self, device, early=False): + valid = True + if conf.system.provides_liveuser: + raise BootLoaderError("systemd-boot cannot be utilized on live media with grub.") + else: + valid = super().is_valid_stage1_device(device, early) + return valid