I often switch between linux and windows, and without an option, which os to boot after restart (like in kde 3/4), I often end up starting the default instead of the wanted one. Please re-add this feature again. Reproducible: Always
I've had a look. This used to be done by KDM in a horrible looking file called "bootman.c" which reads and edits grubs config file. ksmserver then had a special interface to talk to it. UX was pretty bad, the user has to configure in KDE what boot manager they're using, Programs like grub-reboot help, but it relies on people adding GRUB_DEFAULT=saved to their menu settings, which isn't usable either Personally I'm not convinced this is viable, grub is losing popularity and we can't have n backends for this. If you can file a request on systemd that'd help
How about efibootmgr -n? UEFI hardware is quite common nowadays. There's now also CONFIG_EFI_BOOTLOADER_CONTROL, but not sure how many bootloaders handle that yet.
+1 for UEFI support. Should we file separate bug on that?
(In reply to David Edmundson from comment #1) > Personally I'm not convinced this is viable, grub is losing popularity and > we can't have n backends for this. GRUB2 seems pretty popular at this point. Maybe we could limit it to just GRUB2 systems, or even systems using GRUB2 with UEFI. Does that make this any more feasible?
*** Bug 405557 has been marked as a duplicate of this bug. ***
I use grub2-once for this functionality. i.e. $ sudo grub2-once 'Windows Boot Manager (on /dev/sda1)' It would be great if we got this feature back, it's sorely missed.
Implementing this back in kde could not be so complicated, at the moment, I have a workaround, having to open konsole, and type as root: grub2-reboot "Windows Boot Manager (on /dev/nvme0n1p1)" && reboot