Bug 112775 - savedefault --once logic error
savedefault --once logic error
Product: Fedora
Classification: Fedora
Component: grub (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-12-31 10:51 EST by Pádraig Brady
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-01-05 05:58:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pádraig Brady 2003-12-31 10:51:20 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):

How reproducible:
Comment 1 Jeremy Katz 2004-01-03 15:41:26 EST
Will be in -8.
Comment 2 Patrick C. F. Ernzer 2004-09-02 07:18:57 EDT
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?

Suggested text:
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.

Note You need to log in before you can comment on or make changes to this bug.