Summary: | Missing ability to choose, which grub2-system to start after reboot | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | H.H. <cyberbeat> |
Component: | Session Management | Assignee: | Lubos Lunak <l.lunak> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | bshah, bugseforuns, butirsky, dev.dliw, furlongm, nate, null, pastas4, plasma-bugs |
Priority: | NOR | ||
Version First Reported In: | 5.27.5 | ||
Target Milestone: | 1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
H.H.
2015-06-07 21:12:37 UTC
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 |