bug-grub
[Top][All Lists]
Advanced

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

[bug #39306] Contrib: grub-list-kernels.pl script


From: Craig Sanders
Subject: [bug #39306] Contrib: grub-list-kernels.pl script
Date: Fri, 21 Jun 2013 01:29:07 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130515 Firefox/17.0 Iceweasel/17.0.6

Follow-up Comment #2, bug #39306 (project grub):

if you mean _$menuentry_id_option_, then that's no more 'stable' than the
indexes.  i.e. they can both change when a menuentry is added or removed.

That's most of the point of this script - so you can list the current
menuentries after update-grub and then run grub-set-default or grub-reboot if
required.

without this script, you have to do something like _egrep 'submenu|menuentry'
/boot/grub/grub.cfg_ and extract the menuentry_id_option or count the menus
and submenus yourself.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39306>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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