diff --git a/src/lib/bootloader/generic_widgets.rb b/src/lib/bootloader/generic_widgets.rb index 5fb0512a3..080cb327e 100644 --- a/src/lib/bootloader/generic_widgets.rb +++ b/src/lib/bootloader/generic_widgets.rb @@ -80,6 +80,14 @@ def handle return :redraw end + if !Yast::Stage.initial && ["systemd-boot", "grub2-bls"].include?(new_bl) + Yast::Popup.Warning(format(_( + "Switching to bootloader %s \n" \ + "is currently not supported.\n" + ), new_bl)) + return :redraw + end + BootloaderFactory.current_name = new_bl BootloaderFactory.current.propose