Mailinglist Archive: opensuse-features (26 mails)

< Previous Next >
[openFATE 310380] grub2 bootonce or bootnext command
Feature changed by: James McDaniel (jdmcdaniel3)
Feature #310380, revision 3
Title: grub2 bootonce or bootnext command

openSUSE-11.4: Unconfirmed
Requester: Desirable

Requested by: Lee Matheson (oldcpu)
Partner organization:

<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } -->
With the possibility of Grub2 being implemented soon as a default boot
manager, it would be useful to add to the Grub2 packaging a small
script that fully emulates the older grubonce that is provided with
openSUSE-11.3 and earlier. 
The philosophy is from run level 3, or from a desktop that does not
support the capability to selectively reboot ONCE (and only ONCE) into
another boot partition, one can run a command that allows this one time
reboot functionality.  This was achieved with the "grubonce" command on
openSUSE-11.3 (and earlier) and other distributions (for the older grub
version) used perl scripts such as bootnext (on Fedora: ).
There is an example here on openSUSE forums as to the utility of the
grubonce command and how it can be applied:
The grub2-reboot command is lacking (in comparison to grubonce) in that it
appears it can not be used to generate the re-boot selection
menu.  Hence I propose a small script/application be provided with
openSUSE-11.4 (or 12.0) that functions similar to the scripts proposed
or as a minium functions with the full capability of the "grubonce"
(which grub2-reboot lacks).

+ Discussion:
+ #1: James McDaniel (jdmcdaniel3) (2012-05-09 03:27:59)
+ With the advent of openSUSE 12.2 and its inclusion of grub 2, this will
+ be a needed option. I have used this in the following bash script for
+ grub legacy:
+ You can set the default boot for the next restart using grub2-set-
+ default, but it does not remove the menu display or change the default
+ timer on restart & you must actually restart your PC. If the default
+ selection time could be made to be zero along with existing ability to
+ select the next default session, this thing might be doable.
+ Thank You,

openSUSE Feature:

< Previous Next >
This Thread
  • No further messages