Red Hat Bugzilla – Bug 112775
savedefault --once logic error
Last modified: 2007-11-30 17:10:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016
Description of problem:
There is a problem with the "savedefault --once" functionality
I think. The default entry and "once only entry" are not independent,
and so after a "once only boot" the default entry will be reset to 0.
I can't see how that would ever be required (especially
if the "once only entry" is also 0).
I've modified the patch to make these independent so you
don't loose your previous default entry.
could this be applied?
Version-Release number of selected component (if applicable):
Will be in -8.
grub-0.94-5 still has no mention of '--once' in the info page (at
least when going through the index to savedefault.
Can this please be added in a future version?
you can also use 'savedefault --once' to boot once into the selected
entry. This is both useful if you are testing a new kernel remotely
(if it fails you just reboot the machine and the previous selection
comes up) and when you need to boot some other OS just once and want
to grab a coffe while the machine reboots instead of waiting for the
gub prompt to come up.