After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 362193 - select grub menu entry before going to reboot
select grub menu entry before going to reboot
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: menu
2.14.x
Other All
: Normal enhancement
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-14 17:46 UTC by AlfonsName
Modified: 2020-11-07 12:14 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description AlfonsName 2006-10-14 17:46:04 UTC
There are multiple OS on a computer (e.g. Windows and Linux).
If you want to switch the operation system and are currently using Linux with gnome, I'll select reboot from the main menu, wait until the grub menu shows up, then select windows (which is a menu item configured in menu.lst) and wait until windows is up.

I now want to select the menu item before linux goes down so that I won't need to stay with my computer till grub shows up.

This might also be useful if one does remote management and therefore cannot interact with the grub menu while the computer is booting.

Do get grub to have a menu item preselected and skip the boot menu once,
the required actions are described on 
http://debiananwenderhandbuch.de/administration.html#id1043694 (german language).

Basically, one runs the grub application and enters "savedefault --default=N --once".
A little script would do:

#!/bin/sh

if [ `id -u` != 0 ] ; then
	echo "you must be root!"
else

	if [ ! $1 ] ; then
		echo "Usage: "$0" kernelnumber"
	else
		echo "setting kernel "$1" once"
		grub --batch <<EOT
		savedefault --default=$1 --once
		quit
EOT

	fi
fi

Now I'd like to ask you, to integrate that feature into the gnome main menu.

I now there may be some difficulties as root permission is required, but as reboot itself usually requires root permission, there might be a way.

Thanks a lot,
 AZ
Comment 1 Sven Herzberg 2006-10-14 18:35:55 UTC
I think it makes more sense to have this in the logout dialog. We could have a list of potential boot candidates and make it sensitive if shutdown or reboot is selected; gdm should have the required priviliges to perform this action. 
Comment 2 Fabio 2010-05-17 09:50:22 UTC
+1
Comment 3 André Klapper 2020-11-07 12:14:22 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all
old feature requests in Bugzilla which have not seen updates for many years.

If you still use gnome-panel and if you are still requesting this feature in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/

Thank you for reporting this issue and we are sorry it could not be implemented.