The patch described in #42991 does not work. In fact it seems the problem was never properly solved. I decided to open a new bug rather than reopening the old one, since it now concerns a much higher version og grub. In short: The savedefault was intended to gain an extra parameter "--once". But it doesn't. In fact the savedefault command is completely broken, responding with "Error 27: Unrecognized command". The 'help savedefault' command works, but does not mention the '--once' parameter. Reproducible: Always Steps to Reproduce: 1. run grub 2. run command 'savedefault' or 'savedefault --once' Actual Results: Error 27: Unrecognized command Expected Results: Some sort of success. In the case of '--once'. The system should boot the wanted entry one time, and then, next time, boot default again.
that bug/patch is not relevant as neither exist in current grub versions. savedefault is used via grub.conf only and there it works perfectly fine. it's an error that 'help savedefault' shows anything at all, but that is it -- it is not used in the interactive grub util.
savedefault is not meant to work on the commandline.
yes, and there is a hook in the grub code so that it doesnt even show up in the command line help. the current code enables it when it shouldnt.