You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
Have to dualboot windows because Work, use @saved because nice, run systemctl --reboot --boot-loader-entry=auto-windows (or bootctl set-oneshot auto-windows). Am now on windows, windows decides to do a system update and restarts, I am now back in Linux, the update was not completed.
Describe the solution you'd like
You could change the behavior of the last boot not being changed when using Oneshot. But there's probably a reason for it to work this way:
Component
bootctl
Is your feature request related to a problem? Please describe
Have to dualboot windows because Work, use @saved because nice, run
systemctl --reboot --boot-loader-entry=auto-windows
(orbootctl set-oneshot auto-windows
). Am now on windows, windows decides to do a system update and restarts, I am now back in Linux, the update was not completed.Describe the solution you'd like
You could change the behavior of the last boot not being changed when using Oneshot. But there's probably a reason for it to work this way:
systemd/src/boot/efi/boot.c
Line 2464 in eb1ec9c
But a command would be cool that sets the
LoaderEntryLastBooted
Variable. Something likebootctl set-oneshot --persist
orbootctl set-savedboot
.I can make a PR if the idea is likeable.
Describe alternatives you've considered
My own small script that sets the LoaderEntryLastBooted EFI Variable.
The systemd version you checked that didn't have the feature you are asking for
255
The text was updated successfully, but these errors were encountered: