Home_greyopenFATE - openSUSE feature tracking > #310380
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

grub2 bootonce or bootnext command

Feature state

openSUSE-11.4
Unconfirmed

Description

<!-- @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: http://www.dcheng.members.sonic.net/friends/jspaar/pub/bootnext/ ).

There is an example here on openSUSE forums as to the utility of the grubonce command and how it can be applied: http://forums.opensuse.org/english/information-new-users/unreviewed-how-faq/444667-reboot-cli-selective-partitions.html

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 in http://forums.opensuse.org/english/information-new-users/unreviewed-how-faq/444667-reboot-cli-selective-partitions.html or as a minium functions with the full capability of the "grubonce" (which grub2-reboot lacks).

Discussion


icons/user_comment.png J. M. wrote: (5 years ago)

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:
http://forums.opensuse.org/blogs/jdmcdaniel3/p-b-s-partition-boot-selector-version-2-00-grub-legacy-78/
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,

Last change: 5 years ago
Voting
Score: 5
  • Negative: 0
  • Neutral: 0
  • Positive: 5
Tags
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint