bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug #1241] lilo-like -R switch


From: nobody
Subject: [Bug #1241] lilo-like -R switch
Date: Tue, 01 Oct 2002 08:19:14 -0400

=================== BUG #1241: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1241&group_id=68

Changes by: Henrik Nordstrom <address@hidden>
Date: 2002-Oct-01 12:19 (GMT)

------------------ Additional Follow-up Comments ----------------------------
See also Bug #557 on the savedefault command.



=================== BUG #1241: FULL BUG SNAPSHOT ===================


Submitted by: rojaro                    Project: GNU GRUB                       
Submitted on: 2002-Sep-18 20:33
Category:  User Interface               Severity:  Major                        
Priority:  None                         Bug Group:  Feature Request             
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Release:                                
Reproducibility:  None                  Planned Release:                        

Summary:  lilo-like -R switch

Original Submission:  --- QUOTE FROM lilo(8) man page ---
       -R command line
              This  option sets the default command for the boot loader the 
next time it executes. The boot loader will then erase this
              line: this is a once-only command. It is typically used in reboot 
scripts, just before calling `shutdown -r'.  Used with-
              out any arguments, it will cancel a lock-ed or fallback command 
line.
--- END OF QUOTE ---

Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Oct-01 12:19             By: hno
See also Bug #557 on the savedefault command.

-------------------------------------------------------
Date: 2002-Oct-01 12:02             By: hno
I'll second this, and propose it to be implemented as a temporary version of 
"savedefault".

savenextdefault <entrynr>

savenextdefault saves the default entry to be used for the next boot only. The 
boot after that will go back to the normal default entry.

Problme is that this needs the embedded data in stage2 to be extended with one 
more byte if to be done in a easy manner.


Another alternative would be to extend "savedefault" with an optional argument 
telling which entry to boot. This way one can easily make a grub script that 
switches to another boot entry, and have this boot entry switch the default 
back to the normal entry by executing a "savedefault normal-entry-number" 
command.

Regards
Henrik


CC List
*******

CC Address                          | Comment
------------------------------------+-----------------------------
hno                                 | 



No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1241&group_id=68




reply via email to

[Prev in Thread] Current Thread [Next in Thread]